Importing Big mysqldump with Progress Bar PV Rumi, 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… Continue Reading
OpenVZ on Debain Squeeze Rumi, June 6, 2014 As soon as your Debian OS server is ready, login using the received credentials. We first will do an update/upgrade: apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade which will upgrade our server to latest version. We install some additional packages to: apt-get -y install nano wget… Continue Reading
Alllow SNMP on Openfiler Rumi, June 6, 2014March 7, 2017 The first step to allow monitoring of the Openfiler server by SNMP is to edit the SNMP configuration file. In order to edit the configuration file perform the following steps :- Logon to the Openfiler server through SSH as an administrative user Navigate to the /etc/snmp folder Edit the snmpd.conf… Continue Reading
Setting default boot kernel in Grub on Debian/Ubuntu Rumi, June 6, 2014 In a terminal, run sudo update-grub Then, type grep menuentry /boot/grub2/grub.cfg Counting from 0, find the number of the line containing the 2.6 entry you want. Set that as default in /etc/default/grub and run sudo update-grub again. Since the option for "Other Linux Versions" is on line 3 of… Continue Reading
TimeZone adjust in Linux Rumi, June 6, 2014 For Redhat/CentOS/Fedora/SL distribution Type the redhat-config-date command at the command line to start the time and date properties tool, run: # redhat-config-date OR type setup and select time zone configuration. This tool is recommended for remote ssh text based sessions. # setup Select timezone configuration. Just follow on screen… Continue Reading
Appliances and OS Templates Rumi, June 6, 2014 For PVE & OpenVZ templates- http://openvz.org/Download/template/precreated PVE appliances- http://pve.proxmox.com/wiki/Get_Virtual_Appliances http://pve.proxmox.com/wiki/Category:Virtual_Appliances Continue Reading
Update PHP 5.1 to PHP 5.4 in CentOS Rumi, June 6, 2014 Update Yum repos For 32 bit CentOS- wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm For 64 bit CentOS- wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm Now it’s time to update our PHP to the latest one yum –enablerepo=remi update php php-* /etc/init.d/httpd restart And that’s it! You can check your installed PHP version executing: php… Continue Reading
How to reset MySQL Root Password in Linux Rumi, June 6, 2014 First, Let’s stop the mysql service, In Red Hat’s family (Red Hat Enterprise, Fedora, CentOS) the Mysql Daemon is called ‘mysqld‘, but in Debianlike Ubuntu based distributions and OpenSuse its called ‘mysql‘. I’ll be using the debian based naming sudo service mysql stop OR sudo /etc/init.d/mysql stop Now, we’ll… Continue Reading
DKIM installation on Debian Rumi, June 6, 2014 This is a quick and fairly painless way of setting up DKIM, on a postfix server. DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message and helps verify… Continue Reading
Webmin installation on openfiler Rumi, June 6, 2014 Download the latest Webmin RPM to openfiler from this page: (You want "RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux") http://www.webmin.com/download.html Copy the link from the webpage to download the correct RPM file and download it on Openfiler using the following command. If you are downloading a… Continue Reading