News, Reviews, Gadget Database
This article is about Offline Package Management in Debian. Debian is a pretty well known project. One of the things that makes Debian very popular is APT (a.k.a Advanced Packaging Tool) which allows remote package downloads, upgrades and dependency resolution. Unfortunately it does require a network connection – unless you use apt-offline.
In Debian, when you need to install a package, you usually would fire up the apt-get command and the software would just install without any hand holding.
While APT is really very cool one of the main reasons for its success is the Debian Policy. The Debian Policy is like the brain of the project that controls the entire project ensuring that all the bits and pieces fit well together upto the Debian Standards. APT is just a result of the fantastic Debian Policy work.
RealPlayer plays streaming audio and video over the Internet in real-time. It plays RealAudio, RealVideo, MP3, 3GPP Video, Flash, SMIL 2.0, JPEG, GIF, PNG, RealPix, RealText, Ogg Vorbis, and Ogg Theora. It is available for Windows, Macintosh, Pocket PC, Nokia 9200 Series, Nokia 7650, Palm OS 5-based handhelds, Linux, Solaris, and many Unix variants.
First you need to download .deb package from here
Continue Reading Howto install Real Player 11 in Debian Lenny
cpulimit is a simple program that attempts to limit the cpu usage of a process (expressed in percentage, not in cpu time). This is useful to control batch jobs, when you don’t want them to eat too much cpu. It does not act on the nice value or other scheduling priority stuff, but on the real cpu usage. Also, it is able to adapt itself to the overall system load, dynamically and quickly.
How it works
Note that you don’t need to read this paragraph in order to use cpulimit, you can safely skip it if you are not interested in tweaking cpulimit.
So, you are curious to know the secrets of cpulimit
Of course there is no secret if you are a C developer, but I will try to explain to everyone. The work of cpulimit is done all in userspace, so it doesn’t interfere with the Linux scheduler. Basically, the target process, which you can specify by pid, name, or command line, is continuosly paused and resumed by sending it SIGSTOP and SIGCONT signals. Signals are sent by cpulimit in appropriate moments, based on the limit specified by user and the process statistics read from /proc. Continue Reading cpulimit – Limit the cpu usage of a process
13Sep
# Backup the old Cacti database.
shell> mysqldump -l –add-drop-table cacti > mysql.cacti
Note: You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti’s database or you will end up with an empty backup.
# Backup the old Cacti directory.
shell> mv cacti cacti_old
# Extract the distribution tarball.
shell> tar xzvf cacti-version.tar.gz
# Rename the new Cacti directory to match the old one.
shell> mv cacti-version cacti Continue Reading Upgrading Cacti
06Sep
Netstat (NETwork STATistics) is a command-line tool that provides information about your network configuration and activity.
- To display the routing table:
#netstat -rn
-> -r : Kernel routing tables.
-> -n : Shows numerical addresses instead of trying to determine hosts.
- To display the quick interfaces statistics:
#netstat -i
-> -i : Interface
Continue Reading Tutorial Netstat