为apache与mysql创建快捷方式

为apache与mysql创建快捷方式

1)为apache创建快捷方式(软链接)

以后我们就可以在终端的任一位置,使用apachectl start|stop|restart

 

2)为mysql创建快捷方式(软链接)

以后我们就可以在终端的任一位置,使用mysql -uroot -p启动mysql数据库了

原文地址:https://www.cnblogs.com/nyxd/p/5366373.html