11/12/2010
8/15/2010
eee pc multitouch-ubuntu 10-04 cheat sheet
add-apt-repository ppa:chasedouglas/multitouch
apt-get update
apt-get install multitouch-kernel-source
nG -> go to 'n' row of the file
"If you want a program for manual xrandr rotation:
Code:
cd /tmp && wget "http://philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb" && dpkg -i philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb
sudo sed -i 's/eGalax/AsusTek | tail -n 1/g' /usr/bin/touchrotate"
dpkg: error processing philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb
apt-get update
apt-get install multitouch-kernel-source
nG -> go to 'n' row of the file
"If you want a program for manual xrandr rotation:
Code:
cd /tmp && wget "http://philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb" && dpkg -i philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb
sudo sed -i 's/eGalax/AsusTek | tail -n 1/g' /usr/bin/touchrotate"
dpkg: error processing philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
philmerk.de/dwl/deb/egalax-multitouch-driver-common.deb
6/22/2010
ruby in fedora
Quick notes on installing Ruby on Rails on Fedora Core 5 ( It should be similar for other linux distros as well )
Install ruby rpms via yum:
# yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs
Download and install rubygems from rubygems.org.
Change to the extracted directory and run:
# ruby setup.rb
Now use gem to install rails. It will ask about installing dependencies. Answer "Y" or just hit return.
# gem install rails
Test it by creating a skeleton rails app in your home directory:
$ cd ~
$ rails testapp
Start the WEBrick server.
$ cd ~/testapp
$ ruby script/server
The WEBrick server should now be started and listening to the default port - 3000 .
Point your browser to:
http://localhost:3000/
You should see a welcome page with some additional getting started info.
Install ruby rpms via yum:
# yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs
Download and install rubygems from rubygems.org.
Change to the extracted directory and run:
# ruby setup.rb
Now use gem to install rails. It will ask about installing dependencies. Answer "Y" or just hit return.
# gem install rails
Test it by creating a skeleton rails app in your home directory:
$ cd ~
$ rails testapp
Start the WEBrick server.
$ cd ~/testapp
$ ruby script/server
The WEBrick server should now be started and listening to the default port - 3000 .
Point your browser to:
http://localhost:3000/
You should see a welcome page with some additional getting started info.
6/17/2010
virtualbox Fedora setup
Boot from CD - set CD primary Master;
when system installed, and would like to reboot, Shut Down it and in Settings set the CD as NOT primary Master, (any- primary slave eg)and boot from HDD.
or just secondary slave for CD-DVD-Rom and SATA for HDD, place it to Windows disk D, not in default C:/
when system installed, and would like to reboot, Shut Down it and in Settings set the CD as NOT primary Master, (any- primary slave eg)and boot from HDD.
or just secondary slave for CD-DVD-Rom and SATA for HDD, place it to Windows disk D, not in default C:/
VPN in Ubuntu 10.04
Ubuntu 10.04
Cisco VPN setup, steps:
then go to vpn wizard and connect:
connection established, but no ping available;
so then in terminal type: netstat -n -r;
in list select gateway name and type route add -net [IP of connection you would like to install] -gw [name of gateway from list] tun0;
Cisco VPN setup, steps:
- Install various VPN components
- PPTP
- pptp-linux
- network-manager-pptp
- VPNC
- vpnc
- network-manager-vpnc
- OpenConnect
- openconnect
- network-manager-openconnect
- Reboot
- Create new PPTP connection
- Create new PPTP connection
- VPN Tab Settings
- Set Connection name
- Set Gateway
- Set username (for domain-based user accounts, use domain\username)
- DO NOT SET PASSWORD
- DO NOT SET NT DOMAIN
then go to vpn wizard and connect:
connection established, but no ping available;
so then in terminal type: netstat -n -r;
in list select gateway name and type route add -net [IP of connection you would like to install] -gw [name of gateway from list] tun0;
Підписатися на:
Дописи (Atom)