(More Info) |
Once your Raspberry Pi has a network connection, the fun really begins...
apt-get update
apt-get upgrade
Joe's Editor is a Wordstar-like text editor that is probably the most convenient to use under Linux' command line interface. It has syntax highlighting and is extremely configurable.
apt-get install joe
Quick Joe's Editor command summary:
apt-get install apache2
To verify that it is working, point the browser of your laptop or PC to the Raspberry Pi's IP address. You should see the default page /var/www/index.html
PHP is an open source web scripting language that is widely use to build dynamic webpages.
To install PHP, open terminal and type in this command.
apt-get install php5 libapache2-mod-php5 php5-mcrypt
After you answer yes to the prompt twice, PHP will install itself.
It may also be useful to add php to the directory index, to serve the relevant php index files:
joe /etc/apache2/mods-enabled/dir.conf
Add index.php to the beginning of index files. The page should now look like this:
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>