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
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
No comments
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
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
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
You just need to run
yum install ncurses-devel
then after that install htop again
that’s all
Thanks
19 May 2011
No comments
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
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
Hi
I wanted to install perl-DBI which is a dependency of git-1.7.3.4-1.el5.rf.i386.rpm
when I wanted to install git-1.7.3.4-1.el5.rf.i386.rpm by running
yum install git-core
or even running
rpm -i git-1.7.3.4-1.el5.rf.i386.rpm
it prompted me with a notice that
Error: Missing Dependency: perl(DBI) is needed by package git-1.7.3-1.el4.rf.i386 (rpmforge)
THe fix is so easy
just go to the file /etc/yum.conf using a …
25 March 2011
3 comments
Sometimes the server were blocking connections and from about 10 time requesting the sites on the server one of them would show the site hosted on that server or in the midle of serving a connection time out would occure.
In this situations I would went ahead to restart all of …
18 March 2011
No comments