Artikel ini adalah tentang Offline Pengurusan Paket di Debian. Debian adalah projek yang cukup terkenal. Salah satu hal yang membuat Debian sangat popular adalah APT (alias Advanced Packaging Tool) yang membolehkan mendownload paket remote, upgrades and dependency resolution. Sayangnya hal ini memerlukan sambungan rangkaian – kecuali jika anda menggunakan apt-offline.

Dalam Debian, apabila anda perlu memasang sebuah paket, 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

cpulimit adalah sebuah program sederhana yang cuba untuk menyekat penggunaan CPU dari sebuah proses (dinyatakan dalam peratusan, tidak dalam waktu cpu). Hal ini berguna untuk mengendalikan kerja batch, bila anda tidak mahu mereka makan terlalu banyak cpu. Ia tidak bertindak berdasarkan nilai bagus atau hal-hal penjadwalan keutamaan lain, but on the real cpu usage. Juga, ia mampu menyesuaikan diri dengan beban sistem keseluruhan, dinamik dan cepat.

Cara kerjanya

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

1. Tetapan rangkaian
A. Untuk mengkonfigurasi antara muka rangkaian anda dengan ifconfig.
- Static IP Address
Ifconfig [interface_name] [ip_address] netmask [topeng]
Ex :
# Ifconfig eth0 192.168.1.15 netmask 255.255.255.0 siaran 192.168.1.255

To configure the default gateway:
#route add default gateway [Alamat IP] dev [interface_name]
Ex :
#route add default gateway 192.168.1.1 dev eth0
Continue Reading Basic Network Setting Debian



Dapatkan Update terkini

Masukkan email anda:

Follow Me on Twitter

Beli secangkir teh

Adakah anda suka perkhidmatan percuma saya?
Mengapa tidak membeli secangkir teh?
PayPal - The safer, easier way to pay online.

Suroboy di Facebook