亚洲精品久久久久久第一页-人妻少妇精彩视品一区二区三区-91国产自拍免费视频-免费一级a在线播放视频正片-少妇天天日天天射天天爽-国产大屁股喷水视频在线观看-操美女骚穴抽插性爱视频-亚洲 欧美 中文字幕 丝袜-成人免费无码片在线观看

在服務器上搭建網(wǎng)站教程 云服務器建站步驟


在服務器上搭建網(wǎng)站教程 云服務器建站步驟

文章插圖
剛買了阿里云ECS云服務器,想搭建自己網(wǎng)站
前提 centos服務管理systemctl 是管制服務的主要工具,它整合了chkconfig 與 service功能于一體 。
systemctl is-enabled iptables.service
systemctl is-enabled servicename.service #查詢服務是否開機啟動
systemctl enable *.service #開機運行服務
systemctl disable *.service #取消開機運行
systemctl start *.service #啟動服務
systemctl stop *.service #停止服務
systemctl restart *.service #重啟服務
systemctl reload *.service #重新加載服務配置文件
systemctl status *.service #查詢服務運行狀態(tài)
systemctl –failed #顯示啟動失敗的服務
注:*代表某個服務的名字,如http的服務名為httpd
例如在CentOS 7 上安裝http
[root@CentOS7 ~]# yum -y install httpd
啟動服務(等同于service httpd start)
systemctl start httpd.service
停止服務(等同于service httpd stop)
systemctl stop httpd.service
重啟服務(等同于service httpd restart)
systemctl restart httpd.service
查看服務是否運行(等同于service httpd status)
systemctl status httpd.service
開機自啟動服務(等同于chkconfig httpd on)
systemctl enable httpd.service
開機時禁用服務(等同于chkconfig httpd on)
systemctl disable httpd.service
查看服務是否開機啟動 (等同于chkconfig –list)
一 搭建LNMP環(huán)境使用了阿里云這篇文檔
https://help.aliyun.com/document_detail/97251.html?spm=a2c4g.11186623.6.1154.45217e89won5pW


    以上關于本文的內(nèi)容,僅作參考!溫馨提示:如遇健康、疾病相關的問題,請您及時就醫(yī)或請專業(yè)人士給予相關指導!

    「愛刨根生活網(wǎng)」www.malaban59.cn小編還為您精選了以下內(nèi)容,希望對您有所幫助: