Tatva-Artha

meaning of "it"

Archive for the ‘ubuntu’ tag

Cisco VPN client setup on ubuntu

without comments

There are a few gotchas when setting up cisco vpn client on ubuntu. For cisco vpn, you need 5 pieces of information from your server.

Host, groupId, groupPassword, Username, password

Usually these pieces of information is supplied by your company (or your vpn host) in the form of *.pcf file. This is a text file that you can open up and read. The passwords are usually stored in this file in encrypted format.

When setting up cisco vpn client on ubuntu, following steps are needed:

Read the rest of this entry »

Written by Sharad

July 3rd, 2009 at 5:39 am

Posted in All, Technology

Tagged with , ,

Detecting Ubuntu Version

without comments

The command is:

lsb_release -a

In order for this to work, you may need to install following package:

sudo apt-get install lsb-core

For any generic unix system, following commands can be used for other information such as machine, hardware, architecture, OS.

cat /proc/cpuinfo

cat /proc/version

uname -a #uname –help for more options

Enjoy!

Written by Sharad

July 3rd, 2009 at 1:26 am

Posted in All, Technology

Tagged with

Getting a Ruby on Rails app running on a fresh Ubuntu server

without comments

Shamelessley copy/pasted this from Centostrano README… thought this would be a good reference next time I setup a slicehost slice.

  export HOSTS=<target.host.name>

  # Install Rails stack
  cap deprec:rails:install_rails_stack

  # Install mysql (if it's running on the same box)
  cap deprec:mysql:install
  cap deprec:mysql:config_gen
  cap deprec:mysql:config

  # Install your Rails app
  cap deploy:setup
  cap deploy
  cap deprec:db:create
  cap deprec:db:migrate
  cap deprec:nginx:restart
  cap deprec:mongrel:restart

Written by admin

May 19th, 2009 at 3:50 pm

Posted in All

Tagged with ,