Tutorial Category

Centos 4,5 and 6

  1. How To Install Locate On CentOS Server

    Introduction This how-to will show you how to install locate on a CentOS server. This command is often the easiest and fastest way to find the location of files and directories. This is very useful when you’re working on a Linux system for which you are not well acquainted. When you install mlocate, it will install the two commands locate and updatedb. It will also install a cron job that updates the database daily. Prerequisites A server running CentOS. If you do not...
  2. How to Install the latest OpenSSL 1.0.2h Version on CentOS 6/7

    latest OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library. The latest OpenSSL 1.0.2h was released on 03-rd of May 2016. If you are worried about your server security you should update the OpenSSl package to the latest version. Unfortunately all of the CentOS releases includes the out-of-date version of OpenSSL. For example:...
  3. How To Setup CentOS WebPanel On A VPS

    This article will show you how to setup CentOS WebPanel on your Virtual Private Server -VPS. There are multiple alternatives available but I will focus on an easy approach and let you inspect the other options on your own. This article doe not show you what to do after you deployed the WebPanel. It will only point you to the next steps.
  4. How To Install php-tidy Module / Extension On CentOS / RHEL

    I'm a new CentOS / RHEL / Red Hat / Fedora Linux server admin. I need to install tidy library support using php. How do I install php-tidy on RHEL or CentOS Linux for Apache server? You need to install the following module using the yum command on RHEL/ CentOS/ Fedora/ Scientific Linux server: php-tidy - The php tidy package contains a dynamic shared object that will add support for using the tidy library to PHP.   Install php-tidy module on RHEL/CentOS Open the Terminal and type the following yum command: # yum install php-tidy Sample outputs: Loaded plugins: auto-update-debuginfo, protectbase, rhnplugin, security This system is receiving...
  5. How To Upgrade CentOS 32Bit 4.x To 32Bit 5.x

    We have found the following guide very useful in this process. This works for both dedicated servers as well as VPS nodes: cPanel Servers If your server has cPanel installed you first need to remove filesystem from the exclude line in /etc/yum.conf. If you don't the yum upgrade procedures below will fail. Setting file attributes chattr -Ria /bin chattr -Ria /etc chattr -Ria /etc chattr -Ria /include chattr -Ria /lib chattr -Ria /sbin chattr -Ria /usr/bin chattr -Ria /usr/include chattr -Ria /usr/lib chattr -Ria /usr/libexec chattr -Ria /usr/local/bin chattr -Ria /usr/local/include chattr -Ria /usr/local/lib chattr -Ria /usr/local/sbin chattr -Ria /usr/sbin chattr -Ria /usr/share chattr -Ria...
  6. How To Enable Automatic Software Updates On CentOS 5

    It's important to keep your server software up-to-date. The commands below will enable automatic nightly updates using CentOS 5's default yum package manager. yum -y install yum-cron crontabs vixie-cron service cron start chkconfig --level 2345 yum-cron on service yum-cron start If you have any questions, feel free to leave a reply below and I will be more then happy to answer any questions you may have....
  7. How To Install Apache 2.2.x And PHP 5.3.x On CentOS 5

    This guide assumes you have a minimal CentOS installation and are not planning on running a control panel such as cPanel, which installs the Apache webserver for you. Some of the software versions listed below may need to be changed as they are updated. As of the writing of this article, Apache 2.2.16 and PHP 5.3.3 are the latest versions. Install required packages using Yum yum install bison flex gcc db4 db4-devel libxml2-devel libpng-devel mysql-devel make Download Apache...
  8. How To Compile PHP On CentOS 5 (64Bit) With MySQL Support

    If you try to build PHP 5.x.x on a 64bit CentOS install you may get this error: checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. Looking further into the config.log you will also see: configure:60376: checking for mysql_error in -lmysqlclient configure:60395: gcc -o conftest -I/usr/include -g -O2  -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib  -Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64 -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient ...