Auto Start httpd (apache)

in #blog7 years ago (edited)


[root@deniserv ~]# service httpd start

Tunggu sampai selesai

[root@deniserv ~]# service mysqld start

Tunggu sampai selesai


Jika anda belum yakin apakah keduanya sudah aktif, anda bisa periksa dengan cara:


[root@deniserv ~]# service httpd status

[root@deniserv ~]# service mysqld status


Atau dengan cara :


[root@deniserv ~]# ps axf | grep httpd

[root@deniserv ~]# ps axf | grep mysqld


Agar setiap restart server keduanya langsung diaktifkan, anda perlu mencantumkan perintah di /etc/rc.local. caranya :

[root@deniserv ~]# echo '/etc/rc.d/init.d/httpd start' >> /etc/rc.local

[root@deniserv ~]# echo '/etc/rc.d/init.d/mysqld start' >> /etc/rc.local


Jika ini anda lakukan, maka setiap anda restart, secara otomatis httpd (apache) dan mysqld (MySQL) akan diaktifkan.


old post

Sort:  

Hi. I am a volunteer bot for @resteembot that upvoted you.
Your post was chosen at random, as part of the advertisment campaign for @resteembot.
@resteembot is meant to help minnows get noticed by re-steeming their posts


To use the bot, one must follow it for at least 3 hours, and then make a transaction where the memo is the url of the post.
If you want to learn more - read the introduction post of @resteembot.
If you want help spread the word - read the advertisment program post.


Steem ON!