21 Mar 2016 @ 2:35 PM 

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

  1. Install MySQL server on both servers.yum -y install mysql-server
  2. By default, MySQL works only with localhost (127.0.0.1), so we need to edit MySQL config file /etc/my.cnf and add followingon SERVER_A:
    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 »
Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:51 PM

EmailPermalinkComments (0)
Tags

 22 Oct 2015 @ 11:07 AM 

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 »

Posted By: lvlind
Last Edit: 17 Jan 2017 @ 03:23 PM

EmailPermalinkComments Off on SoftEther VPN server
Tags
Tags: , ,
Categories: Uncategorized

 27 Jan 2015 @ 9:44 AM 

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

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:52 PM

EmailPermalinkComments Off on initramfs error
Tags
Tags: ,
Categories: Uncategorized





 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.