page_header
hdr.is-a-geek.com
The moment you cheat for the sake of beauty, you know you're an artist
David Hockney
vrijdag 5 november 2010
donderdag 4 november 2010
Restore Subversion repository
Followed instructions on ArchLinux
Logged on to previous install
Dumped the repository: svnadmin dump /var/svn > /tmp/svnrepo.dump
Logged on to Ubuntu server 10.10 install
mounted partition containing the previous install: sudo mount /dev/sda6 /mnt/temp
Dumped the repository: sudo svnadmin load /var/svn < /mnt/temp/tmp/svnrepo.dump
Change added group and changed permissions:
sudo groupadd svnusers
sudo usermod -a -G svnusers www-data
sudo usermod -a -G svnusers hans
sudo chown -R www-data:svnusers /var/svn
sudo chmod -R g+w /var/svn/db/
Logged on to previous install
Dumped the repository: svnadmin dump /var/svn > /tmp/svnrepo.dump
Logged on to Ubuntu server 10.10 install
mounted partition containing the previous install: sudo mount /dev/sda6 /mnt/temp
Dumped the repository: sudo svnadmin load /var/svn < /mnt/temp/tmp/svnrepo.dump
Change added group and changed permissions:
sudo groupadd svnusers
sudo usermod -a -G svnusers www-data
sudo usermod -a -G svnusers hans
sudo chown -R www-data:svnusers /var/svn
sudo chmod -R g+w /var/svn/db/
BubbleBoy install Subversion with Web access
Followed instructions on HowToGeek.com
Install the software: sudo apt-get install subversion libapache2-svn
Create a repository: sudo svnadmin create /var/svn
Edit the configuration file: sudo vim /etc/apache2/mods-enabled/dav_svn.conf
Uncomment the opening and closing Location tag
Uncomment the line DAV /svn
Set the correct path to the repository SVNPath /var/svn
Enable Basic Athentication uncomment AuthType, AuthName, AuthUserFile
Create the authentication file: sudo htpasswd -cm /etc/apache2/dav_svn.passwd [username]
Restart Apache server: sudo /etc/init.d/apache2 restart
I was able to access the Subversion repository on BubbleBoy
Install the software: sudo apt-get install subversion libapache2-svn
Create a repository: sudo svnadmin create /var/svn
Edit the configuration file: sudo vim /etc/apache2/mods-enabled/dav_svn.conf
Uncomment the opening and closing Location tag
Uncomment the line DAV /svn
Set the correct path to the repository SVNPath /var/svn
Enable Basic Athentication uncomment AuthType, AuthName, AuthUserFile
Create the authentication file: sudo htpasswd -cm /etc/apache2/dav_svn.passwd [username]
Restart Apache server: sudo /etc/init.d/apache2 restart
I was able to access the Subversion repository on BubbleBoy
dinsdag 2 november 2010
Add content to BubbleBoy
Mount previous install on /mnt/temp: sudo mount /dev/sda6 /mnt/temp
Copy content across
First created archive directory: sudo mkdir /var/www/archive
Copied a directory structure: sudo cp -rv /mnt/temp/var/www/dev /var/www/archive
Copied the index file: sudo cp /mnt/temp/var/www/index.html /var/www
Installed vim: sudo apt-get install vim
Used vim to change paths mentioned in the index file
Copy content across
First created archive directory: sudo mkdir /var/www/archive
Copied a directory structure: sudo cp -rv /mnt/temp/var/www/dev /var/www/archive
Copied the index file: sudo cp /mnt/temp/var/www/index.html /var/www
Installed vim: sudo apt-get install vim
Used vim to change paths mentioned in the index file
maandag 1 november 2010
BubbleBoy add Apache
Executed: sudo apt-get install apache2
Worked like a charm, was able to access the server: http://192.168.1.150
Error message on deamon start-up: "Could not reliably determine the server's fully qualified ..."
Added servername to server configuration file
sudo vi /etc/apache2/http.conf
Added line: ServerName hdr.is-a-geek.com
Restart server: sudo /etc/init.d/apache2 restart
Worked like a charm, was able to access the server: http://192.168.1.150
Error message on deamon start-up: "Could not reliably determine the server's fully qualified ..."
Added servername to server configuration file
sudo vi /etc/apache2/http.conf
Added line: ServerName hdr.is-a-geek.com
Restart server: sudo /etc/init.d/apache2 restart
zondag 31 oktober 2010
BubbleBoy to Ubuntu 10.10
Today started with new configuration of BubbleBoy
I will upgrade BubbleBoy to Ubuntu 10.10
Started with the download of the software
Can't really miss the big orange button, can you?

Burned the ISO (ubuntu-10.10-server-amd64) to a CD using Nero
Used secure shell to log on to existing install: ssh [user]@[ip address]
Stopped BubbleBoy: sudo shutdown -r now
Booted BubbleBoy from the Ubuntu 10.10 server CD
Performed install of Ubuntu 10.10 on /dev/sda1 (install incl openSSH)
/dev/sda5 still contains a working install of Ubuntu 9.10 desktop
/dev/sda6 still contains a working install of Ubuntu 9.10 server
Configured a fixed IP address
Edited the interfaces configuration file: sudo vi /etc/network/interfaces
Changed
# The primary network interface
auto eth0
iface eth0 inet dhcp
To
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1
Restarted the networking services: sudo /etc/init.d/networking restart
I will upgrade BubbleBoy to Ubuntu 10.10
Started with the download of the software
Can't really miss the big orange button, can you?
Burned the ISO (ubuntu-10.10-server-amd64) to a CD using Nero
Used secure shell to log on to existing install: ssh [user]@[ip address]
Stopped BubbleBoy: sudo shutdown -r now
Booted BubbleBoy from the Ubuntu 10.10 server CD
Performed install of Ubuntu 10.10 on /dev/sda1 (install incl openSSH)
/dev/sda5 still contains a working install of Ubuntu 9.10 desktop
/dev/sda6 still contains a working install of Ubuntu 9.10 server
Configured a fixed IP address
Edited the interfaces configuration file: sudo vi /etc/network/interfaces
Changed
# The primary network interface
auto eth0
iface eth0 inet dhcp
To
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.1
Restarted the networking services: sudo /etc/init.d/networking restart
zondag 24 oktober 2010
Abonneren op:
Posts (Atom)