Login Form






Lost Password?
No account yet? Register
Your IP address is: 38.107.191.80
Home arrow Ubuntu
Ubuntu
Written by admin   

 

Home Server Specs
Ubuntu 8.10 (Operating System)Image
Intel Pentium 4
1024Mb RAM
40 Gb Hard Drive
Apache2 Web ServerImage
MySQL Database Server
PHP Support
Curl Internet Application Support
FTP Server
Squid Proxy ServerImage
Squid Cacheing Server
Network Anti-Virus Scanner/Server
SSH/Xserv Configured
Torrent/Download Server
 
 

Ubuntu Commands

MISC COMMANDS

Backup folders and Directorys rsync -av /path/to/source/directory /path/to/target/directory

Delete user and home directory sudo deluser --remove-home use

Delete just a users home directory sudo rm -r /home/username

Show CPU infomation cat /proc/cpuinfo

Show system uptime uptime

Download and install package sudo apt-get install PACKAGE

Edit file in sudo mode sudo gedit /location/location2/filename.conf

Move in to a directory cd /location/location2/

Create TXT file with content echo "hello" >> hello.txt

Show network devices  sudo lshw -C network
--------------------------------------------------------------------------

SERVER COMMANDS


Restart VSFTPD server sudo /etc/init.d/vsftpd restart
Start VSFTPD server sudo /etc/init.d/vsftpd start
Stop VSFTPD server sudo /etc/init.d/vsftpd stop

Restart Apache server sudo /etc/init.d/apache2 restart
Start Apache server sudo /etc/init.d/apache2 start
Stop Apache server sudo /etc/init.d/apache2 stop

Shows interface activity Speedometer -rx (interface)

Shows interface activity Speedometer -tx (interface)

dpkg -l lists all of the installed packages

 

ip nat inside source static tcp 192.168.1.200 22 209.247.228.201 22
extendable

forwards SSH (tcp port 22) traffic to the inside address 192.168.1.200
from the outside address 209.247.228.201.

 

 

Last Updated ( Monday, 14 June 2010 )