There are some circumstances where you have to unmount a drive, but it is not letting you. Giving an error, similar to this:
umount: /mnt/backup: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
The IPs in the VPN are assigned randomly. If you have your router configured using something like Tomato, you can setup the reservation by MAC address. For the linux-based install, follow these steps:
1) To begin, first identify the directory, where the files will be stored:
Q. I am getting a Forbidden 403 error after I've changed the DocumentRoot in Apache for my domain. What do I do?
A. This is a security feature on the Apache running on Ubuntu (and Debian). The solution is quite simple:
Here's a quick way to determine if the week is odd or even in bash. You can replace the "even" and "odd" with whatever functions you are looking to perform (eg. backup)
Copy and paste this into a file:
You have a server, but want to setup VNC to access the GUI? This tutorial will help with that. We've used Ubuntu 16.04 to install, but it should work with others as well.
Install the components
apt-get -y install ubuntu-desktop tightvncserver xfce4 xfce4-goodies autocutsel
Add the vnc user and give it a password:
You can add vnc as sudo, so you could run apps as root. Edit the sudoers file:
echo "vnc ALL=(ALL) ALL" >> /etc/sudoers
The widely used ifconfig is missing from Centos 7.X version of Linux with minimal install. To get it back, run the following command:
yum install net-tools
The command will then be available as usual.
If you don't want to use ifconfig and are wondering how else you can find the IP address, you can run this command:
These are instructions for generating the CSR (Certificate Signing Request) for Apache 2.
1) Log in to your server's terminal (SSH).
openssl req -new -newkey rsa:2048 -nodes -keyout domainname.key -out domainname.csr
Q. We would like to enable subject logging in Postfix, how do we go about doing that?
A. First, you need to install postfix-pcre package (Perl Compatible Regular Expressions support for postfix). We were doing it on Ubuntu 12, so:
apt-get install postfix-pcre