Redirect all of the traffic with requested old domian url to new domian with the same url using .htaccess

Post Thumbnail of Redirect all of the traffic with requested old domian url to new domian with the same url using .htaccess
 Apache       

One of the Concerns on changing a domain name is at first the Search Engine ranks on the pages that all will be lost because google will not find the old urls by the old domian
So it is a good Idea to direct all of the visitors from the …

26 May 2011  1 comment

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 Apache Error Name or service not known: mod_unique_id: unable to find IPv4 address of

Post Thumbnail of Fixing Apache Error Name or service not known: mod_unique_id: unable to find IPv4 address of
 Apache       

I couldn’t get apache started
it returened this error
Name or service not known: mod_unique_id: unable to find IPv4 address of
Starting httpd: httpd: apr_sockaddr_info_get() failed for server.domain.com
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
I checked the error_log it had the same error showing so …

21 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

How to Remove Get help for this page” near top admin magento menu

Post Thumbnail of How to Remove Get help for this page" near top admin magento menu
 Magento       

There is a link near the top menu navigation in admin panel of magento and in some cases let say you want to give this to some one else you want to remove it from appearing and if you dont, more h that client who ordered you this website may …

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