- 主题:YTHTBBS配置文件的修改
这就表示完成了
现在我在安装shminit
【 在 朱雀.bbs@wusetu.cn (无家可归|流浪......) 的大作中提到: 】
: 错误提示在哪??
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我先make -C ythtlib install
: : 再./makedist.sh
: : 再./congure --with-site=*
: : 再make
: : 这时候又出现别的错误提示了:
: ...................
--
FROM 219.141.123.114
现在我在安装shminit
完成后再$make install
又出现错误了
make -C src install
make[1]: Entering directory `/home/bbssrc/src'
( cd ..; ./Install.sh)
This script will install the whole BBS to /home/bbs...
Press <Enter> to continue ...
Warning: /home/bbs already exists, overwrite whole bbs [N]?y
Installing new bbs to /home/bbs
Setup bbs directory tree .....
mkdir: 无法创建目录‘vote’: 文件已存在
mkdir: 无法创建目录‘tmp’: 文件已存在
mkdir: 无法创建目录‘reclog’: 文件已存在
mkdir: 无法创建目录‘bm’: 文件已存在
mkdir: 无法创建目录‘bin’: 文件已存在
mkdir: 无法创建目录‘traced’: 文件已存在
mkdir: 无法创建目录‘newtrace’: 文件已存在
mkdir: 无法创建目录‘inndlog’: 文件已存在
chown: 正在更改 ‘/home/bbs/reclog/bbs.pid’ 的所有者: 不允许的操作
chgrp: 正在更改 ‘/home/bbs/reclog/bbs.pid’ 的所属组: 不允许的操作
Install is over....
Check the configuration in /home/bbs/etc/sysconf.ini
Then login your BBS and create an account called SYSOP (case-sensitive)
make[1]: Leaving directory `/home/bbssrc/src'
【 在 cutewolf@feeling-NOsmthSPAM-org (一柱擎天) 的大作中提到: 】
: sihushi
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 我没有呀
: : 我就只有一个bbsdev
: : 然后也要./configure --with-site=xztu吗?
--
FROM 219.141.123.114
什么备份?
我一直安装来的。现在就差shminit了
因为我是第二次安装bbs,所以不会备份。呵呵,不好意思
你能帮我解答这个问题吗?
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: cmft..
: 留备份了么?
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我在安装shminit
: : 完成后再$make install
: : 又出现错误了
: : make -C src install
: ...................
--
FROM 219.141.123.114
那现在我该怎么做呢?
现在我在/home/bbssrc/local_utl里make
出现echo "#include <mysql/mysql.h>" > usesql.h
/bin/sh: line 1: usesql.h: 权限不够
make: *** [usesql.h] Error 1
现在我到底应该怎么做呢?
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: 就是说如果不是全新安装 就最好别再bbssrc或bbssrc/src里make install
: 会覆盖掉.BOARDS
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 什么备份?
: : 我一直安装来的。现在就差shminit了
: : 因为我是第二次安装bbs,所以不会备份。呵呵,不好意思
: ...................
--
FROM 219.141.123.114
感谢dinger
照你所说的,我make install完成了
谢谢
【 在 sdymhua.bbs@ytht.net (毛毛) 的大作中提到: 】
: 对,我的usesql.h就是这样。
: 现在我该怎么做呢?
: 【 在 dinger (test) 的大作中提到: 】
: : usesql.h类似这样就行:
: : #include <mysql/mysql.h>
: : #define SQLDB "test"
: : #define SQLUSER "test"
: : #define SQLPASSWD "test"
: ...................
--
FROM 219.141.123.114
可以了
我make install
就行了
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: 然后不能编译么? 提示什么错误
: 【 在 sdymhua (毛毛) 的大作中提到: 】
: : 对,我的usesql.h就是这样。
: : 现在我该怎么做呢?
: : ...................
--
FROM 219.141.123.114
呵呵,对于我来说。
你们都是我奋斗的目标,谢谢你们
现在我要一开机就运行BBS
是不是在/etc/rc.lcal里写入
/home/bbs/bin/bbsd
是这样吗?
谢谢@!
【 在 dgwang (DG大哥) 的大作中提到: 】
: 我上班忙了一整天烦人的工作,一上来看,结果dinger兄把我的站点做例子来讲解了。
: :)
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: : 如果你有这样的配置文件site/bbsconfig.qxntc
: : 那么要写./configure --with-site=qxntc
: : ...................
: ...................
--
FROM 219.141.123.114
呵呵,我是他的学生。
他是我这辈子最尊重的老师,我一直在向他学东西
如果我要开机就执行BBS
直接在/etc/rc.local里加入:
/home/bbs/bin/bbsd就行了吗?
谢谢
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: 看他从你那边转信过来的 呵呵:)
: 【 在 dgwang.bbs@bbs.qxntc.edu.cn (DG大哥) 的大作中提到: 】
: : 我上班忙了一整天烦人的工作,一上来看,结果dinger兄把我的站点做例子来讲解了。
: : ...................
--
FROM 219.141.123.114
这样可以吗?
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
写完来看看
--------------------------------------------------------
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