I used the following script to set up a server on ubuntu desktop 9.04 by runing:
Code:
. install.sh in the command line
Code:
sudo aptitude install apache2 -y
sudo aptitude install php5 -y
sudo aptitude install libapache2-mod-php5 -y
sudo /etc/init.d/apache2 restart
sudo aptitude install php5-curl -y
sudo aptitude install php5-gd -y
sudo aptitude install php-pear -y
sudo aptitude install php5-mcrypt -y
sudo /etc/init.d/apache2 restart
sudo chown -R drone /var/www
sudo chmod -R 777 /var/www
I have recently installed a fresh copy of ubuntu server 9.04. When I run the above command I get the following error:
Code:
"Couldn't Find package apache2"
If I run the first command outside of the script:
Code:
sudo aptitude install apache2 -y
The install goes as expected. Any ideas on what I can check?