If you need master-master replication for your MySQL server. This example is for Centos 6 x64 but on other Linux OS the process is similar.
For example we have two following servers with IPs:
1.1.1.1 SERVER_A
2.2.2.2 SERVER_B
yum -y install mysql-server
server-id = 1
bind-address = 1.1.1.1
log_bin = /var/log/mysql/mysql-bin.log
binlog_do_db = database_for_replication
#replicate-do-table = database_for_replication.table_for_replication (You can replicate only some table(s))
More »If you need fast and stable VPN server – I can recommend SoftEther VPN, installation and usage are pretty simple.
1. Install Development packages:
yum -y groupinstall "Development Tools"
2. Download server installation package here
wget http://www.softether-download.com/files/softether/v4.10-9473-beta-2014.07.12-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.10-9473-beta-2014.07.12-linux-x64-64bit.tar.gz
or from my source
3. Unpack into /usr/local/
tar -xvzf softether-vpnserver-v4.10-9473-beta-2014.07.12-linux-x64-64bit.tar.gz -C /usr/local/ More »
After boot you are getting console with initramfs
command.
It means, your system uses wrong system drive for boot.
How to solve? Do the following:
1. Find the partition you installed OS on
initramfs> blkid
2. Mount partition with your OS:
initramfs> mkdir /mnt
initramfs> mount /dev/sda1 /mnt
initramfs> mount --bind /sys /mnt/sys
initramfs> mount --bind /dev /mnt/dev
initramfs> mount --bind /proc /mnt/proc
initramfs> chroot /mnt
3. Update Grub
initramfs> update-grub
initramfs> grub-install /dev/sda
4. Reboot and cross your fingers
initramfs> reboot