Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu自动启动命令写法例子

位置 /etc/rc.local rc.local                                                                                                                          
  #!/bin/sh -e
   #
   # rc.local
   #
   # This script is executed at the end of each multiuser runlevel.
   # Make sure that the script will "exit 0" on success or any other
  # value on error.
   #
   # In order to enable or disable this script just change the execution
  # bits.
  #
  # By default this script does nothing.
 
  /etc/init.d/apache start
  /etc/init.d/mysqld start
 
  exit 0******************************************************放在 exit 0 之前Trac 在Ubuntu上安装Android Media 播放mp3时ID3 tag 显示乱码的探究分析。相关资讯      Ubuntu教程 
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • 让Ubuntu 12.10支持RAR和7Z文件解  (11/15/2012 18:51:50)
  • Windows 7硬盘安装Ubuntu 12.10图  (11/03/2012 19:22:47)
  • 完美安装Ubuntu 12.10最新AMD显卡  (11/27/2012 08:17:47)
  • Win 7硬盘安装Ubuntu 12.10  (11/05/2012 13:30:34)
  • 虚拟机上Ubuntu 11.10升级到12.04  (10/12/2012 20:00:38)
本文评论 查看全部评论 (0)
表情: 姓名: 字数