Jump to content
Sign in to follow this  
gengstapo

[wta] Turbolinux10

Recommended Posts

[root@anip root]# chkconfig level 3 httpd on

chkconfig version 1.3.8 - Copyright © 1997-2000 Red Hat, Inc.

This may be freely redistributed under the terms of the GNU Public License.

usage:  chkconfig --list [name]

        chkconfig --add <name>

        chkconfig --del <name>

        chkconfig [--level <levels>] <name> <on|off|reset>)

[root@anip root]#

* aku dah run command chkconfig kat atas, tapi dia mcm tuh gaks. ttp paparkan usage. mcm maner nak buat nih? sad.gif

Share this post


Link to post
Share on other sites

* aku dah run command chkconfig kat atas, tapi dia mcm tuh gaks. ttp paparkan usage. mcm maner nak buat nih? sad.gif

tgk balik example dia betul2.. ikut sebijik2.. edit tang tertentu je smile.gif

Share this post


Link to post
Share on other sites

cuba

chkconfig --level 3 httpd on

"--" tue untuk option yang pakai satu perkataan

"-" tue untu option yang pakai satu huruf..

smile.gif

** aku dah masuk command mcm tuh sebijik sama. aku baru reboot pc aku nih, so, mcm mana nak ckeck status service httpd nih automatik ON??

Share this post


Link to post
Share on other sites

ps aux | grep httpd

atau

ps aux | grep apache

pastikan ada baris ni.. ( nih contoh kat FreeBSD)

[[email protected]]# ps auwx | grep httpd

root 60645 0.0 0.1 10456 112 ?? Ss 17May05 0:40.48 /usr/local/sbin/httpd -DSSL

www 60842 0.0 0.9 10784 1184 ?? I 17May05 0:02.70 /usr/local/sbin/httpd -DSSL

www 60843 0.0 0.9 10820 1192 ?? I 17May05 0:02.74 /usr/local/sbin/httpd -DSSL

www 60844 0.0 0.9 10788 1184 ?? I 17May05 0:02.98 /usr/local/sbin/httpd -DSSL

www 60845 0.0 0.6 10720 696 ?? I 17May05 0:02.91 /usr/local/sbin/httpd -DSSL

www 60846 0.0 0.9 10732 1128 ?? I 17May05 0:02.95 /usr/local/sbin/httpd -DSSL

www 60847 0.0 0.9 10792 1144 ?? I 17May05 0:03.21 /usr/local/sbin/httpd -DSSL

www 60848 0.0 0.9 10752 1140 ?? I 17May05 0:03.19 /usr/local/sbin/httpd -DSSL

www 60849 0.0 0.9 10752 1160 ?? I 17May05 0:03.36 /usr/local/sbin/httpd -DSSL

www 67517 0.0 0.9 10832 1140 ?? I 17May05 0:03.34 /usr/local/sbin/httpd -DSSL

www 68321 0.0 0.9 10776 1156 ?? I 17May05 0:03.43 /usr/local/sbin/httpd -DSSL

[[email protected]]#

Share this post


Link to post
Share on other sites

[root@localhost root]# ps aux | grep httpd

root      6583  0.0  0.1  1748  584 pts/15  S    09:46  0:00 grep httpd

[root@localhost root]# ps aux | grep apache

root      6585  0.0  0.1  1748  580 pts/15  R    09:46  0:00 grep apache

[root@localhost root]#

** aku dah run command tuh, tp output mcm yg kat atas tuh. so, maknanya tak ON lagik la httpd dlm linux aku nih kan?

Share this post


Link to post
Share on other sites

** aku dah run command tuh, tp output mcm yg kat atas tuh. so, maknanya tak ON lagik la httpd dlm linux aku nih kan?

dah running tu..

cuba try test command nuh

#/etc/init.d/httpd status

Share this post


Link to post
Share on other sites

dah running tu..

cuba try test command nuh

#/etc/init.d/httpd status

belum running la pakcik....

tuh dia grep command ko ko baru issue smile.gif.. command yg ko pipe "grep apache" ngan "grep httpd" je smile.gif

Share this post


Link to post
Share on other sites

blum running lerr.. mcm maner nak buek nih?? sad.gif

[root@localhost root]# /etc/init.d/httpd status

httpd is stopped

[root@localhost root]#

Share this post


Link to post
Share on other sites

[root@localhost root]# chkconfig httpd on

[root@localhost root]# /etc/init.d/httpd status

httpd is stopped

[root@localhost root]#

* nih output yg dipaparkan. aku tak reboot atau ON kan aku nyer apache. mcm maner erkk?

Share this post


Link to post
Share on other sites

[root@localhost root]# /etc/init.d/httpd status

httpd (pid 1174 1173 1172 1171 1170 1169 1154) is running...

** hurmm.. tadi aku reboot. pastu sesajer usha dia nyer apache status. kat atas tuh output yg dikeluarkan. tp skang masalahnyerr mana satu command yg betul? boleh tak kita semak command sebenar yg berjaya set apache nih automatik ON?

** command yg aku guna tadi :-

1. chkconfig --level 35 httpd on

2. chkconfig httpd on

Share this post


Link to post
Share on other sites

belum running la pakcik....

tuh dia grep command ko ko baru issue smile.gif.. command yg ko pipe "grep apache" ngan "grep httpd" je smile.gif

sorry silap info td biggrin.gif

chkconfig --level 345 httpd on
yang ni ko nak bagi servive ni autostart after reboot untuk runlevel 3,4,5
service httpd start
&
/etc/init.d/httpd on
yang ni ko startkan service httpd tu..
/etc/init.d/httpd status

nak check status service

Share this post


Link to post
Share on other sites

allo gurus2

nih ada soklan sket nih

[root@stapo opt]# ymessenger

Segmentation fault (core dumped)

** apa maksud dia nih?? mcm mana nak settle ehh?

Edited by gengstapo2

Share this post


Link to post
Share on other sites

pakai YM for linux ke ?

cuba pakai GAIM...

Share this post


Link to post
Share on other sites

pakai YM for linux ke ?

cuba pakai GAIM...

** ha ah. aku pakai YM utk linux nih. ntah tak dapek plaks? GAIM amende??

Yang aku nampak ko try run dalam root...mungkin sbb tu, guna user utk pakai sebarang messanger program....

** dlm pc nih takda user. cuma Root jek..

Share this post


Link to post
Share on other sites

ello geng, aku dah settle prob tuh.

nih ada pula lagi masalah baru aku nih. dlm RedHat 7.3, mcm mana cara paling berkesan utk detect/ read USB pendrive??

aku dah try mcm yg dlm forum sebelum2 nih tp tak dapek lerr.

Share this post


Link to post
Share on other sites

upgrade kernel 2.6 ..

** hurmm kalau aku upgrade kernel, mouse scrolling boleh sapot tak??

** kat mana nak download kernel 2.6 nih ehh??

Share this post


Link to post
Share on other sites

** hurmm kalau aku upgrade kernel, mouse scrolling boleh sapot tak??

Kalo 2.4 boleh yang baru pon mesti boleh.. Janji guna driver yang betul dan set dengan betul..

smile.gif

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...