Clone your Linux disk with ddrescue

There is a better, quicker way to do this which is to clone your entire drive onto a new drive.

You can do this with a tool like GParted, but there is also a command line tool that will get the job done as well. This tool is ddrescue. Now with ddrescue you will have to have your new disc partitioned (it will not partition for you). In this article I am going to show you how to get your dying Linux drive cloned onto a new drive.

Installation of ddrescue:

apt-get install ddrescue gparted

Paritioning your new drive:

After you installed the new drive reboot your server. Then do the following:

  1. Start GParted.
  2. Create a partition scheme on the new drive  identical with the old drive.
  3. Save the new partition scheme and you are ready to clone.

(continue reading…)


Five Reasons to Run Linux Instead of Windows

What’s not always appreciated, is just how significant a portion of the market Linux servers are getting to be.
Whereas unit shipments of Windows servers increased 28.2 percent year over year in the second quarter of 2010, Linux server revenue grew 30.0 percent to $1.8 billion when compared with the second quarter of 2009.
Linux servers now represent 16.8 percent of all server revenue, up 2.5 points over 2009.

Linux is eminently better suited to server use than Windows. Why ? Let’s see:

1. Stability

Linux systems are well known for their ability to run for years without failure; in fact, many Linux users have never seen a crash. That’s great for users of every kind, but it’s particularly valuable for small and medium-sized businesses, for which downtime can have disastrous consequences.

Linux also handles a large number of processes running at once much better than Windows does–that’s something, in fact, that tends to degrade Windows’ stability quickly.

Then there’s the need for rebooting. Whereas in Windows configuration changes typically require a reboot–causing inevitable downtime–there’s generally no need to restart Linux. Almost all Linux configuration changes can be done while the system is running and without affecting unrelated services.

Similarly, whereas Windows servers must often be defragmented frequently, that’s all but eliminated on Linux. Let your competitors endure the plentiful downtime that inevitably goes hand-in-hand with Windows; trusty Linux will keep you up and running and serving your customers around the clock.

(continue reading…)


G-WAN – Fastest Webserver Ever

G-WAN is using full ANSI C scripts and is a FREE Web App. server.

G-WAN redefined the static Web content hierarchy on  Linux. Now, G-WAN redefines the standards of dynamic Web content generation.

On a gigabit LAN, ApacheBench compared G-WAN , IBM Apache+PHP, SUN GlassFish+Java and Microsoft IIS+C#.

Result, G-WAN does the job with 5 million times less servers. See images below:

Loan 100 years (131.4 KB):

image

(continue reading…)


How To Connect To An Access Point From The Linux Command Line

First, the wireless interface has to be activated. In this case I am using Debian and the interface name is wlan0.

Step 1. Activate the wireless interface

ifconfig wlan0 up

Step 2. Scan for the wireless networks

iwlist wlan0 scan

The output should be sometshig like this:

wlan0     Scan completed :
          Cell 01 - Address: 00:17:53:0B:30:C0
                    ESSID:"linksys"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=47/100  Signal level:-76 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=0000010b1bfe2181
                    Extra: Last beacon: 28ms ago

(continue reading…)


Lightweight System Monitoring Tool

Monitorix is a free, open source, lightweight system monitoring tool designed to monitorize as many services as possible.

At this time it monitors from the CPU load and temperatures to the users using the system. Network devices activity, network services demand and even the devices’ interrupt activity are also monitored, and more. The current status of any corporate server with Monitorix installed can be accessed via a web browser.

Installation:

apt-get install rrdtool librrds-perl apache2 libwww-perl

Then download and extract the Monitorix package:

wget http://www.monitorix.org/monitorix-1.5.1.tar.gz
tar -zxvf monitorix-1.5.1.tar.gz

Then  execute the install script:

(continue reading…)


  • Sponsored Links

  • Categories

  • Page 1 of 111234510...Last »
    Copyright © 2010 Linux Debian Tutorials. All rights reserved.