![]() |
installing apache2+php5+mysql4 problem
#rpm -e --nodeps mysql
#rpm -e --nodeps php #rpm -e --nodeps httpd \\i've done that above,but i cannot finish the last work after many times' try please help to give the whole commands to install and config mysql4+apache2+php5 if possible thank you very much :) |
this is the article i've been working with
but i can't even finish installing mysql :p "1. Mysql # groupadd mysql # useradd -g mysql mysql # cd /usr/local # tar 每zxvf /home/server/MySQL*.tar.gz #cd MySQl* /bin # ./mysqladmin -u root password &password*//set password # cp support-files/mysql.server /etc/rc.d/init.d/mysqld # chkconfig --add mysqld start mysql : # /etc/rc.d/init.d/mysqld start 2. apache #cd /usr/local #tar 每zxvf /home/server/httpd-2.0.50.tar.gz #./configure 每enable-so 每enable-rewrite #make #make install start apache #cd /usr/local/apache2/bin #./apachectl start 4 PHP # cd /usr/local # tar -zxvf /home/server/php-5.0.0.tar.gz # cd php* #./configure每with-apxs2=/usr/local/apache2/bin/apxs 每with-mysql=/usr/local/mysql # make # make install edit httpd.conf after installing for : AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php3 restart apache" |
Need to be a little more specific, what do you mean by "you can't complete the install"? Is there an error displayed?
|
You should use apt-get anyway as it will resolve dependencies.
|
thanx for help
i will give the detail soon |
Code:
root]# groupadd mysqlCode:
[root@localhost |
| All times are GMT -5. The time now is 02:16 PM. |