Here are some useful linux and unix commands.

SMTP server on linux

SMTP server on linux Postfix Postfix is the default Mail Transfer Agent (MTA) in Ubuntu. It attempts to be fast and easy to administer and secure. It is compatible with the MTA sendmail. This section explains how to install and configure postfix. It also explains how to set ...

Quick Setup LAMP Server for UBUNTU

Setup ssh > sudo apt-get install openssh-server Setup LAMP > apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server > apt-get install php5-gd > sudo apt-get install phpmyadmin > sudo apt-get install msttcorefonts...

ubuntu install fonts

http://embraceubuntu.com/2005/09/09/installing-microsoft-fonts/ The Truetype Microsoft fonts provided by the package include: Andale Mono Arial Black Arial (Bold, Italic, Bold Italic) Comic Sans MS (Bold) Courier New (Bold, Italic, Bold Italic) Georgia (Bold...

Java Install on Ubuntu 10.04

Procedure to follow Open terminal and run the following commands Add partner repository using the following command sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner” Update the source list sudo apt-get update Now install sun jav...

ubuntu nic config

ifconfig -a       for all if eth0 or eth1 check vi /etc/network/interfaces  sudo vi /etc/network/interfaces # The primary network interface – use DHCP to find our address auto eth0 iface eth0 inet dhcp Configuring Static ...

Install Samba Server on Ubuntu

HOWTO: Setup Samba peer-to-peer with Windows As many fellow Ubuntu users seem to have trouble setting up samba peer-to-peer with Windows I decided to write a small howto on this matter. NOTE: I am aware that there's a wiki-page as well as several other howto's around - but by looking...

AIX HELP

Read Tape content -------------------- > restore -Tvf /dev/rmt0 Back to Tape -------------------- To backup all the files and subdirectories in the /home directory using full path names, enter: > find /home -print | backup -i -f /dev/rmt0 Eject/Status of tape drive ----------------...

Setup SVN server on ubuntu 14.04

  Let’s start the installation . Step 1 » Issue the below command to update the repositories. sudo apt-get update Step 2 » After updating repositories , Issue the below command to install SVN and apache webserver (To access SVN through http ) . sudo apt-get in...

Update ubuntu linux server on command line

sudo apt-get update # Fetches the list of available updates sudo apt-get upgrade # Strictly upgrades the current packages sudo apt-get dist-upgrade # Installs updates (new ones)   https://askubuntu.com/questions/196768/how-to-install-updates-via-command-line...

Linux/Unix notes

Add DNS entry in ubuntu 12 http://askubuntu.com/questions/130452/how-do-i-add-a-dns-server-via-resolv-conf FreeBSD LAMP Setup http://bottlenix.wikidot.com/installing-sudo-on-freebsd https://www.digitalocean.com/community/tutorials/how-to-install-an-apache-mysql-and-php-famp-stack-on-free...

AIX Tape Drive

http://www-01.ibm.com/support/docview.wss?uid=swg21600215 List tape drives: $ ls -l /dev/rmt # lsdev -Cc tape $ mt -f /dev/rmt/0 status $ mt -f /dev/rmt0 rewind $ mt -f /dev/rmt0 offline    eject To see if you can backup files to it - cvf means create, verbose, file to b...