Archive for the ‘ubuntu’ tag
Cisco VPN client setup on ubuntu
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:
Detecting Ubuntu Version
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!
Getting a Ruby on Rails app running on a fresh Ubuntu server
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