Monday, March 20, 2023

Linux

How to make your Linux box a router?

You can make your Linux box work as a router. Suppose you have 2 systems. One is system S1 and the other one is S2. Both the systems are in different network. IP of...

how to install hddtemp on centos 6.3 minimal

use the following coomand to install hddtemp in some cases you need to install usermode-consoleonly too that is not brought with the minimal packages I have also provided the instruction on installing it using rpm package ...

fixing Packages skipped because of dependency problems: git-1.7.1-2.el6_0.1.i686 from base...

if you received this error on Centos 6.2 Packages skipped because of dependency problems: git-1.7.1-2.el6_0.1.i686 from base I received this error on centos 6.2 minimal when I was attempting to install perl-git...

find out your Hard drive tempreture using HDDTEMP on linux Centos 6.2

mkdir /installhddtemp cd /installhddtemp wget http://download.savannah.gnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar.bz2 tar -jxvf hddtemp-0.3-beta15.tar.bz2 cd hddtemp-0.3-beta15 ./configure make make install cd /usr/share/misc/ wget http://download.savannah.gnu.org/releases/hddtemp/hddtemp.db

Changing Centos:Linux TimeZone

You may be wondering how to change the TimeZone of the Centos Linux server you already have as the server maybe in a datacenter far from your current destination and its time is vary...

How to change Linux Centos Hostname

There are two ways to change your Centos Linux Server HostNAme first is graphical and requires you to have setup installed so that you will just only run the setup command edit devices and The Seccond is...

Compile and enable soap on php with DirectAdmin Control Panel Custombuild

I will provide the instruction for compiling php with soap in a very easy steps first goto the custombuild directofy by the following command cd /usr/local/directadmin/custombuild for addmin soap to php in directadmin control panle server...

fixing MySQL manager or server PID file could not be found! ...

I encountered this error when I wanted to restart Mysql service service mysqld restart MySQL manager or server PID file could not be found! Starting MySQL..................................................................................................................Manager of pid-file...

fixing Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/mainr/httpd.conf: Invalid command ‘php_admin_flag’, perhaps...

Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/mainr/httpd.conf: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration ./build rewrite_confs service httpd restart

fix diretadmin php compiling error gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory make:...

gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory make: *** Error 1 cd /usr/lib cp libmysqlclient.* /usr/lib/mysql/ cd /usr/lib/mysql/ then cd /usr/local/directadmin/custombuild ./build clean ./build update ./build php5-cli y if it didn't help try the following cd /usr/lib/ ln -s/usr/lib/libmysqlclient.so mysql/ ln -s/usr/lib/libmysqlclient.so.15 mysql/ ln...