Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux

How to Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Always keep backups. So backup now to an offsite location. Note the Linux kernel version running the following command: # uname -r Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Type the following yum command: # sudo yum update You must rebootRead More…

Adding Secondary IP Addresses CentOS 6.x

To add a secondary IP to CentOSnavigate to your /etc/sysconfig/network-scripts # cd /etc/sysconfig/network-scripts # ls -la -rw-r–r–. 1 root root 203 Dec 30 14:18 ifcfg-eth0 -rw-r–r–. 1 root root 230 Dec 30 14:59 ifcfg-eth1 The system has a public and primary IP. # nano ifcfg-eth0 DEVICE=eth0 HWADDR=00:0C:29:E7:7D:05 TYPE=Ethernet UUID=b9cbc9ab-d4a5-4ca8-9e3c-176c62102adc ONBOOT=yesRead More…

Imagemagick on CentOS and Plesk

root@server ~]# yum install ImageMagick [root@server ~]# yum install ImageMagick-devel PHP-imagick Installation: [root@server ~]# yum install gcc [root@server ~]# yum install make automake [root@server ~]# yum install php-pear [root@server ~]# yum install php-devel [root@server ~]# pecl install imagick On some servers yum install php-pecl-imagick.x86_64 Test: convert image.jpg -resize 64×64 resize_image.jpg

Change Hostname in CentOS

Open the /etc/sysconfig/network file with your favorite text editor. Modify the HOSTNAME= value to match your FQDN host name. # nano /etc/sysconfig/network HOSTNAME=myserver.domain.com Change the host that is associated to your main IP address for your server, this is for internal networking (found at /etc/hosts): nano /etc/hosts 192.xx.xx.xx myserver.domain.com HostnameRead More…

Yum update errors for ghost update

Running yum update on CentOS 6.2 produces errors: yum update Error: Package: matahari-host-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2) Requires: libqpidclient.so.5()(64bit) Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2) libqpidclient.so.5()(64bit) Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base) Not found Error: Package: matahari-service-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2) Requires: libqpidcommon.so.5()(64bit) Removing: qpid-cpp-client-0.12-6.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2) libqpidcommon.so.5()(64bit) Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 (base) Not found Error: Package: matahari-agent-lib-0.4.4-11.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2) Requires: libqpidclient.so.5()(64bit) Removing: qpid-cpp-client-0.12-6.el6.x86_64Read More…