Follow the instruction at
http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html
Sunday, January 4, 2009
Friday, November 28, 2008
Tuesday, September 30, 2008
[Ubuntu] SSH: Staying connected to the server
1. PuTTY
In the menu of the PuTTY,
go to Connection > Seconds between keep-alives (0 to turn off),
and enter the number of seconds, which will
makes PuTTY to send a null packet to keep session alive.
2. ssh on Ubuntu
http://ubuntu.wordpress.com/2006/02/03/keeping-ssh-sessions-alive/In sum, in /etc/ssh/ssh_config
addServerAliveInterval 5
Sunday, September 28, 2008
[Ubuntu] Several tips
1. how to know the number of files in directory
> ls |wc -l
2. how to know the size of directory
> du -h
> ls
2. how to know the size of directory
> du -h
Wednesday, September 17, 2008
[Ubuntu] C# on Ubuntu
1. Install mono and monodevelop
http://tempvariable.blogspot.com/2008/04/installing-mono-191-on-ubuntu-804-hardy.html
2. Install .Net
sudo apt-get install mono-gmcs (.NET 2.0)
sudo apt-get install mono-mcs (.NET 1.1)
3. First example of mono and monodevelopment
http://beans.seartipy.com/2006/06/28/writing-your-first-program-with-mono-and-monodevelop/
** If you install 'gmcs', check Project>Runtime option > Runtimer version: Mono/.NET 2.0 profile
http://tempvariable.blogspot.com/2008/04/installing-mono-191-on-ubuntu-804-hardy.html
2. Install .Net
sudo apt-get install mono-gmcs (.NET 2.0)
sudo apt-get install mono-mcs (.NET 1.1)
3. First example of mono and monodevelopment
http://beans.seartipy.com/2006/06/28/writing-your-first-program-with-mono-and-monodevelop/
** If you install 'gmcs', check Project>Runtime option > Runtimer version: Mono/.NET 2.0 profile
In the project options page go to the runtime options panel and select
runtime version 2.0.
Monday, September 15, 2008
[Ubuntu] SSH tunneling
1. SSH login without password
http://linuxproblem.org/art_9.html
2. ssh -l gunhee1 server1 gunhee2@server2
or
ssh -t gunhee1@server1 "ssh gunhee2@server2"
3. scp multiple hops
scp -Cp -o "ProxyCommand ssh gateID@gatehost nc remotehost 22" remoteID@remotehost:matlab.el ./
4.
sshfs gunhee1@server1: ~/mount/
fusermount -u mountpoint
sudo apt-get install sshfs
sudo adduser username fuse
sudo chgrp fuse /dev/fuse
sudo chmod 4755 /bin/fusermount
http://linuxproblem.org/art_9.html
2. ssh -l gunhee1 server1 gunhee2@server2
or
ssh -t gunhee1@server1 "ssh gunhee2@server2"
3. scp multiple hops
scp -Cp -o "ProxyCommand ssh gateID@gatehost nc remotehost 22" remoteID@remotehost:matlab.el ./
4.
sshfs gunhee1@server1: ~/mount/
fusermount -u mountpoint
sudo apt-get install sshfs
sudo adduser username fuse
sudo chgrp fuse /dev/fuse
sudo chmod 4755 /bin/fusermount
Subscribe to:
Posts (Atom)