凝思系统6.0.80系统常用服务启停
nanshan 2025-05-26 17:44 20 浏览 0 评论
适用范围
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
相关推荐
- 微软发布Win11/10 ISO镜像Defender更新,提升系统初始安全性
-
IT之家7月27日消息,除了Setup及WinRE更新外,NeoWin发现微软本周还针对Windows11/10/Server安装镜像发布了新的Defender安全智能...
- 微软革新Windows装机体验:内置应用全面升级,安全与便捷双提升
-
Windows内置应用迎来重大变革:更安全、更快速的初始体验如果您曾亲自安装过Windows11,或许注意到其内置应用并非开箱即用,而是一些占位程序,需要首次运行时从微软应用商店(Microsoft...
- Hotpatch继续扩展 现在更多Windows PC在更新后无需重启
-
Windows11最近从其服务器版本中获得了一项非常重要的功能:Windows热补丁。该功能旨在通过允许操作系统在无需重启的情况下安装重要的安全更新来最大限度地减少停机时间和中断。最初,微软在...
- 微软承认Windows Server六月更新存在BUG:导致DHCP服务器故障
-
IT之家6月17日消息,科技媒体WindowsLatest今天(6月17日)发布博文,报道称微软承认6月WindowsServer更新存在BUG,可能导致DHCP服...
- Windows Server2019安装Hyper-V的2个简单方法!
-
关于WindowsServer2019WindowsServer2019是微软发布的服务器操作系统,是WindowsServer2016的后续版本。它包含了许多新的特性和改进,适用于数据中心...
- 如何在不满足系统要求的旧计算机上安装 Windows 11 24H2
-
如果你想了解这个安装工具以及安装方法(老飞摄影微信公众号内提供安装包下载),请完整的看完后面的文字,以避免在安装过程当中出现问题。Windows11通常需要某些硬件功能,例如TPM和安全启动,...
- 第 137 期:微软表示 Windows 11 24H2 是迄今为止最稳定的版本
-
就在刚刚,微软“大言不惭”地声称,Windows1124H2是迄今为止最可靠的Windows版本。我们并不是说它很糟糕,因为我们每天的工作中也在使用它。上述言论只是一份微软的一份官方文件的一...
- Windows 11 将推出带有“高级”选项的新设置页面
-
Windows11即将迎来一个包含一些高级功能的全新“设置”页面。严格来说,它并非全新功能。它更像是“开发者”栏目的重新设计,用户和开发者可以在其中调整各种附加功能。微软可能明白这些东西不仅对开发...
- Windows server 2025 重复数据删除
-
一、概述windowsserver中的重复数据删除功能从windowsserver2012就开始支持了。Windowsserver中默认没有安装重复数据删除功能。在磁盘分区(卷)上启用重复...
- Windows Server 2025预览版迎来更新,微软改善Insiders测试体验
-
在发布WindowsServer的build26040版本之际,微软公布了该产品的官方名称:WindowsServer2025。一同推出的,还有Windows11WindowsInsid...
- 升不升?Win11 24H2大范围推送了
-
微软在其官方支持文档中宣布,24H2版现在已经开始向运行Windows11原始版本、22H2和23H2版的合格设备推送。Windows11的24H2更新现已进入新的可用性阶段,这意味着更多符合条件...
- 微软发布Win11/10/Server安装镜像Defender更新
-
IT之家6月22日消息,继上个月为Lumma发布更新后,微软本月也为Windows11/10/Server安装镜像发布了新的Defender更新。此更新包很有必要,因为Wi...
- 第 81 期:微软最近的更新给 Windows Server 带来了 DHCP 问题
-
近日,微软确认,DHCP服务器服务可能会在WindowsServer安装2025年6月更新后停止响应或拒绝连接。DHCP问题会影响WindowsServer2025(KB50...
- windws server 2012 R2 虚拟机windows server2019 经常断网事件
-
故障现象:在windowsserver2012R2的虚拟主机上面搭建一个Windowsserver2019的虚拟机系统用来做域控。安装完设置好防火墙和IP,经过测试是可以ping同正常访问...
- 微软扩展热补丁部署,现覆盖ARM架构Win11 24H2设备
-
IT之家7月9日消息,科技媒体NeoWin今天(7月9日)发布博文,报道称微软扩大热补丁(WindowsHotpatching)覆盖范围,在AMD和英特尔处理器设备外,现覆盖支...
你 发表评论:
欢迎- 一周热门
-
-
UOS服务器操作系统防火墙设置(uos20关闭防火墙)
-
极空间如何无损移机,新Z4 Pro又有哪些升级?极空间Z4 Pro深度体验
-
手机如何设置与显示准确时间的详细指南
-
NAS:DS video/DS file/DS photo等群晖移动端APP远程访问的教程
-
如何在安装前及安装后修改黑群晖的Mac地址和Sn系列号
-
如何修复用户配置文件服务在 WINDOWS 上登录失败的问题
-
一加手机与电脑互传文件的便捷方法FileDash
-
日本海上自卫队的军衔制度(日本海上自卫队的军衔制度是什么)
-
10个免费文件中转服务站,分享文件简单方便,你知道几个?
-
爱折腾的特斯拉车主必看!手把手教你TESLAMATE的备份和恢复
-
- 最近发表
-
- 微软发布Win11/10 ISO镜像Defender更新,提升系统初始安全性
- 微软革新Windows装机体验:内置应用全面升级,安全与便捷双提升
- Hotpatch继续扩展 现在更多Windows PC在更新后无需重启
- 微软承认Windows Server六月更新存在BUG:导致DHCP服务器故障
- Windows Server2019安装Hyper-V的2个简单方法!
- 如何在不满足系统要求的旧计算机上安装 Windows 11 24H2
- 第 137 期:微软表示 Windows 11 24H2 是迄今为止最稳定的版本
- Windows 11 将推出带有“高级”选项的新设置页面
- Windows server 2025 重复数据删除
- Windows Server 2025预览版迎来更新,微软改善Insiders测试体验
- 标签列表
-
- linux 查询端口号 (58)
- docker映射容器目录到宿主机 (66)
- 杀端口 (60)
- yum更换阿里源 (62)
- internet explorer 增强的安全配置已启用 (65)
- linux自动挂载 (56)
- 禁用selinux (55)
- sysv-rc-conf (69)
- ubuntu防火墙状态查看 (64)
- windows server 2022激活密钥 (56)
- 无法与服务器建立安全连接是什么意思 (74)
- 443/80端口被占用怎么解决 (56)
- ping无法访问目标主机怎么解决 (58)
- fdatasync (59)
- 405 not allowed (56)
- 免备案虚拟主机zxhost (55)
- linux根据pid查看进程 (60)
- dhcp工具 (62)
- mysql 1045 (57)
- 宝塔远程工具 (56)
- ssh服务器拒绝了密码 请再试一次 (56)
- ubuntu卸载docker (56)
- linux查看nginx状态 (63)
- tomcat 乱码 (76)
- 2008r2激活序列号 (65)