To write a message to users that have login, you can using the command write. But before that, you need to check who is login, and which terminal he is login to, use command who...
vzdump of CentOS
Submitted by sandip on Sun, 08/29/2010 - 15:01.Current versions of vzdump has dependency for cstream and perl-LockFile-Simple, both available via rpmforge. Below is how I got it to install and run on CentOS-5.5 x86_64 architecture.
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
yum --enablerepo=rpmforge install cstream perl-LockFile-Simple
rpm -ivh http://download.openvz.org/contrib/utils/vzdump/vzdump-1.2-4.noarch.rpmIt's necessary to export the location of the PVE libraries that vzdump requires. This can be added to ".bash_profile":
export PERL5LIB=/usr/share/perl5/Tune2fs Command May Increase Linux Free Disk Space
Not all of the Linux distributions allow users to tweak file system parameters during Linux installation, such as file system Reserved Block Count. Debian Linux installer allows user to change file system Reserved Block Count at Linux installation stage.
Other Linux distributions, particularly Redhat Linux, only allow user to tune file system parameters at post-installation stage, via Linux file system utility tune2fs...
How to install Ubuntu Tweak 0.5.6 beta in ubuntu 10.04/9.10
Ubuntu Tweak is an application to config Ubuntu easier for everyone.It provides many useful desktop and system
options that the default desktop environment doesn’t provide.With its help, you will enjoy with the experience of
Ubuntu!
Troubleshooting NFS
This is intended as a step-by-step guide to what to do when things go wrong using NFS. Usually trouble first rears its head on the client end, so this diagnostic will begin there...
Watching nginx upstreams with collectd
Already happy with nginx in front of Apache for a number of sites, I decided it was time to start testing nginx/fastcgi on my personal server (the serial crash test dummy of my web operations). The only problem: I have yet to find a sensible method of grabbing useful runtime information from the PHP fastcgi process itself, and if you can’t sensibly watch it, you can’t sensibly deploy it.
Run process with least cpu and IO priority
Submitted by sandip on Tue, 08/24/2010 - 14:38.Below is command to run process with the least CPU and IO priority.
nice -n 19 ionice -c 3 <command>You could also include the same in the beginning of the script:
#!/bin/bash
# Make process nice
renice +19 -p $$ >/dev/null 2>&1
ionice -c3 -p $$ >/dev/null 2>&1References:
Administering MySQL
In this lesson of the MySQL tutorial, you will learn...
1. To start up and shut down the MySQL Server
2. To view Information about the Server and Databases
3. To view and kill Threads
4. To clear System Caches
5. Various mysqladmin Options
php 5.2 to 5.3 migration
The new release of PHP 5.3 brought many important additions and changes to PHP. Although longly awaited, some of the changes are not backwards compatible. Thus, code that worked fine with 5.2 may produce warnings or fail in 5.3.
Quick research shows that most prominent applications had to be patched or changed, even though minimally, to work cleanly with 5.3. To help people to convert their web applications to 5.3, I present here a migration script that would allow you to inspect your applications for potential migration problems.
Creating a VPN in Minutes Using Remobo
Remobo is a free software which can be used to replace the paid versions of existing difficult to use VPN setups
as it can create a VPN instantly and securely. It lets you login easily and add users to your buddy list, and create a secure network for you.
Recent comments
2 days 16 hours ago
6 days 14 hours ago
2 weeks 1 day ago
3 weeks 3 days ago
7 weeks 3 days ago
7 weeks 5 days ago
7 weeks 5 days ago
8 weeks 6 days ago
9 weeks 1 day ago
9 weeks 1 day ago