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.

Continue Reading Offline Package Management for APT

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

# 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

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

- To see the Quagga version available:
# apt-cache policy quagga
quagga:
Installed: (none)
Candidate: 0.99.5-5etch3
Version table:
0.99.5-5etch3 0
500 http://kambing.ui.edu stable/main Packages
500 http://security.debian.org stable/updates/main Packages

- To install Quagga:
# apt-get install quagga
Continue Reading Install Quagga

TCPdump is a very powerful command line interface packet sniffer.
1. Install TCPDUMP
- To install TCPdump :
#apt-get install tcpdump

- To see the TCPdump dependencies:
#apt-cache depends tcpdump
tcpdump
Depends: libc6
Depends: libpcap0.8
Depends: libssl0.9.8

- To see the installed TCPdump version:
# apt-cache policy tcpdump
tcpdump:
Installed: 3.9.5-2etch1
Candidate: 3.9.5-2etch1
Version Table:
*** 3.9.5-2etch1 0
500 http://kambing.vlsm.org stable/main Packages
500 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
Continue Reading Tutorial TCPdump

htaccess is a way to password protect directories. It can also be used to give user or group specific access to directories. This guide will tell you how to setup apache for htaccess and to set up basic protection. Let’s begin.

Open up /etc/apache2/sites-available/default

# vim /etc/apache2/sites-available/default

Continue Reading Protect a Directory on Your Website with htaccess and htpasswd



Archives

Translation

  • Translation
    EnglishShqipالعربيةБългарскиCatalà中文(简体)中文(漢字)HrvatskičeštinadanskNederlandsEesti keelSuomiFrançaisGalegoDeutschΕλληνικάעבריתहिन्दी; हिंदीmagyarBahasa IndonesiaItalianoíslenska日本語우리말latviešu valodalietuvių kalbaMaltiNorskفارسیPolskiPortuguêsRomânăРусскийсрпски језикslovenčinaslovenščinaEspañolsvenskaTagalogภาษาไทยTürkçeУкраїнськаTiếng Việt
    by Transposh

Get Recent Updates

Enter your email:

Follow Me on Twitter

Buy me a cup of tea

Do you like my free service?
Why not buy me a cup of tea?
PayPal - The safer, easier way to pay online.

Links

Blog of the Day