linux入门基础知识学习 linux服务器常用命令全集

基本使用的是linux系统内部的服务利用apt 或者yum方式安装的服务可通过以下的方式进行查看,具体系统之间可能存在差异
1.mysql服务
service mysql status//查看状态service mysql start //启动service mysql restart //重新启动service mysql stop //关闭2.redis服务
service redis-server statusservice redis-server startservice redis-server stopservice redis-server restart3.ntp服务
service ntpd startservice ntpd statusservice ntpd reload4.ssh服务
service sshd statusservice sshd stopservice sshd restart5.nginx服务
service nginx statusservice nginx restartservice ngnix reloadservice nginx stop6.FTP服务
【linux入门基础知识学习 linux服务器常用命令全集】 systemctl status vsftpd.service systemctl start vsftpd.service systemctl stop vsftpd.service


    以上关于本文的内容,仅作参考!温馨提示:如遇健康、疾病相关的问题,请您及时就医或请专业人士给予相关指导!

    「四川龙网」www.sichuanlong.com小编还为您精选了以下内容,希望对您有所帮助: