How to Configure MySQL Master-Slave Replication on Ubuntu Linux

  Master Server Configuration Install MySQL Server: sudo apt-get install -y mysql-server Add the following to /etc/mysql/my.conf: bind-address = 10.11.12.101 server-id = 1 log_bin = /var/log/mysql/mysql-bin.log Restart MySQL: sudo service mysql restart Create a replication user: mysql -u root CREATE USER ‘repl’@’%’ IDENTIFIED BY ‘slavepassword’; GRANT REPLICATION SLAVE ON *.* TO ‘repl’@’%’; exit Create a … Read more

Linux System Administrator Projects

If you are looking to gain some experience as a Linux system administrator, check out the list of ideas below. For each project on the list you could do it on multiple Linux distributions. You could also start about by learning the bare minimum necessary to complete one of these projects, then take it to … Read more

Download All 1,500 Coding Projects
We respect your privacy.