Monthly Archives: July 2012

Ubuntu Name Server

Under /etc, there is a file named “resolv.conf” The Primary nameserver should be configured as well as another host to double check things. Simply edit /etc/resolv.conf and add the following: nameserver 192.168.1.10 nameserver 192.168.1.11 And if you put the line: … Continue reading

Posted in Ubuntu Configuration | Tagged , | Leave a comment

Find files on computer: find

A standard Linux system has an incredible amount of files installed. Looking for a file location can be a painful task to do though a file browser. Fortunately, there is a nifty command line available by default on any Linux … Continue reading

Posted in Linux Command | Tagged , , | Leave a comment

VSFTPD FTP Server on Ubuntu

At first, not working, message: Connection established, wait for welcome message … … remove first: sudo apt-get remove – -purge vsftpd sudo apt-get install vsftpd then. working. You have to do too things before remove it: 1. delete /etc/vsftpd.conf 2. … Continue reading

Posted in Ubuntu Configuration | Tagged , | Leave a comment

Firewall Ubuntu: iptables setting

Following are the commands to open tcp or udp ports on the server. Before using commands for opening the port please make sure the specific port is already opend and what is the use of that port. you can verify … Continue reading

Posted in Ubuntu Configuration | Tagged , | Leave a comment

Ubuntu (12.04) FTP Server Configuration

Access to an FTP server can be managed in two ways: Anonymous Authenticated vsftpd – FTP Server Installation vsftpd is an FTP daemon available in Ubuntu. It is easy to install, set up, and maintain. To install vsftpd you can run the … Continue reading

Posted in Ubuntu Configuration | Leave a comment

When you see “Debian: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces”

If you are SSH’ed into interface eth0, if you do an ifdown eth0, you lose connectivity. One thing I tested in a VirtualBox Debian virtual machine (VM) is the following command and my connection didn’t break. But before you do anything … Continue reading

Posted in Ubuntu Configuration | Tagged , | Leave a comment