page_header

maandag 9 januari 2012

Started all over again II

Installed Ubuntu server on sda1 with /home on sda3 & included ssh

Changed to fixed IP address

Updated Ubuntu;
- sudo apt-get update
- sudo apt-get upgrade


Restarted Ubuntu;
- sudo shutdown -r now

Installed Apache;
- sudo apt-get install apache2

Edited file /etc/apache2/httpd.conf;
Added line "ServerName 192.168.1.249". File was empty before adding this line.

Restarted Apache;
- sudo /etc/init.d/apache2 restart

Created a directory public_html in my home directory and added a simple index.html file

Enabled Apache userdir module;
- sudo a2enmod userdir

To activate the new configuration I ran;
- sudo service apache2 restart

I could access the previously created html file on http://192.168.1.249/~hans/ !

Installed subversion
- sudo apt-get install subversion

Created a direcory dev in /home and made that directory the current directory
- mkdir dev
- cd dev

Downloaded my cheat sheets from Google code
- svn checkout https://cheat-sheets.googlecode.com/svn/trunk/ cheat-sheets --username myusr@gmail.com

 
Created a symbolic link to the cheat sheets in my development directory
- ln -s ~/dev/cheat-sheets ~/public_html/cheat

I could access the cheat sheets on http://192.168.1.249/~hans/cheat/ !

Geen opmerkingen:

Een reactie posten