---
title: "ssh 一些服务重启命令集 "
author: "bluedest"
date: "2012-05-15T11:47:09Z"
tags: []
categories: ["编程语言"]
slug: "ssh"
draft: false
lastmod: "2012-05-15T11:47:09Z"
id: 1530070
url: "https://bluedest.iteye.com/blog/1530070"
---

```
重启网络服务的命令是 service network restart

重启mysql服务的命令 /etc/rc.d/init.d/mysqld restart

重启FTP     /etc/rc.d/init.d/proftpd restart

查看进程 ps -ef|grep mysqld

杀进程 kill -9 20038

启动apace:   /usr/local/apache/bin/httpd -k start

重启apace:   /usr/local/apache/bin/httpd -k restart

重启apahce     /etc/rc.d/init.d/httpd restart

关闭apace:   /usr/local/apache/bin/httpd -k stop
```