A small tweek in MySQL Data path in Linux using webmin Rumi, June 12, 2008 By default all database and data are stored in /var/lib/mysql But whenever, you’re planning to setup a virtual hosted server, it is wise to set up and configure this db to be set up in some different bigger disk space. Like I use to place this data path to /home/mysql How to change this using webmin From your webmin Servers > MySQL Database Server > MySQL Server Configuration section look for- Database files directory = /var/lib/mysql Now change this to- Database files directory = /home/mysql A small reminder- don’t forget to create “mysql” directory in /home location! It’s done! You have changed the data storage path! Precaution: It is recommended to modify or update this mysql data path on a fresh installation- without any cpanel or virtualmin server is hosted. And also don’t you forget to restart the MySQL service after this changes are made! Happy data organizing!!! 😛 Related Configurations (Linux)
Install Sun Java 7.x on Debian Squeeze June 8, 2014 It might look weird to install Sun Java from a Ubuntu Repo- however it works at least it worked for my installation- $ su root # echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > /etc/apt/sources.list.d/webupd8team-java.list # echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list.d/webupd8team-java.list # apt-key adv –keyserver keyserver.ubuntu.com –recv-keys EEA14886 # apt-get… Read More
Postfix 2.2.3 main.cf configured sample file October 28, 2008 queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix myhostname = server.domain.com mydomain = domain.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail. $mydomain, www.$mydomain, ftp.$mydomain local_recipient_maps = unknown_local_recipient_reject_code = 550 mynetworks = 192.168.1.0/24 127.0.0.0/8 #relay_domains = $mydestination #relayhost = $mydomain #relayhost… Read More
Pushing Docker Images to a Docker Repository December 21, 2021 The next logical step after creating a new image from an existing image is to share it with a select few of your friends, the whole world on Docker Hub, or other Docker registry that you have access to. To push an image to Docker Hub or any other Docker… Read More