Archive

Posts Tagged ‘ubuntu server’

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 , , ,

Readout sensors of an EEE Box running Ubuntu server

August 11th, 2009

Quintin, a friend of mine, showed me a way to readout the sensors of my EEE Box in Ubuntu server.

The first step is to install the lm-sensors package

$ sudo apt-get install lm-sensors

Then you need to load the w83627ehf kernel module using

$ sudo modprobe w83627ehf

In order to have your sensors detected launch the command below and follow the steps shown (basically you can just press [enter] to each question).

$ sudo sensors-detect

Now you can readout your sensors by using the command

$ sensors

Remember if you want to load the w83627ehf module every time the sysem reboots, you need to update your /etc/rc.local with the line:

modprobe w83627ehf
readout of my sensors

readout of my sensors

Linux , , , , ,

OpenVPN on Ubuntu server for OSX clients tutorial

January 27th, 2009

I have three computers: MacBook Pro, Netbook and a PC. They all have their own data. It would be very nice if I had all my files on just one location (e.g. my server). The only problem is: how do I access these files in a secure way. SSH is an option, but does not quite fit my needs. The solution: NFS over a VPN. NFS fulfilled all my needs, but I do not want to open NFS to whole world through my router.

A VPN, gives me access to my home network and makes it possible for me to access all my files in a secure way. My server (an Asus EEE Box) runs Ubuntu Server, and there is a Linux version of OpenVPN! I thought installing OpenVPN should not be that hard; I just need to find the right tutorial.

openvpn_logo

Read more…

External links, Linux, Software , , , , , ,