凝思系统6.0.80系统常用服务启停
nanshan 2025-05-26 17:44 8 浏览 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
相关推荐
- HTTP 和 HTTPS 有何不同?一文带你全面了解
-
随着互联网时代的高速发展,Web服务器和客户端之间的安全通信需求也越来越高。HTTP和HTTPS是两种广泛使用的Web通信协议。本文将介绍HTTP和HTTPS的区别,并探讨为什么HTTPS已成为We...
- HTTP和HTTPS的区别?
-
本文主要讲解http和https的关系与区别,分辨不清区别的同学要注意朝下看完,Web面试中最常问的已到面试题~~一.HTTP和HTTPS的相同点:大多数情况下,HTTP和HTTPS是相同的,...
- 详解HTTP协议与RESTFUL
-
1.HTTP简介http协议是一种超文本传输协议,主要应用在浏览器与服务器之间的通信,可以传输文本,图片,视频等。它是一种应用层协议,也是基于TCP协议,当然现在流行的Https协议是在TLS或SSL...
- http与https的区别,读完之后,大部分程序员收藏了...
-
在URL前加https://前缀表明是用SSL加密的。你的电脑与服务器之间收发的信息传输将更加安全。Web服务器启用SSL需要获得一个服务器证书并将该证书与要使用SSL的服务器绑定。http和ht...
- JMeter测试HTTP GET请求(附实例)
-
一、HTTPRequest配置项解析●WebServer:1.Protocol[http]:○若为HTTP协议可以不填写(默认为HTTP);○若为HTTPS协议可以填写“https”;还可...
- 2019山东高考分数线公布:本科文503 理443
-
刚刚,2019年山东高考各批次录取最低分数线公布了!6月24日下午,山东省教育厅举行2019年山东高考第二场新闻发布会。山东省教育招生考试院在发布会上公布了山东今年高招各批次录取控制分数线。其中,本科...
- Linux系统网站出现503错误提示怎么解决?
-
当Linux系统上的网站出现503ServiceUnavailable错误时,通常表示服务器暂时无法处理请求,可能由后端服务崩溃、资源耗尽或配置错误导致。以下是系统化的排查和解决方案:一、...
- 三石说:一文带你了解Https
-
今天我们继续深入http,本篇将介绍Https的内容,相信你看过之后对https有一定的了解。HTTPSHTTPS(全称:HyperTextTransferProtocoloverSecu...
- HTTP与HTTPS的区别
-
首先,需要知道HTTP和HTTPS是什么。HTTP是超文本传输协议,是一个基于请求与响应,无状态的,应用层的协议,常基于TCP/IP协议传输数据,是互联网上应用最为广泛的一种网络协议。也...
- Caddy服务器开启HTTP/3:如何让你的网站快如闪电?
-
Caddy服务器开启HTTP/3:如何让你的网站快如闪电?在互联网技术飞速迭代的今天,HTTP/3正以革命性的姿态颠覆传统网络传输模式。作为首个基于QUIC协议的HTTP标准,它不仅能大幅提升网站加载...
- HTTP/1.1、HTTP/2、HTTP/3 演变
-
HTTP基本概念HTTP是超文本传输协议,也就是HyperTextTransferProtocol。HTTP常见的状态码有哪些?1xx类状态码属于提示信息,是协议处理中的一种中间状态,实际...
- HTTP/3 黑科技:三次握手如何进阶 QUIC?30 年通信细节揭秘
-
大家好,我是“极客运维社”的飞哥,点击右上方“关注”,每天和大家分享关于网络设备及系统和企业组网方面干货。码字不易,如果您觉得文章还可以,就点赞+关注+收藏吧,也许在以后某个时间能够用得到。H...
- 总结HTTP/HTTPS协议基础的有那些漏洞,怎么检查,怎么防范
-
以下是基于黑盒测试、白盒测试和灰盒测试视角对HTTP/HTTPS协议漏洞检查与防范的分类整理:一、黑盒测试(外部视角,无内部权限)定义:模拟攻击者视角,仅通过外部网络接口进行测试,不依赖系...
- 什么是HTTP? HTTP 和 HTTPS 的区别?
-
HTTP(HyperTextTransferProtocol),即超文本运输协议,是实现网络通信的一种规范。HTTP是一个传输协议,即将数据由A传到B或将B传输到A,并且A与B之间能够存...
- 一篇文章搞懂HTTP和HTTPS的的本质区别
-
http协议是基于tcp协议,默认是80端口。它的特点是什么?它是基于请求和响应的,大家抓个包能看到http协议有一个请求报文有一个响应报文,还有它是一个无状态的协议,还有一个无连接的协议。无连接是指...
你 发表评论:
欢迎- 一周热门
-
-
如何在安装前及安装后修改黑群晖的Mac地址和Sn系列号
-
爱折腾的特斯拉车主必看!手把手教你TESLAMATE的备份和恢复
-
[常用工具] OpenCV_contrib库在windows下编译使用指南
-
Ubuntu系统Daphne + Nginx + supervisor部署Django项目
-
WindowsServer2022|配置NTP服务器的命令
-
WIN11 安装配置 linux 子系统 Ubuntu 图形界面 桌面系统
-
解决Linux终端中“-bash: nano: command not found”问题
-
NBA 2K25虚拟内存不足/爆内存/内存占用100% 一文速解
-
Linux 中的文件描述符是什么?(linux 打开文件表 文件描述符)
-
K3s禁用Service Load Balancer,解决获取浏览器IP不正确问题
-
- 最近发表
- 标签列表
-
- 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)