ubuntu中chkconfig功能有哪些

在Ubuntu中,chkconfig功能已被替代为systemctl命令,用于管理系统服务的启动和停止。下面是一些常用的systemctl命令:

systemctl start [service]:启动指定的系统服务。
systemctl stop [service]:停止指定的系统服务。
systemctl enable [service]:设置指定的系统服务在系统启动时自动启动。
systemctl disable [service]:取消指定的系统服务在系统启动时自动启动。
systemctl status [service]:显示指定的系统服务的当前状态。
systemctl restart [service]:重启指定的系统服务。
systemctl reload [service]:重新加载指定的系统服务的配置。

这些命令可以替代chkconfig命令,用于管理系统服务的启动和停止。

阅读剩余
THE END