How to add a new disk to Ubuntu server (12.04) by using remote ssh

1. Physically install the hard disk.
2. use ssh log in
3. find out whether the disk is installed

sudo fdisk -l

4. find out the UUID of the disk

sudo blkid

Use HandBrakeCLI to convert Videos files to mp4 in Ubuntu Server (via ssh command line)

1. Download and Install HandBrake CLI

2. How to use -- my case as example

My video file located at: ~/video/

How to use mysqldumper to auto-backup mysql database in Ubuntu server

Get mysqldumper

Powerful, easy to use, free, the best backup program!

Install perl for apache

How to use unison to sychronize web files in Linux Server

I use the following two programs to auto-backup my server files and database:
web folder backup program: unision
mysql data backup program: mysqldumper

How to find your hard disk usage in Ubuntu server

When you log in your Ubuntu server via ssh, it will tell you the usage of hard disk of /home directory, but it does not tell you the other directories.

Install Send-only Mail Server with Exim on Ubuntu

1. Set the Hostname
Issue the following commands to make sure it is set properly:

hostname -f

How to install/uninstall LAMP Server by using tasksel in Ubuntu

The easiest way to install LAMP is via tasksel

1. Install taskseel:

sudo apt-get install tasksel

2. Install LAMP:

sudo  tasksel

And select LAMP Server:

Install Ownlcoud 4.07 in Ubuntu server 10.04

Just install our owncloud system 4.07 in our Intranet.

In Ubuntu 10.04, you need to Set the directory permissions to data folder

Install Ubuntu Server 10.04 to Virtualbox on Ubuntu 10.10 Desktop

1. Download Ubuntu 10.04 server disk image: ubuntu-10.04.2-server-i386.iso

2. Create a Virtual Machine (Operation system Linux)

3. Enable the PAE support for the virtual machine.

How to update Ubuntu server from 9.04 to 10.04

Step 1: install update-manager-core
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install update-manager-core

Syndicate content