MySQL/MariaDB Server: Bind To Multiple IP Address

Posted on in Categories , , , , , , last updated March 10, 2017

I have MySQL database system running on FreeBSD. The server has multiple ip address. The mysqld used by many websites hosted on two other CentOS based servers. I would like to bind MySQL sever running on Unix / Linux server to more than one IP address such as 202.54.1.2, 202.54.1.10, and 202.54.1.15. How can I bind mysqld to multiple ips?

Linux / Unix: Rsync Copy Files & Directories Names With WhiteSpaces and Blanks

Posted on in Categories , , , , , , , last updated January 31, 2015

I need to transfer a file called ‘some cool movie.avi’ that contains whitespace under rsync. How do I escape a filename or directory name with spaces in them while using rsync command under Linux / *BSD / Unix like operating systems? How do I use rsync when files / dirs contain spaces?

Linux / Unix vi / vim: Open and Switch Between Multiple Files

Posted on in Categories , , , , , , , last updated October 18, 2015

I am new to Linux sysadmin work. I am using vi / vim text editor to edit files located in /etc/ directory. I open files using

vi /etc/resolv.conf /etc/hosts

I can edit the /etc/resolv.conf file only. How do I switch between the two open files while using vim text editor under Linux / BSD / Apple OS X / Unix like operating systems?