Tonight I will be taking my laptop with me to work on a website, but the place I am going does not have a secure connection to the internet available. (No wired connection, and only unsecured wireless)
Because I'm paranoid when it comes to security, I will be insalling PHP5, MySQL, and Apache2 on my Ubuntu 5.10 based laptop. Here's my steps:
2:37PM
Click on System>Administration>Synaptic Package Manager
Enter the Administrator Password. (normal users shouldn't be able to install/remove applications without a password)
Click "Search" and type in "php5" and click the "Search" button.
Check the box next to "libapache2-mod-php5" and click "Mark" on the popup window that confirms that I am okay with installing the additional packages required to get this library working. (Such packages include apache2, php5, openssl, and related items)
Check the box next to php5-mysql
Check the box next to php-pear
Check the box next to php5-gd
Click "Apply"
Review the changes and click "Apply" again.
2:42PM
watch as files are downloaded and installed
2:43PM
Review the window that confirms it downloaded and installed properly
2:44PM
Remember I need to install MySQL and run a search for "MySQL"
Check the box next to "mysql-server" and accept the additional packages.
2:45PM
Click "Apply" and confirm the changes by clicking "Apply" again.
Wait and watch as the files are downloaded and installed.
2:46PM
Follow the Postfix Configuration wizard:
Choose Local Only (since this is for developmental purposes only)
Accept the default mail name (we won't really be using postfix anyway)
Watch as it installs the rest of the packages we chose.
2:48PM
Click "Close" at the Changes Applied screen.
2:49PM
Because I'm a geek, I'm going to install PEAR DB, so I open up a terminal and type in:
sudo pear install db
(because I want the administrator to make pear install the pear DB package)
2:50PM
Open up firefox and type in "localhost" to make sure it all worked.
It Did!!
2:51PM
Download all the neccessary scripts from my FTP server that I will be modifying, so I can work on them locally, then set up a MySQL user for the script to use.
2:55PM
DONE!
In an 18 minute time span I was able to install and set up a webserver that has PHP5, MySQL 4, Apache 2, and PEAR::DB. I was also able to download my files from my FTP server using gFTP, a simple and elegant FTP client.
I'll post tomorrow how well it worked, and what issues I've run into with my rushed webserver installation.
1 comment:
That's cool that you could do all that so quick. Would it have taken longer if you hadn't just installed a local server? Also, I'm confused as to why you installed this in the first place. What did this have to do with using a wireless connection?
Post a Comment