Browsing articles in "Unix / Linux"
Apr
14
2014

Ubuntu – OpenSSL Heartbeat Extension (Heart bleed bug)

The Heartbleed OpenSSL bug is unlike virtually any Internet-based security threat you’ve probably ever heard of. It’s not a virus that’s specific to one operating system or type of device. Since it revolves around a flaw in the method of encryption used by many of the world’s websites, this problem potentially affects almost everyone who uses the Internet, including people who operate servers that run Ubuntu Linux, the free, open-source operating system.

Jan
5
2014

A benchmark tools for Ubuntu – Phoronix test suite

The most complete benchmarking software is probably Phoronix test suite, which is available in the repositories and can be installed with: sudo apt-get install phoronix-test-suite When running phoronix-test-suite for the first time in terminal, you can either answer yes or no to the questions regarding anonymous statistical reporting. If you answer yes, it says that This information is pooled along with the submissions from all other users to show general trends and other details on OpenBenchmarking.org. It is […]

Jul
20
2013

How to Install Linux, Apache, MySQL, PHP on Ubuntu

Step One—Install Apache Apache is a free open source software which runs over 50% of the world’s web servers. To install apache, open terminal and type in these commands: sudo apt-get update sudo apt-get install apache2 That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. http://12.34.56.789). The page should display the words “It works!” like this. How to Find your Server’s IP address You can run the following […]

Jul
18
2013

Linux command line : What does it mean 2>&1

For example  #ls 2>&1 > ls.log What is actually mean by 2>&1?? Since every shell process has there own descriptor :: 0 (stdin), 1 (stdout) and 2 (stderr) :: and & in the front of &1 indicated that 1 is not a file or folder, it is a descriptor. The > mean redirect the out put to another descriptors or  files. in this case 2>&1 > ls.log means that stderr(2) and stdout(1) put is redirected to the ls.log file. normally, for example #ls […]

Feb
27
2013

SFTP on specific port and using rsa or dsa key

sftp -oPort=2222 sftp -oIdentityFile=/path/to/private/keyfile user@123.456.789.012:/home/something Note: The -oPort=???? has to be before the user@123……

Feb
18
2013

HowTo: force umount a busy device in linux

When you try to umount the regular way, if a device is busy you’ll get the following : dev:/# umount /dev/sda1 umount2: Device or resource busy umount: /boot: device is busy This can be solver very easy by entering this : dev:/# umount -l /dev/sda1

Feb
8
2013

How to Install and Configure Dropbox on Ubuntu Server

Dropbox is a file hosting service that offers cloud storage, file synchronization, and client software. In brief, Dropbox allows users to create a special folder on each of their computers, which Dropbox then synchronises so that it appears to be the same folder (with the same contents) regardless of the computer it is viewed on. In this tutorial, I will try to show you the steps to make dropbox features and services available on ubuntu […]

Sep
22
2012

Installing PHP5 and Apache on Ubuntu

Installing PHP5 and Apache on Ubuntu If you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu box. First, you’ll want to add the extra repositories to Ubuntu’s sources.list file. From a command shell, you will run the following commands: sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo […]

Sep
15
2012

Ubuntu “Dynamic MMap ran out of room error when adding new apt source list”

Sometime once you add a new apt source in to apt source list, the Dynamic MMap ran out of room error will be shown up to fix it add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf ** the cache size can be changed. Code: APT::Cache-Limit “100000000”;

Sep
15
2012

Install and configure SNMP on Ubuntu

This guide describe how to install and configure SNMP on Ubuntu. 1.Installation root@ibsen:~# sudo apt-get install snmpd Reading package lists… Done Building dependency tree       Reading state information… Done The following packages were automatically installed and are no longer required:   libmpich1.0gf libdc1394-22 genisoimage linux-headers-2.6.27-7 libgfortran2 dvd+rw-tools linux-headers-2.6.27-7-generic libcarp-clan-perl libxml-xql-perl libparse-yapp-perl   rdate python-xml localechooser-data gcc-4.2-base libimage-size-perl libdebconfclient0 libvisual-0.4-0 libmyth-python perlmagick libvisual-0.4-plugins libavdevice52 Use ‘apt-get autoremove’ to remove them. The following extra packages will be installed: […]

Pages:12»



Member Area