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

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

nanshan 2025-05-26 17:44 13 浏览 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

相关推荐

教你一个解决手机卡顿的方法(10秒解决手机卡顿问题)

我们的手机天天刷头条,看视频,用了一阶段时间以后,就时不时的发生卡顿现象。昨天我的手机就发现了这个问题。友友们,你们遇到过这样的问题吗?你们都是怎样解决的?我看了一眼我的粉丝情况,头条君给我分析的很精...

手机视频缓存清理,3步彻底清空,告别卡顿

在我们使用手机观看视频的过程中,经常会产生大量的缓存垃圾,这些垃圾文件不仅占用了手机的存储空间,还可能导致手机卡顿和运行缓慢。然而,你知道如何彻底清空手机的视频缓存,让手机恢复流畅的使用体验吗?在本文...

关手机这个开关,轻松提升流畅度!

关闭手机这个开关,跟新买的一样流畅。手机不要再清理垃圾了,只要关闭这个开关,手机就会和新买的差不多,丝滑流畅不卡顿。其实抖音里就隐藏着一个小开关,每天刷过的视频都会保存在手机里,如果一直不清理,手机就...

如何清理今日头条和西瓜视频的内存,让手机流畅不卡顿?

对于老年人而言,今日头条和西瓜视频能带来丰富的资讯与娱乐。然而,随着使用时间的增加,这些应用会占用大量手机内存,致使手机运行卡顿。那该如何解决呢?接下来,我将用最简单易懂的方式教老年人清理今日头条和西...

视频在线如何转换格式?好用不卡顿的三种转换办法

转换视频格式目前来说已经是很熟练的操作了,但是还有些用户可能还是不知道,小编今天就特意给大家带来一些小众才知道的转换教程,让新手也能快速的上手去转换视频格式,以后获取到视频就不怕内容丢失了,视频的格式...

如何把视频慢放处理?这几个慢放方法记得收藏

如何把视频慢放处理?如果你想让视频慢放,可能是因为你想放慢一些精彩的瞬间,或者你想制作一个慢动作视频。在这篇文章中,我们将介绍一些调速方法,这些方法可以有效地调整视频速度,一起来学习一下吧。方法一:使...

如何清理看过的视频,释放垃圾,让手机更流畅?

现在谁的手机上没几个短视频平台,无聊时就会刷别人的视频。可您知道吗?我们看过的内容都会被自动保存在手机里,而且很耗内存。如果长时间不释放,手机就会出现各种问题,其中最突出的就是反应慢。相信很多老年人的...

手机掉帧是怎么回事?刷视频的时候经常掉帧卡顿

手机掉帧是指在运行应用或视频时,画面出现卡顿、不流畅的现象,通常由硬件性能不足、软件优化不佳、内存占用过高、网络问题或设备过热等因素引起。尤其是在刷视频时,掉帧问题可能更为明显,以下是具体原因及解决方...

拍视频画面卡顿不流畅,原来是相机设置错误 #短视频拍摄

拍摄视频时,应该选择哪种快门速度?许多新手朋友可能会认为,快门速度越高,画面就越清晰,实则不然。因为拍摄视频时,需要考虑一个问题,即动态模糊。例如,如果设置为24帧/秒,那么每秒钟会拍摄24张图片。如...

手机卡顿最大原因#视频太卡怎么变流畅

抖音这几个开关是手机卡顿的最大原因。你是不是也会经常遇到刷视频的时候,打开一个视频之后老半天还在那转着圈圈,总觉得手机没有之前流畅了。这就说明你的手机占用的内存太多了,导致手机卡顿,使用不流畅。使用手...

为啥你家的玩游戏和刷视频经常性的会卡,那是你不懂这些小妙招

本内容来源于@什么值得买APP,观点仅代表作者本人|作者:暴走的黄小猪说到网速有不少的值友都有一个共同点,那就是“卡”,那是你根本没体验过啥叫真正的网速啊,全屋零四条网络报表也花不了几个钱你们的方法...

电脑看视频卡顿有什么解决方法?(电脑看视频画面卡顿是什么原因)

电脑看视频卡顿的原因可能多种多样,包括硬件性能不足、网络问题、软件设置不当等。以下是一些常见的解决方法,帮助你改善视频播放的流畅度:一、硬件方面1.检查硬件性能:如果电脑配置较低,尤其是CPU、内存或...

手机Wi-Fi满格但视频卡顿,你需要这样解决

累了一天的打工人回家拿出手机准备玩玩游戏,看看电影时,发现网络异常卡顿,但手机又显示Wi-Fi信号满格,当咱们遇到此类问题时,这些动作能让网络恢复正常,方法如下。一、重启路由器和光猫很多家庭在安装好路...

视频越刷越卡?原来是路由器开启了这个功能,关闭方法来了

应该很多小伙伴都有过类似的经历,就是在家里长时间刷视频或者看剧的时候,网速好像会越来越慢,视频总是要加载。手机本身可能是一部分原因,但路由器也会影响,你知道吗?当我们在刷视频的,路由器会悄悄地开启大量...

一招解决视频卡顿的问题,改变发布渠道后,结果香了

最近一段时间拍了很多美景视频,编辑发布到头条后,有时一直显示在缓冲,播放不了,有时打开断断续续的,老是卡顿。导致的后果是:要么展现量很低,要么阅读量寥寥无几,这让我非常苦恼。所以再发布作品时,我只好文...

取消回复欢迎 发表评论: