« lv インストール | メイン | jquery.js:2052 Uncaught TypeError: X[g].exec is not a function »

2016年04月09日

centos7から起動方法が・・・

/etc/init.d/以下にhttpdとかがない。

めんどくせー変更するなよ・・・


#電源投入起動か調べる
systemctl is-enabled httpd

#電源投入後起動にする
systemctl enabled httpd

#電源投入後起動しない
systemctl disable httpd

#今すぐスタートする
systemctl start httpd

#今すぐ止めるする
systemctl stop httpd

#電源投入後の起動設定一覧を見る(chkcinfig --list 的な?)
systemctl list-unit-files|

投稿者 muuming : 2016年04月09日 06:05