Results 1 to 1 of 1
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 ...
- 09-11-2009 #1Just Joined!
- Join Date
- Jul 2009
- Location
- Fountain, CO
- Posts
- 4
Server Install Script
I used the following script to set up a server on ubuntu desktop 9.04 by runing:
Code:. install.sh in the command line
I have recently installed a fresh copy of ubuntu server 9.04. When I run the above command I get the following error: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
If I run the first command outside of the script:Code:"Couldn't Find package apache2"
The install goes as expected. Any ideas on what I can check?Code:sudo aptitude install apache2 -y


Reply With Quote