How to Install OpenVPN in Ubuntu 11.04

Few days ago I bought VPS account which I installed Ubuntu 11.04. This is how I installed OpenVPN into the VPS. The network configuration: # ifconfig lo        Link encap:Local Loopback inet addr:127.0.0.1  Mask:255.0.0.0 UP LOOPBACK RUNNING  MTU:16436  Metric:1 RX packets:11947 errors:0 dropped:0 overruns:0 frame:0 TX packets:11947 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1287068 (1.2…

Read More

Connect to Wireless Network (WEP) in Ubuntu 11.04 using Command Line

Check wireless adapter: $ iwconfig You will see wireless adapter as wlan0 or ath0 which depends on what driver is installed. Execute the following command to apply ESSID, network key, channel, and mode: $ sudo iwconfig wlan0 essid yantoknuk-singtel $ sudo iwconfig wlan0 channel 6 $ sudo iwconfig wlan0 key ngumbahkucing $ sudo iwconfig wlan0…

Read More

Connect to Wireless Network (WPA) in Ubuntu 11.04 using Command Line

Install wpa supplicant package: $ sudo apt-get install wpasupplicant Configure network ESSID and passphrase. In this example I use ESSID ‘yantoknuk-singtel’ and passphrase ‘ngumbahkucing’. $ wpa_passphrase yantoknuk-singtel # reading passphrase from stdin After that, type in your passphrase right below the text ‘# reading passphrase from stdin’. # reading passphrase from stdin ngumbahkucing network={ ssid=”yantoknuk-singtel”…

Read More

Setup Squid MRTG on Ubuntu 10.10

Update Feb 23: to install only MRTG and SNMP please read this article.   Install MRTG, Apache2, Squid and SNMP $ sudo apt-get install apache2 snmpd mrtg snmp-mibs-downloader squid Configure SNMP Backup /etc/snmp/snmpd.conf $ sudo mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak Create new /etc/snmp/snmpd.conf $ sudo nano /etc/snmp/snmpd.conf and key in these lines: rocommunity  public syslocation  “Bukit Batok”…

Read More

Install Subversion on Debian

First of all, install these packages: apache2, php5, subversion. # apt-get install apache2 # apt-get install libapache2-mod-php5 # apt-get install subversion # apt-get install libapache2-svn Create repository folder. # mkdir /subversion # svnadmin create –fs-type fsfs /subversion/kendal Make sure subversion is activated in apache. # a2enmod dav # a2enmod dav_svn Create user account for subversion….

Read More