Wednesday, February 24, 2010

Setup Summary of a Ubuntu Linux machine

Setup Summary of a Ubuntu Linux machine

 

We plan to setup a Linux machine to run some jobs and also it can provides us a environment to practice in Linux. So we decide to use Ubuntu 9.10.

 

The whole installation was smooth since it really simple. Just insert Installation disk into CD-ROW and reboot the machine to start installation.

 

This post is to log the issues when I setup the whole machine and the way I solve those issues.

 

How to remotely control Ubuntu from windows desktop ? 

a. Install TightVNC Viewer into windows client. You can download the file here,

http://sourceforge.net/projects/vnc-tight/

 

b. Configure Ubuntu to allow user control the machine remotely.

Login Ubuntu locally with GUI desktop.

Click System->Preferences->Remote Deksop

In the Remote Desktop Preferences, click ‘Allow other users to view your desktop’ and ‘Allow other users to ontrol your desktop’ and click Close.

 

c. In windows machine, open TightVNC Viewer and input the Ubuntu machine name/IP address into VNC server and click Connect button.

 

So far,  you can see the Ubuntu desktop in the viewer. If some security settings are enabled in Remote Desktop Preferences, you may input the password when connect to Ubuntu via TightVNC Viewer.

 

Notes: if you can not login Ubuntu via viewer, you need to check if the Ubuntu has enable the network.

 

How to setup FTP server in Ubuntu

I googled this topic and find a command to do this,

 sudo apt-get update

 sudo apt-get install vsftpd

But with back luck, I got below erros,

407 Proxy Authentication Required (The ISA Server requires authorization to fullfill the request.Access t the Web proxy service is denied). I still do not resolve this issue by now although I tried many many ways. So I suggest you to skip this issue to install the package directly and let it be. It saves you lots of time especially if you are newbie like me.

 

a. Check your machine has valid IP address via command: ifconfig. I can get the IP address once I finish installation.

 

b. Configure FireFox to access internet web pages. (in most cases, you need to input proxy server information as in Windows platform)

 

 

c. Login Ubuntu packages website and download vsftpd deb package. Do not use google this time, just this website and it is almost enough.

http://packages.ubuntu.com/

 

d. Use below command to install the package

   sudo dpkg –i vsftpd-xxx-xxx.deb

 

e. Then configure the ftp. You can find the configure file under /etc/vsftpd.conf. Here is the detail for your refernece,

http://vsftpd.beasts.org/vsftpd_conf.html

 

f. And start the services with root. The ftp service will start once Ubuntu reboot as a service.

/etc/init.d/vsftpd start|stop|restart|reload|status

 

Hah. You can ftp from your windows to Ubuntu if all go smooth.

 

 

 

 

 

No comments: