linux

How to Move Files Into One Directory in Linux With Find Command

If you want to move all files of a particular file type into a single directory, you can use the find command to do this easily in Linux. Usage Run this command from the root directory of where you want to find the files. For instance, if you wanted to find all .zip files from [...]

How to install and configure webalizer in multiple domain on Centos 4.6

Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. It was written to solve several problems with currently available analysis packages. A vast majority of them were written in Perl or some other scripting language, [...]

How to Back Up and Restore OpenVZ VMs With vzdump on CentOS

OpenVZ is an operating system-level virtualization technology based on the Linux kernel and operating system. OpenVZ allows a physical server to run multiple isolated operating system instances, known as containers, Virtual Private Servers (VPSs), or Virtual Environments (VEs). It’s similar to FreeBSD Jails and Solaris Zones. vzdump is a backup and restore utility for OpenVZ [...]

Essential Linux Server Administrator Commands

Command Summary Use arp Command mostly used for checking existing Ethernet connectivity and IP address Most common use: arp This command should be used in conjunction with the ifconfig and route commands. It is mostly useful for me to check a network card and get the IP address quick. Obviously there are many more parameters, [...]

How to Shorten My Boot Time With GRUB?

GRUB is one of the more common boot loaders in use on GNU/Linux systems today. I have GRUB installed on both my boxen, on one to facilitate dual-booting between Windows XP Home (for Kelly, not for me) and on the other to facilitate booting between kernels. GRUB is controlled by a file called menu.lst which [...]

How to Monitor Processes Using the PS Command

The ps command will display the running processes on a GNU/Linux system. As with many command-line applications there are many options and switches. I’m just going to touch on the few more common but you can use the man pscommand to find out other things you can do with ps. ps by itself will display [...]

How to Build a diskette-based bandwidth management system – PicoBSD

Many users, despite having a good Net connection, complain about poor surfing and download speeds. While an organization could pay for additional bandwidth, a better option might be to manage the bandwidth they already have. There are numerous bandwidth management software tools available. In this article we will explore managing network bandwidth using the dummynet [...]

An Introduction to Basic IPv4 Routing

All of the operations considered in this article are operations upon a router, whether that router is a Linux box or Cisco dedicated hardware or some other type of machine. In this chapter I consider the traditional methods of IPv4 routing as using static configurations that are manually input by the network administrator. 1.1 Traditional [...]

How to use Grep command – Linux Popular Command

Grep is by far the most popular command that exists in Unix. Though some may argue about that, but once you begin using grep, it would always be present in all your complex commands that you think of executing at the shell prompt. grep stands for ‘global regular expression printer‘ . Which makes no sense [...]

How to Mount a Windows Shared Folder on Linux with Samba

Installing Prerequisites If you are running on Ubuntu or another Debian distribution, you can install the required software by simply running the following command from a terminal prompt: sudo apt-get smbclient smbfs Testing the Connection Now that you have the right tools installed, it’s time to test the connection to the Windows or Samba box [...]

What is FreeTDS ?

FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases. Technically speaking, FreeTDS is an open source implementation of the TDS (Tabular Data Stream) protocol used by these databases for their own clients. It supports many different flavors of the protocol [...]

How to verify that PHP is running on your box

To verify that Apache and P HP  are installed and running, first point a browser to the host on which they are installed and verify that the browser can view the apache test page. To verify that the PHP is runing and operating correctly, create the following script placing the same on the web folder. [...]

How to Install and Configure the eAccelerator PHP cache on Apache

If you are looking for a way to speed up your PHP pages on Apache, this is the software you want to install. Huge performance gains can be had when using this software to precompile and cache your PHP pages, and it is very simple to install.