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: Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Type the following yum command: You must reboot your Linux server using shutdown/reboot command: Run the following dnf command if … Read more

Reset CentOS Root Password

To reset the root password for CentOS 6: Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys or “space bar“. Type ‘a‘ to modify kernel argument. Anytime you can cancel typing ‘ESC‘ key. Append 1 at the end of “rhgb quiet” and press “Enter” key to boot into single user mode. Type … Read 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 Hostname The ‘hostname’ command will let … Read 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_64 (@anaconda-CentOS-201112091719.x86_64/6.2) libqpidclient.so.5()(64bit) Updated By: qpid-cpp-client-0.14-22.el6_3.x86_64 … Read more