Archive

Archive for May, 2010

Start Subversion (SVN) automatically when Ubuntu server boots

May 31st, 2010

It turned out my Ubuntu server does not start Subversion automatically on boot. I found this website with instructions how to create a startup script.

Create a file called “svnserve” in the /etc/init.d folder

$ sudo nano /etc/init.d/svnserve

Add the following line to this script in order to start the Subversion server:

svnserve -d --root /srv/subversion

Save the file (CTRL+O) and exit nano (CTRL+X)
Now make the file executable

$ sudo chmod +x /etc/init.d/svnserve

Add the svnserve script to the init.d boot sequence

$ sudo update-rc.d svnserve defaults

Now you’re done! On the next reboot the SVN server will start automatically.

Linux , , ,

Connect from Mac OSX to Ubuntu NFS

May 6th, 2010

I noticed that I connect a lot to my server in order to retrieve files, so I thought it would be useful to connect through NFS instead of Samba. Installing NFS on my server was a piece of cake. Just follow this tutorial and you are done.

The only thing you need to do then is manage your shares in the /etc/exports file. So far so good. But when I want to connect I receive an error which tells me I use the wrong username and/or password. Funny enough the whole system did not even prompt for any of these credentials.

NFS connection error in OSX

NFS connection error in OSX

Read more…

Linux ,

How to delete a GPT protected partition in Windows

May 5th, 2010

I accidentally formatted my external harddisk in OSX. Since I wanted this disk to be NTFS I needed it to be formatted in Windows. When I opened up disk management I was unable to format the harddisk because it had a GPT protected partition on it.

Read more…

general , , ,