NUBSolutions

Just another WordPress.com weblog

Mengatur Service

Posted by nubsolutions on May 1, 2009

Untuk melihat seluruh status services

[root@localhost etc]# chkconfig –list

ConsoleKit
acpid
anacron
atd

0:off 1:off 2:on 3:on 4:on 5:on 6:off
0:off 1:off 2:on 3:on 4:on 5:on 6:off
0:off 1:off 2:on 3:on 4:on 5:on 6:off
0:off 1:off 2:off 3:on 4:on 5:on 6:off

Jika ingin spesifik
[root@localhost etc]# chkconfig –list mysqld

Aktifasi services tertentu
[root@localhost etc]# chkconfig mysqld on

[root@localhost etc]# chkconfig –list mysqld

mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off

jika on maka secara otomatis runlevel 2,3,4 & 5 akan diaktifkan

jika off maka secara otomatis runlevel 2,3,4 & 5 akan dimatikan

[root@localhost etc]# chkconfig mysqld off
[root@localhost etc]# chkconfig –list mysqld

mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: