Viewing Category » Centos

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

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

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

6 May 2012  No comments

Changing Centos:Linux TimeZone

Post Thumbnail of Changing Centos:Linux TimeZone
 Centos       

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 and you are confused of reading logs or the rest to find out what time what …

10 March 2012  No comments

How to change Linux Centos Hostname

Post Thumbnail of How to change Linux Centos Hostname
 Centos       

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 to
nano /etc/sysconfig/network
and edit the line contains the hostname and equal it to any FDQL you are …

24 December 2011  No comments

Compile and enable soap on php with DirectAdmin Control Panel Custombuild

Post Thumbnail of 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 first you should check where the configuration file that make changes on it wil take effect
for …

18 June 2011  3 comments

fixing MySQL manager or server PID file could not be found! [FAILED] in DirectAdmin

Post Thumbnail of fixing MySQL manager or server PID file could not be found!       [FAILED] in DirectAdmin

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

22 May 2011  No comments

fixing 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

Post Thumbnail of fixing 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

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
[/cc]

19 May 2011  No comments

fix diretadmin php compiling error gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory make: *** [libphp5.la] Error 1

Post Thumbnail of fix diretadmin php compiling error gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory  make: *** [libphp5.la] Error 1

gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory
make: *** [libphp5.la] 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 -s/usr/lib/libmysqlclient.so.15.0.0 mysql/
ln -s/usr/lib/libmysqlclient_r.so mysql/
ln -s/usr/lib/libmysqlclient_r.so.15 mysql/
ln -slibmysqlclient_r.so.15.0.0 mysql/
then run
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build php n

19 May 2011  No comments

installing htop error configure: error: missing headers: curses.h

Post Thumbnail of installing htop error configure: error: missing headers:  curses.h
 Centos       

You just need to run
yum install ncurses-devel
then after that install htop again
that’s all
Thanks

19 May 2011  No comments

Fixing You need to install the LWP perl module (libwww-perl) and then install csf

Post Thumbnail of Fixing You need to install the LWP perl module (libwww-perl) and then install csf

I had just installed Direct Admin control panel on my centos server
It was my first time dealing with Direct Admin so after that I decided to install CSF to protect server againts common attacks and also modify iptables in the easy way but I ran the following
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd …

19 May 2011  No comments

Installing git on Centos 5 tutorial

Post Thumbnail of Installing git on Centos 5 tutorial
 Centos       

tere are two options to install git on centos 5 servers
using rpm or use yum package manager that is so easier
How to install git using yum:
run the following command that it will install git and all of its dependencies at once for you
yum install git-core
if you encountered an error like …

25 March 2011  2 comments
 Page 1 of 4  1  2  3  4 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone