Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Play .rmvb in Ubuntu

http://www.simplehelp.net/2007/07/27/how-to-play-rmvb-files-in-ubuntu/

Mozilla Firefox Download Manager

DownThemAll!

Remote desktop connection - Ubuntu to Windows

Go to Applications > Internet > Terminal Server Client
Fill in the blanks.
For a Windows Remote Desktop-style connection choose RDPv5 from the protocol drop-down.
Click Connect.

http://www.linuxquestions.org/questions/linux-newbie-8/remote-desktop-connection-from-ubuntu-to-windows-xp-689523/

Auto start application in Ubuntu

Click => System => Preferences => Sessions
Then Click for specific application or goto Options => Automatically remember running applications when logging out.

Open Rar file in Ubuntu

sudo apt-get install unrar

unrar x [filename.rar], replacing [filename.rar] with the name of your rar archive

How to view CHM files on Ubuntu

Install CHM Viewer
sudo apt-get install xchm
sudo apt-get install kchmviewer
sudo apt-get install gnochm

http://ubuntuforums.org/showthread.php?t=47952
http://www.ubuntugeek.com/how-to-view-chm-microsoft-compiled-html-help-files-in-ubuntu.html

Ubuntu Printer Setup

Setup Ubuntu to Print on Windows XP Print Server
  1. Go to System -> Administration -> Printing and open the New Printer icon.

  2. Select Network Printer and Windows Printer (SMB)
  • At Host, enter the computer name or IP-address of the Windows XP machine.
  • At Printer, enter the share name of the printer. (192.168.231.252/hp2200)
  • At Username, enter guest.
  • Verify
https://help.ubuntu.com/community/Printers

Write file in root folder

alt+f2
sudo nautilus /usr/lib/gedit-2/plugins

Ubuntu Grub

Reinstall Grub
  • sudo grub
  • root (hd0,0)
  • setup (hd0)
  • quit


Grub Boot Sequence
  • press alt+f2
  • gksudo /gedit/boot/grub/menu.lst

Update Ruby on Rails

  • gem update rails –-include-dependencies
  • gem update –system

Installation of restful_authentication_tutorial

  • git clone git://github.com/activefx/restful_authentication_tutorial.git
  • cd restful_authentication_tutorial
  • git submodule init
  • git submodule update
  • Set up database.yml file
  • Set up config.yml file (repeat as necessary for test and production environments)
  • settings/domain - should be your domain name without www or http, ex. yourdomain.com
  • settings/in_beta - should be true or false only
  • set new_user_invite_limit to zero to prevent new users from sending invitations when in beta
  • Change the login and password for the admin user in the _set_up_first_admin_user.rb migration
  • Change contact_site method in application.rb to redirect to your site's contact form or info
Install Gem
  • sudo gem install ruby-openid nofxx-annotate rspec rspec-rails yfactorial-utility_scopes rack capistrano
Continue Database Migration
  • rake db:create:all or db:create
  • rake db:migrate

Error in installing mysql gem

Solution
  • sudo apt-get install libmysqlclient-dev # Install this first
  • sudo gem install mysql

Error installing rmagick, Failed to build gem native extension, no such file to load -- mkmf (LoadError)

ubuntu@desktop:~$ sudo gem install rmagick
[sudo] password for ubuntu:
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb install rmagick
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rmagick-2.9.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/rmagick-2.9.1/ext/RMagick/gem_make.out


SOLUTION

  • sudo apt-get install ruby1.8-dev # Install this first.
  • sudo gem install rmagick

Install PHP5

  • sudo apt-get install php5-cli

Install Imagemagick and Rmagic

  • sudo apt-get install imagemagick
  • sudo apt-get install libmagick9-dev
  • sudo apt-get install ruby1.8-dev # so there will be no error on installation of rmagick or any other gems
  • sudo gem install rmagick

Install Git

  • sudo apt-get install git-core git-doc git-email gitk

MySql default password

username: root
password:

or
mysqladmin -u root yourpassword # To setup the root password

or
sudo su # so it will not prompt for password

Install phpMyAdmin

1. sudo apt-get install phpmyadmin

2. ALT+F2
3. gksudo gedit /etc/apache2/apache2.conf
or
2. Open a terminal
3. Type: sudo gedit /etc/apache2/apache2.conf

4. To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf
-->
# Include phpMyadmin
Include /etc/phpmyadmin/apache.conf

5. Restart Apache2 (to restart type the command below on terminal)
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start
or
sudo /etc/init.d/apache2 restart

Install MySql

  • sudo apt-get install mysql-server
  • sudo apt-get install mysql-client-5.0

Install Ruby on Rails on Ubuntu

  • sudo apt-get install ruby
  • wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
  • tar -xvzf rubygems-1.3.1.tgz
  • rm rubygems-1.3.1.tgz
  • cd rubygems-1.3.1
  • sudo ruby setup.rb
  • cd ..
  • rm -r rubygems-1.3.1
  • sudo apt-get install rubygems1.9
  • sudo gem install rails mongrel
Complete
http://www.rubyinside.com/how-to-install-a-ruby-18-stack-on-ubuntu-810-from-scratch-1566.html