Konfigurasi Daemon/Service Linux

On May 26, 2007, in Fedora, Linux, by FX. Eko Budi Kristanto - 1,454 views

Untuk mengaktifkan service saya biasa menggunakan salah satu dari 2 cara berikut:

1. GUI

Pada desktop GNOME, dari menu System -> Administration -> Server Settings -> Services 2. Menggunakan command chkconfig

[root@ibm-eko fxekobudi]# /sbin/chkconfig –levels 35 [nama-service] on

Service yang saya aktifkan pada runlevel 3 dan 5:

  • acpid
  • anacron, atd, crond : penjadwalan untuk run program tertentu
  • apmd : monitor baterai laptop
  • autofs : automount removable media
  • avahi-daemon
  • cpuspeed
  • cups : daemon printer
  • gpm : penggunaan mouse pada command
  • haldaemon
  • httpd : daemon apache web server
  • iptables : firewall
  • irqbalance
  • mcstrans : security enhanced linux
  • mdmonitor dan smartd : monitoring
  • messagebus
  • mysqld : mysql daemon
  • named : Domain Name Servers
  • netfs, nfs, nfslock, smb : daemon untuk NFS dan SAMBA (koneksi dengan mesin Linux dan Windows)
  • network : jaringan
  • portmap : pemetaan port
  • readahead_early dan readehead_later : mempercepat akses program
  • restorecrond
  • squid dan squidGuard : untuk demo aplikasi proxy server
  • sshd : daemon OpenSSH untuk aplikasi remote
  • syslog : daemon log file
  • webmin : daemon webmin
  • xinetd : mengaktifkan SWAT
Tagged with:  

4 Responses to Konfigurasi Daemon/Service Linux

  1. mapays says:
    Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP

    mas, kalo mau makefile smsd dengan cara merubah DB_LIBS:= libfile.la mjd lDB_LIBS:=mysql.la itu gmn ya mas??
    ak kok error trs nich…

    root@mapayshost:/home/mapays/gnokii-0.6.12/smsd# make libmysql.la
    make: mysql_config: Command not found
    /bin/sh ../libtool –mode=compile gcc -o mysql.lo -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\”/usr/local/lib/smsd\” -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include \
    -I../include -c mysql.c
    gcc -g -O2 -I../include -I/usr/X11R6/include -DMODULES_DIR=\”/usr/local/lib/smsd\” -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I../include -c mysql.c -fPIC -DPIC -o .libs/mysql.o
    mysql.c:35:19: mysql.h: No such file or directory
    mysql.c:40: error: syntax error before “mysqlIn”
    mysql.c:40: warning: data definition has no type or storage class
    mysql.c:41: error: syntax error before “mysqlOut”
    mysql.c:41: warning: data definition has no type or storage class
    mysql.c: In function `DB_Look’:
    mysql.c:137: error: `MYSQL_RES’ undeclared (first use in this function)
    mysql.c:137: error: (Each undeclared identifier is reported only once
    mysql.c:137: error: for each function it appears in.)
    mysql.c:137: error: `res1′ undeclared (first use in this function)
    mysql.c:138: error: `MYSQL_ROW’ undeclared (first use in this function)
    mysql.c:138: error: syntax error before “row”
    mysql.c:172: error: `row’ undeclared (first use in this function)
    make: *** [mysql.lo] Error 1
    root@mapayshost:/home/mapays/gnokii-0.6.12/smsd#

    root@mapayshost:/# smsd
    dlopen error: /usr/local/lib/smsd/libpq.so: cannot open shared object file: No such file or directory!
    Cannot load database module pq in directory /usr/local/lib/smsd!
    root@mapayshost:/# smsd -m mysql -u root -d sms
    dlopen error: /usr/local/lib/smsd/libmysql.so: cannot open shared object file: No such file or directory!
    Cannot load database module mysql in directory /usr/local/lib/smsd!

    mapays@mapayshost:/$ smsd
    dlopen error: /usr/local/lib/smsd/libpq.so: cannot open shared object file: No such file or directory!
    Cannot load database module pq in directory /usr/local/lib/smsd!
    mapays@mapayshost:/$ smsd -m mysql -u root -d sms
    dlopen error: /usr/local/lib/smsd/libmysql.so: cannot open shared object file: No such file or directory!
    Cannot load database module mysql in directory /usr/local/lib/smsd!

    pake deve juga error,

    root@mapays@localhost:/home/mapays/gnokii/rpm# alien -i gnokii-devel-0.6.0-1.i386.rpm
    “dpkg: status database area is locked by another process”

    apanya ya mas??

    makasih arahanya,
    newbe, linux…

    FX. Eko Budi Kristanto:
    Wah, sepertinya Mas lebih ahli lho… Jujur saya belum pernah yang beginian Mas… Maaf belum bisa membantu ya. Mungkin ada rekan pembaca lain yang dapat membantu?

  2. mapays says:
    Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP

    ak dah buat database sms, dan buat table inbox & outbox nya,

    setauku gnokii default sama postgre, sedengakan ak pake mysql,
    gmn ya mas???

    thanks again!!

  3. mapays says:
    Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP

    kalo punya gnokii-devel bisa attacth ke mail saya mas..

    suwun!

    FX. Eko Budi Kristanto:
    Googling saja Mas, atau bisa download di sini.

  4. Rudy says:
    Firefox 2.0.0.3 Firefox 2.0.0.3 Windows XP Windows XP

    mas klo mo ngecek dependensi pada linux, software yg cocok apa mas. n download nya dimana.. tolong ya mas.. soalnya aku sedang ngerjain skripsi tentang dependensi pada linux

    FX. Eko Budi Kristanto:
    Jika maksudnya adalah software yang dapat mendeteksi paket apa saja yang dibutuhkan untuk instalasi sebuah paket, maka saya belum pernah menggunakan software yang demikian Mas.. :D Biasanya dulu saya hanya mengandalkan README yang disertakan dalam paket yang mau kita instal (terutama yang berwujud source yang masih harus dikompilasi sendiri – tar.gz). Trus saya instal dan jika nanti diketemukan proses error pada saat instal karena membutuhkan paket yang lainnya (dependensi paket), maka saya instal dulu paket yang dimaksudkan.
    Sekarang kita sudah tidak harus terlalu pusing dengan dependensi ini, karena sudah ada manager paket yang sengaja dibuat untuk mengatasi problem dependensi tersebut. Misalnya pada distro Fedora (yang berbasis RPM), sekarang sudah ada YUM (software package manager) sehingga otomatis akan menginstal dependensi paket yang dibutuhkan.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">