1. Edit the default apache conf file
vim /etc/apache2/apache2.conf
2. Look for the following line
Options Indexes FollowSymLinks
3. Update to
Options All FollowSymLinks MultiViews -Indexes
4. Restart apache2
/etc/init.d/apache2 restart
1. Edit the default apache conf file
vim /etc/apache2/apache2.conf
2. Look for the following line
Options Indexes FollowSymLinks
3. Update to
Options All FollowSymLinks MultiViews -Indexes
4. Restart apache2
/etc/init.d/apache2 restart
Installed on Ubuntu (14.04) at time of writing this tutorial.
Pre-req – make sure passwordless SSH has been setup – https://www.linuxtutorial.co.uk/ssh-login-without-password/
Install Unison:
apt-get install unison
Create directory for Unison config files and logs:
mkdir /root/.unison
Create config file:
vim /root/.unison/default.prf
Enter the following:
Below are instructions on how to install configure a Percona DB Cluster on Ubuntu (14.04 at time of writing this).
*Carry out on all nodes (servers)
Remove apparmor as it prevents cluster nodes talking to each other:
sudo /etc/init.d/apparmor stop sudo update-rc.d -f apparmor remove sudo apt-get remove apparmor apparmor-utils -y
Disable SELinux by editing /etc/selinux/config and add/alter line to disable it:
SELINUX=disabled
Add the following keys to the repository:
apt-key adv –keyserver keys.gnupg.net –recv-keys 1C4CBDCDCD2EFD2A
Add Percona sources:
vim /etc/apt/sources.list deb http://repo.percona.com/apt trusty main deb-src http://repo.percona.com/apt trusty main
Find the drive name:
fdisk -l
*In this example we will use /dev/sdc
Now access parted to prepare the drive for formatting and mounting:
sudo parted /dev/sdc
Now set the following:
(parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0.00TB 4.00TB (Changing 4.00TB to the size of your drive) (parted) quit
Recent Comments