To install Lamp server on Kubuntu
We can use tasksel util.
So jus type
sudo tasksel install lamp-server
or Individually install packages with
sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
But doing so gave me some errors in mysql also.
for example errors like
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
To solve these
sudo su
aptitude purge mysql-common mysql-server
aptitude install mysql-server
No comments:
Post a Comment