作者: cnbtoo 出自: http://www.linuxdiyf.com 如刚编译安装了一个mysql数据库,想将他放入系统启动项,以便和系统一起启动,方法是: 将编译好的mysqld文件复制到/etc/rc.d/init.d中 #chkconfig --add mysqld #chkconfig --level 3 mysqld on //在第3个控制台自动启动 删除启动项就用: #chkconfig --del sername #chkconfig --list //查看结果。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31...
by sdccf - Linux文档专区 - 2008-04-19 11:30:42 阅读(1065) 回复(0)
$ sudo grub ----------- 一定要带sudo grub> find /boot/grub/stage1 ----------- /boot和/不是同一个分区的不适用. (hd0,7) grub> root (hd0,7) ----------- hd0和7之间没有空格 grub> setup (hd0) grub> quit $ sudo reboot 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/84121/showart_2119283.html
1:rc.local vi /etc/rc.d/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /usr/local/mailgraph_ext/mailgraph-init start /usr/local/mailgraph_ext/qmonitor-init start #/usr/bin/freshclam --daemon /usr/local/slockd/slockd-...
本帖最后由 独枝007 于 2012-11-18 11:18 编辑 想要知道,怎么来选择linux系统的开机启动项,对于我来说,很多功能都用不着。比如说,打印机,蓝牙等都,在百度搜索了不少答案,但回答的都不是很清楚,所以还不如到论坛里寻求专业答案。 补充一下,我用的是ubuntu12.10版本的。
我的在xp上用光盘按了CentOS5.4 然后启动直接进入CentOS了,xp就进不去了。 有一天我安装了sendmail之后又卸载了,并卸载了一些开发软件之后,系统直接进xp了 现在我想进CentOS又进不去, grub貌似没坏。 望高手指点。。。
入门linux下的一些启动项作用(转) apmd--apmd用来监视系统用电状态,并将相关信息通过syslogd写入日志。也可以用来在电源不足时关机 arpwatch--用来维护以太网物理地址和ip地址的对应关系 atd--运行用户用at命令调度的任务。也在系统负荷比较低时运行批处理任务 autofs--当您需要时自动转载文件系统,而当您不需要时自动卸载 chargen--tcp版本的chargen server chargen-udp--udp版本的chargen server crond--...
linux开机自启动可以在以下配置文件中找到,如果中了木马,也要重点查看以下配置文件看是否有异常程序设置在里面: /etc/rc.local /etc/rc.sysinit /etc/services /etc/rc*.d/S*(如/etc/rc3.d/S55sshd) /etc/profile /etc/profile.d/*.sh /etc/inittab /etc/crontab (cron.hourly)(定时任务,应该不算自启动) 欢迎大家补充.