Running your first Ruby on rails application (hello world), on Ubuntu Lucid.

1.Installing Ruby and Ruby on Rails. $ sudo apt-get install ruby rails 2.Creating first application running on WEBrick server. $ rails test create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initializers create config/locales create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance …

Auctex mode in Emacs on Ubuntu(Jaunty)

sudo apt-get install auctex, preview-latex-style #Once installed add the below mentioned part in your “.emacs” file. ;; Math mode for LaTex (add-hook ‘LaTeX-mode-hook ‘LaTeX-math-mode) ;;mouse scrolling (mouse-wheel-mode t) ;; spellcheck in LaTex mode (add-hook `latex-mode-hook `flyspell-mode) (add-hook `tex-mode-hook `flyspell-mode) (add-hook `bibtex-mode-hook `flyspell-mode) ;; Show line-number and column-number in the mode line (line-number-mode 1) (column-number-mode 1) …

Setting Up Local Ubuntu(Jaunty) Repository via Apt-Mirror.

The article mentions the method to deploy APT-MIRROR so that you can use a local repository in your intranet insted going to internet again. I will use the local repository IP to 192.100.100.40 Packages required:– 1.Apt-Mirror 2.Apache Webserver (to distribute to whole intranet) Steps :— 1.Setting up the apt-mirror $sudo apt-get install apt-mirror $sudo nano …