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
Convert disk GPT to MBR for Openfiler troubleshoot Rumi, June 6, 2014 On a Linux console, as root, run (replace /dev/sda with the identifier of your hard drive): parted /dev/sda parted> mklabel msdos parted> quit Continue Reading
VBoxHeadless Running Virtual Machines With VirtualBox On A Headless CentOS 6x Server Rumi, June 6, 2014 Preliminary Note I have tested this on a CentOS 6.2 server (host system) with the IP address 192.168.0.100 where I’m logged in as a normal user (user name vbox in this example) instead of as root. If you only have a root account, but no normal user account, create… Continue Reading
Yum Cache Clear command Rumi, June 6, 2014 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the… Continue Reading