Viewing Category » Linux

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  No 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

How to fix yum install perl-DBI No package perl-DBI available. Nothing to do

Post Thumbnail of How to fix yum install perl-DBI No package perl-DBI available. Nothing to do
 Centos       

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

fixing Linux centos Iptables ip_conntrack: table full, dropping packet

Post Thumbnail of fixing Linux centos Iptables ip_conntrack: table full, dropping packet
 Centos       

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
 Page 1 of 4  1  2  3  4 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone