Fixing Bind for Webmin Rumi, October 5, 2014 First get rid of bind-chroot (if it is installed!) yum -y remove bind-chroot edit /etc/sysconfig/named and remove/comment out any lines that look like ROOTDIR="/var/named/chroot" Fix the owner of /etc/named.conf with chown named:named /etc/named.conf In Webmin go to Servers > Bind DNS Server > Module Config and check the following configs BIND DNS Paths Chroot directory to run BIND under: none Is named.conf under chroot directory?: no Zone file options Directory for master zone files: /var/named Directory for slave/stub zone files: /var/named/slaves Owner for zone files (user:group): named:named Restart named and you should be good to go. Related Administrations Configurations (Linux) BindWebmin
Importing Big mysqldump with Progress Bar PV June 6, 2014 I am using CentOS 6.4 box, so it requires me to install EPEL repo at the first place: $ rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Install pv using yum: $ yum install -y pv Installation done. Let the importing begin! $ pv /home/user/my_big_dump.sql | mysql -uroot -p For Ubuntu/Debian distribution intall PV… Read More
Manage Multiple MySQL Servers using PHPmyAdmin April 19, 2013April 19, 2013 In my environment, I have 5 different MySQL database servers running separately under different geographical location. Since it run standalone and not in cluster mode, I need to have one platform to manage these database servers altogether. PHPmyAdmin is able to do this, with some changes on the configuration files…. Read More
Installing wkhtmltopdf on Debian 7.8 November 17, 2020July 17, 2021 Installing wkhtmltopdf on Debian 7.8 to dynamically create PDF documents from HTML. apt-get update aptitude install xfonts-base xfonts-75dpi fontconfig mkdir ~/src/wkhtmltopdf -p cd ~/src/wkhtmltopdf wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.2.1/wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb dpkg -i wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb Src: https://fedir.github.io/web/blog/2015/09/01/install-wkhtmltopdf-on-debian-7.8 https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.2.1/ https://github.com/wkhtmltopdf/packaging/releases/0.12.6-1 https://stackoverflow.com/questions/38262173/how-to-correctly-install-wkhtmltopdf-on-debian-64-bit Related Read More