- 主题:YTHTBBS配置文件的修改
刚知道。。
pf~
【 在 sdymhua (毛毛) 的大作中提到: 】
: 呵呵,你还不知道呀。
: 他是贵州黔西南最让人尊重的计算机教师!
: :)
: 【 在 dinger (test) 的大作中提到: 】
: : 啊 dgwang是老师! admire~
: : ...................
--
FROM 211.155.251.247
那就bg全国吧
【 在 dgwang.bbs@bbs.qxntc.edu.cn (DG大哥) 的大作中提到: 】
: zhesha了。
: 在全国的xdjm面前无地自容了。
: 【 在 sdymhua.bbs@ytht.net (毛毛) 的大作中提到: 】
: : 呵呵,你还不知道呀。
: : 他是贵州黔西南就让尊重的计算机教师!
: : :)
: ...................
--
FROM 202.113.13.188
这样可以吗?
su -l -c /home/bbs/bin/shminit bbs
后面还要除了添加一行:
/home/bbs/bin/bbsd
还要添加些什么呢?
【 在 lepton.bbs@ytht.net (在黑夜中等待黎明) 的大作中提到: 】
: su bbs -c /home/bbs/bin/shminit
: 【 在 sdymhua (毛毛) 的大作中提到: 】
: : 你是说在rc.local里加入
: : /home/bbs/bin/shminit
: : /home/bbs/bin/bbsd吗?
: : 可是前一个shminit是bbs用户执行的
: : 后一个是root执行的呀?
--
FROM 219.141.123.114
woooo,再努力努力没准能顶上十大?~~~~~~~~~
rc.local本版最前面有例子吧好象……
--------------------------------------------------------------
mount tmpfs /home/bbs/bbstmpfs -t tmpfs -o size=128M
for i in brc tmp dynamic userattach zmodem bbsattach innd;do
mkdir /home/bbs/bbstmpfs/$i
done
chown bbs:bbs /home/bbs/bbstmpfs -R
/home/bbs/bin/bbsd
/home/bbs/bin/bbspop3d
su bbs -c "/home/bbs/bin/bbsevad"
su bbs -c "/home/bbs/bin/bbslogd"
su bbs -c "/home/bbs/bin/atthttpd"
-------------------------------------------------------------
对了,有个问题,这个bbstmpfs里的东西在结束bbsd前不能保留出来么?
每次重新mount这个tmpfs之后最近已读的帖子也都标记成未读了
不太清楚这个fs~~~
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 这样可以吗?
: su -l -c /home/bbs/bin/shminit bbs
: 后面还要除了添加一行:
: /home/bbs/bin/bbsd
: 还要添加些什么呢?
: 【 在 lepton.bbs@ytht.net (在黑夜中等待黎明) 的大作中提到: 】
: : su bbs -c /home/bbs/bin/shminit
: ...................
--
FROM 221.14.170.151
写完来看看
--------------------------------------------------------
su -c bbs /home/bbs/bin/shminit bbs
/usr/sbin/httpdctl start (这句是启动?)
/home/bbs/bin/bbsd
/home/bbs/bin/sshbbsd
/home/bbs/bin/bbspop3d
su -c bbs /home/bbs/bin/bbsevad
su -c bbs /home/bbs/bin/bbslogd
su -c bbs '/home/bbs/innd/innbbsd > /dev/null 2>&1 &'
su -c bbs '/home/bbs/bin/mjgps > /dev/null 2>&1 &'
su -c bbs '/home/bbs/bin/atthttpd'
su -c bbs '/home/bbs/ftphome/yftpd'
--------------------------------------------------------
这是dgwang帮我写的。可是最后一段启动的都是些什么服务呢?
谢谢解答!
【 在 chutium.bbs@ytht.net (阿新) 的大作中提到: 】
: woooo,再努力努力没准能顶上十大?~~~~~~~~~
: rc.local本版最前面有例子吧好象……
: --------------------------------------------------------------
: mount tmpfs /home/bbs/bbstmpfs -t tmpfs -o size=128M
: for i in brc tmp dynamic userattach zmodem bbsattach innd;do
: ...................
--
FROM 219.141.123.114