百度360必应搜狗淘宝本站头条
当前位置:网站首页 > 技术文章 > 正文

凝思系统6.0.80系统常用服务启停

haoteby 2025-01-18 19:57 1 浏览


适用范围

linx-6.0.60

解决方案

1. ftp服务

端口:21

服务启停命令

启动:/etc/init.d/proftpd start或systemctl start proftpd.service

停止:/etc/init.d/proftpd stop 或systemctl stop proftpd.service

重启:/etc/init.d/proftpd restart或systemctl restart proftpd.service

查看状态:/etc/init.d/proftpd status或systemctl status proftpd.service

开机自启和关闭命令

开机自启:systemctl enable proftpd.service

开机不启动:systemctl disable proftpd.service

2. ssh服务

端口:22

服务启停命令

启动:/etc/init.d/ssh start或systemctl start ssh.service

停止:/etc/init.d/ssh stop 或systemctl stop ssh.service

重启:/etc/init.d/ssh restart或systemctl restart ssh.service

查看状态:/etc/init.d/ssh status或systemctl status ssh.service

开机自启和关闭命令

开机自启:systemctl enable ssh.service

开机不启动:systemctl disable ssh.service

3. networking网络服务

服务启停命令

启动:/etc/init.d/networking start或systemctl start networking.service

停止:/etc/init.d/networking stop 或systemctl stop networking.service

重启:/etc/init.d/networking restart或systemctl restart networking.service

查看状态:/etc/init.d/networking status或systemctl status networking.service

开机自启和关闭命令

开机自启:systemctl enable networking.service

开机不启动:systemctl disable networking.service

4. telnet服务

端口:23

服务启停

停止:sed -i "/^telnet/s/^/#/" /etc/inetd.conf

/etc/init.d/openbsd-inetd restart

开启:sed -i "/^#telnet/s/#//" /etc/inetd.conf

/etc/init.d/openbsd-inetd restart

5. dns服务

端口:53

服务启停

启动:/etc/init.d/bind9 start或systemctl start bind9.service

停止:/etc/init.d/bind9 stop 或systemctl stop bind9.service

重启:/etc/init.d/bind9 restart或systemctl restart bind9.service

查看状态:/etc/init.d/bind9 status或systemctl status bind9.service

开机自启和关闭命令

开机自启:systemctl enable bind9.service

开机不启动:systemctl disable bind9.service

6. apache服务

端口:80

服务启停

启动:/etc/init.d/apache2 start或systemctl start apache2.service

停止:/etc/init.d/apache2 stop 或systemctl stop apache2.service

重启:/etc/init.d/apache2 restart或systemctl restart apache2.service

查看状态:/etc/init.d/apache2 status或systemctl status apache2.service

开机自启和关闭命令

开机自启:systemctl enable apache2.service

开机不启动:systemctl disable apache2.service

7. tomcat服务

端口:8080

服务启停

启动:/etc/init.d/tomcat7 start或systemctl start tomcat7.service

停止:/etc/init.d/tomcat7 stop 或systemctl stop tomcat7.service

重启:/etc/init.d/tomcat7 restart或systemctl restart tomcat7.service

查看状态:/etc/init.d/tomcat7 status或systemctl status tomcat7.service

开机自启和关闭命令

开机自启:systemctl enable tomcat7.service

开机不启动:systemctl disable tomcat7.service

8. rpcbind服务

端口:111

服务启停

启动:/etc/init.d/rpcbind start或systemctl start rpcbind.service

停止:/etc/init.d/rpcbind stop 或systemctl stop rpcbind.service

重启:/etc/init.d/rpcbind restart或systemctl restart rpcbind.service

查看状态:/etc/init.d/rpcbind status或systemctl status rpcbind.service

开机自启和关闭命令

开机自启:systemctl enable rpcbind.service

开机不启动:systemctl disable rpcbind.service

9. ntp服务

端口:123

服务启停

启动:/etc/init.d/ntp start或systemctl start ntp.service

停止:/etc/init.d/ntp stop 或systemctl stop ntp.service

重启:/etc/init.d/ntp restart或systemctl restart ntp.service

查看状态:/etc/init.d/ntp status或systemctl status ntp.service

开机自启和关闭命令

开机自启:systemctl enable ntp.service

开机不启动:systemctl disable ntp.service

10. samba服务

端口:137、138、139、445

服务启停

启动:/etc/init.d/samba start或systemctl start samba.service

/etc/init.d/nmbd start或systemctl start nmbd.service

/etc/init.d/smbd start或systemctl start smbd.service

停止:/etc/init.d/samba stop 或systemctl stop samba.service

/etc/init.d/nmbd stop 或systemctl stop nmbd.service

/etc/init.d/smbd stop 或systemctl stop smbd.service

重启:/etc/init.d/ntp restart或systemctl restart ntp.service

/etc/init.d/nmbd restart或systemctl restart nmbd.service

/etc/init.d/smbd restart或systemctl restart smbd.service

查看状态:/etc/init.d/samba status或systemctl status samba.service

/etc/init.d/nmbd status或systemctl status nmbd.service

/etc/init.d/smbd status或systemctl status smbd.service

开机自启和关闭命令

开机自启:systemctl enable samba.service

systemctl enable nmbd.service

systemctl enable smbd.service

开机不启动:systemctl disable samba.service

systemctl disable nmbd.service

systemctl disable smbd.service

11. lightdm图形服务

服务启停

启动:/etc/init.d/lightdm start或systemctl start lightdm.service

停止:/etc/init.d/lightdm stop 或systemctl stop lightdm.service

重启:/etc/init.d/lightdm restart或systemctl restart lightdm.service

查看状态:/etc/init.d/lightdm status或systemctl status lightdm.service

12. cron计划任务

服务启停

启动:/etc/init.d/cron start或systemctl start cron.service

停止:/etc/init.d/cron stop 或systemctl stop cron.service

重启:/etc/init.d/cron restart或systemctl restart cron.service

查看状态:/etc/init.d/cron status或systemctl status cron.service

13. mysql服务

端口:3306

服务启停

启动:/etc/init.d/mysql start或systemctl start mysql.service

停止:/etc/init.d/mysql stop 或systemctl stop mysql.service

重启:/etc/init.d/mysql restart或systemctl restart mysql.service

查看状态:/etc/init.d/mysql status或systemctl status mysql.service

开机自启和关闭命令

开机自启:systemctl enable mysql.service

开机不启动:systemctl disable mysql.service

14. rsyslog日志服务

服务启停

启动:/etc/init.d/rsyslog start或systemctl start rsyslog.service

停止:/etc/init.d/rsyslog stop 或systemctl stop rsyslog.service

重启:/etc/init.d/rsyslog restart或systemctl restart rsyslog.service

查看状态:/etc/init.d/rsyslog status或systemctl status rsyslog.service

15. mcelog日志服务

服务启停

启动:/etc/init.d/mcelog start或systemctl start mcelog.service

停止:/etc/init.d/mcelog stop 或systemctl stop mcelog.service

重启:/etc/init.d/mcelog restart或systemctl restart mcelog.service

查看状态:/etc/init.d/mcelog status或systemctl status mcelog.service

16. cups打印机服务

端口:631

服务启停

启动:/etc/init.d/cups start或systemctl start cups.service

停止:/etc/init.d/cups stop 或systemctl stop cups.service

重启:/etc/init.d/cups restart或systemctl restart cups.service

查看状态:/etc/init.d/cups status或systemctl status cups.service

开机自启和关闭命令

开机自启:systemctl enable cups.service

开机不启动:systemctl disable cups.service

17. nfs服务

端口:2049

服务启停

启动:/etc/init.d/nfs-common start或systemctl start nfs-common.service

/etc/init.d/nfs-kernel-server start或systemctl start nfs-kernel-server.service

停止:/etc/init.d/nfs-common stop 或systemctl stop nfs-common.service

/etc/init.d/nfs-kernel-server stop 或systemctl stop nfs-kernel-server.service

重启:/etc/init.d/nfs-common restart或systemctl restart nfs-common.service

/etc/init.d/nfs-kernel-server restart或systemctl restart nfs-kernel-server.service

查看状态:/etc/init.d/nfs-common status或systemctl status nfs-common.service

/etc/init.d/nfs-kernel-server status或systemctl status nfs-kernel-server.service

开机自启和关闭命令

开机自启:systemctl enable nfs-common.service

systemctl enable nfs-kernel-server.service

开机不启动:systemctl disable nfs-common.service

systemctl disable nfs-kernel-server.service

18. lwresd服务

端口:921

服务启停

启动:/etc/init.d/lwresd start或systemctl start lwresd.service

停止:/etc/init.d/lwresd stop 或systemctl stop lwresd.service

重启:/etc/init.d/lwresd restart或systemctl restart lwresd.service

查看状态:/etc/init.d/lwresd status或systemctl status lwresd.service

开机自启和关闭命令

开机自启:systemctl enable lwresd.service

开机不启动:systemctl disable lwresd.service

19. postfix服务

服务启停

启动:/etc/init.d/postfix start或systemctl start postfix.service

停止:/etc/init.d/postfix stop 或systemctl stop postfix.service

重启:/etc/init.d/postfix restart或systemctl restart postfix.service

查看状态:/etc/init.d/postfix status或systemctl status postfix.service

开机自启和关闭命令

开机自启:systemctl enable postfix.service

开机不启动:systemctl disable postfix.service

20. avahi-daemon服务

服务启停

启动:/etc/init.d/avahi-daemon start或systemctl start avahi-daemon.service

停止:/etc/init.d/avahi-daemon stop 或systemctl stop avahi-daemon.service

重启:/etc/init.d/avahi-daemon restart或systemctl restart avahi-daemon.service

查看状态:/etc/init.d/avahi-daemon status或systemctl status avahi-daemon.service

开机自启和关闭命令

开机自启:systemctl enable avahi-daemon.service

开机不启动:systemctl disable avahi-daemon.service

相关推荐

简单Labview实操案例

有几位条友私信我说Labview是怎么学的,怎么才能学好Labview,今天给大家简单介绍一下,如果想学上位机,Labview是相对来说比较容易上手的,而且开发速度也比较快,但是运行时候比较吃内存,...

关于LabVIEW用于仪器测控的自动测试程序的程序框架的选择问题!

有很长一段时间没有在公众号平台上输出、总结关于LabVIEW的知识文字内容了!主要是这段时间自己本职工作任务甚为繁重,加上各种家庭事宜的牵绊,耗费了过多的时间和精力,也就无力及时更新了。今天是端午节假...

LabVIEW编程基础:分割条控件的使用

1、分割条控件简介同其它高级编程语言类似,在LabVIEW中分割条控件也是界面设计中常用的一种控件元素,利用分割条控件可以将前面板划分为多个独立的区域,每个区域都是一个单独的窗格,这些窗格具有前面板的...

csgo一直显示正在连接到csgo网络怎么办?三招帮你解决

  CSGO是一款射击类的游戏,它的全名叫反恐精英:全球攻势,是一款由VALVE与HiddenPathEntertainment合作开发、ValveSoftware发行的第一人称射击游戏,相信很...

cs1.6没有bot怎么办

Hi~大家好啊,这里是聚合游戏,每天为你分享游戏相关的内容,喜欢的快来关注哟~...

《反恐精英:全球攻势2》 漏洞暴露玩家的IP地址

#文章首发挑战赛#据报道,在全球知名的电子游戏——CS2(《反恐精英:全球攻势2》)中存在一个HTML注入漏洞,这个漏洞被广泛利用来在游戏中注入图片并获取其他玩家的IP地址。...

《电子宠物》《007黄金眼》《雷神之锤》入选世界电子游戏名人堂

世界电子游戏名人堂5月8日公布了新的四位入选者《防卫者》《电子宠物》《007黄金眼》和《雷神之锤》,以向改变游戏行业规则的经典游戏致敬。世界电子游戏名人堂每年都会表彰那些具有持久热度并对视频游戏行业或...

V社修复《反恐精英2》游戏漏洞:可抓取玩家IP地址、发起XSS攻击

IT之家12月12日消息,Valve旗下《反恐精英2》游戏被曝光新的安全漏洞,攻击者通过注入恶意代码来抓取玩家的IP地址,并能对同一游戏大厅中的所有玩家发起跨站脚本攻击(XSS)。攻击...

粉丝自制《CS》1.6重制版将于2025年登陆Steam

基于Valve官方起源引擎SDK,由多位“CSPromod”粉丝项目前开发人员从头构建的《反恐精英》1.6版本重制版《CS:Legacy》日前宣布将于2025年在Steam发布。开发团...

知名网游源代码泄漏 ,外挂潮将来?

SteamDatabase近日发布消息称Valve旗下游戏《反恐精英:全球攻势》(CS:GO)与《军团要塞2》(TF2)的源代码疑遭泄露。据了解,游戏源代码如果泄露的话,黑客可以更为轻松地开发出外挂,...

Pandas每日函数学习之apply函数

...

求斐波那契数列(Fibonacci Numbers)算法居然有9种,你知道几种?

ByLongLuo斐波那契数列...

三维基因组:Loop结构 差异分析(2)

通过聚合峰分析进行可视化既然已经找出了“WT”和“FS”条件之间的差异loop结构,就可以利用聚合峰分析(APA)来直观地展示loop结构调用的质量。APA是一种以Hi-C数据中的中心loop像...

用Excel制作动态图表(动态名称法)

动态图表也称交互式图表,指图表的内容可以随用户的选择而变化,是图表分析中比较高级的形式。使用动态图表能够突出重点数据,避免被其他不需要的数据干扰,从而提高数据分析效率。一个好的动态图表,可以让人从大量...

Prometheus PromQL语法简介

...