Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts
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/
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.
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
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
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
- Go to System -> Administration -> Printing and open the New Printer icon.
- 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
Ubuntu Grub
Reinstall Grub
Grub Boot Sequence
- sudo grub
- root (hd0,0)
- setup (hd0)
- quit
Grub Boot Sequence
- press alt+f2
- gksudo /gedit/boot/grub/menu.lst
Update Ruby on Rails
Posted by
Lon
on Wednesday, February 25, 2009
Labels:
Gems,
RubyonRails,
Ubuntu,
Windows
/
Comments: (0)
- gem update rails –-include-dependencies
- gem update –system
Installation of restful_authentication_tutorial
Posted by
Lon
Labels:
Intrepid 8.10,
Plugins,
restful_authentication,
Ubuntu
/
Comments: (0)
- 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
- sudo gem install ruby-openid nofxx-annotate rspec rspec-rails yfactorial-utility_scopes rack capistrano
- rake db:create:all or db:create
- rake db:migrate
Error in installing mysql gem
Posted by
Lon
Labels:
Error,
Intrepid 8.10,
MySql,
Ubuntu
/
Comments: (0)
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] 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
Posted by
Lon
Labels:
Intrepid 8.10,
php,
Ubuntu
/
Comments: (0)
- sudo apt-get install php5-cli
Install Imagemagick and Rmagic
Posted by
Lon
Labels:
Imagemagick,
Intrepid 8.10,
Rmagick,
Ubuntu
/
Comments: (0)
- 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
Posted by
Lon
Labels:
git,
Intrepid 8.10,
Ubuntu
/
Comments: (0)
- sudo apt-get install git-core git-doc git-email gitk
MySql default password
Posted by
Lon
Labels:
Intrepid 8.10,
MySql,
Ubuntu
/
Comments: (0)
username: root
password:
or
mysqladmin -u root yourpassword # To setup the root password
or
sudo su # so it will not prompt for password
password:
or
mysqladmin -u root yourpassword # To setup the root password
or
sudo su # so it will not prompt for password
Install phpMyAdmin
Posted by
Lon
Labels:
Intrepid 8.10,
phpMyAdmin,
Ubuntu
/
Comments: (0)
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
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
Posted by
Lon
Labels:
Intrepid 8.10,
MySql,
Ubuntu
/
Comments: (0)
- sudo apt-get install mysql-server
- sudo apt-get install mysql-client-5.0
Install Ruby on Rails on Ubuntu
Posted by
Lon
Labels:
Intrepid 8.10,
RubyonRails,
Ubuntu
/
Comments: (0)
- 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
http://www.rubyinside.com/how-to-install-a-ruby-18-stack-on-ubuntu-810-from-scratch-1566.html