Putty 网址进去了全是英文看不懂
本帖最后由 spkillercn 于 2016-12-13 11:31 编辑
我想额外说一句,其实win和linux配置好后,是一样稳定的,注意是配置好后,win下很多人有说有各种问题,我研究了2周,最后发现win下官方默认配置很多是直接按linux逻辑翻译成win的,比如什么启动还要穿过一层bat,直接进程就丢失控制了,还有n多默认配置都要改,包括进出编码不同等等,改了很久很久,最后还有个nginx问题,升级高一些的版本后解决了。最后win和linux几乎是相同的体验。几乎可以说明这个Multicaraft,最初版本应该就是仅linux的, 然后给硬改了win版本。玩了一大阵子Multi,最后发现他最大的问题就是FTP,FTP居然是单线程的,只要有2个人在上传地图等小碎文件,其他人就不要想控制自己的面板了,完全阻塞状态,装MOD也很不方便,怪不得淘宝上那么多Multi评价那么差。这经历说明个事情,如果想自己开MC服来运营什么的,真的要么自己实现一套开服工具,要么就用vps让玩家自己去搞,网页操作很不方便。要么就是最精简方式的挂机宝+开服侠,成本最小。现在X世界、X块等等,他们是自己的开服系统,而其他的,大部分也都是VPS,估计也是这个原因,习惯了桌面,用网页体验也不好,甚至很多是小白级别腐竹。。。。。。很同情淘宝上那堆差评的面板服IDC.
我想额外说一句,其实win和linux配置好后,是一样稳定的,注意是配置好后,win下很多人有说有各种问题,我研究了2周,最后发现win下官方默认配置很多是直接按linux逻辑翻译成win的,比如什么启动还要穿过一层bat,直接进程就丢失控制了,还有n多默认配置都要改,包括进出编码不同等等,改了很久很久,最后还有个nginx问题,升级高一些的版本后解决了。最后win和linux几乎是相同的体验。几乎可以说明这个Multicaraft,最初版本应该就是仅linux的, 然后给硬改了win版本。玩了一大阵子Multi,最后发现他最大的问题就是FTP,FTP居然是单线程的,只要有2个人在上传地图等小碎文件,其他人就不要想控制自己的面板了,完全阻塞状态,装MOD也很不方便,怪不得淘宝上那么多Multi评价那么差。这经历说明个事情,如果想自己开MC服来运营什么的,真的要么自己实现一套开服工具,要么就用vps让玩家自己去搞,网页操作很不方便。要么就是最精简方式的挂机宝+开服侠,成本最小。现在X世界、X块等等,他们是自己的开服系统,而其他的,大部分也都是VPS,估计也是这个原因,习惯了桌面,用网页体验也不好,甚至很多是小白级别腐竹。。。。。。很同情淘宝上那堆差评的面板服IDC.
lou8zhu,xing,辛苦了,
楼主能不用Mu吗
楼主能不用Mu吗
楼主,最好发一个L的开服教程,正缺
root ALL=(ALL:ALL) ALL
這個能解是更清楚?
這個能解是更清楚?
出现403错误怎么解决?
Forbidden
You don't have permission to access /multicraft/ on this server.
Forbidden
You don't have permission to access /multicraft/ on this server.
王大卫 发表于 2017-11-5 10:59
出现403错误怎么解决?
Forbidden
权限设置问题,检查下Apache配置或.htaccess文件中目录的访问权限设置,需要为:
Order allow,deny
Allow from all
又出问题了。。
CException
Application runtime path "/var/www/html/multicraft/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
CException
Application runtime path "/var/www/html/multicraft/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
王大卫 发表于 2017-11-5 17:01
又出问题了。。
CException
所有者没设置好,用chown -R把网页所在目录的所有者和组设置成Apache的运行用户。
还是不行。
CException
Application runtime path "/var/www/html/multicraft/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
CException
Application runtime path "/var/www/html/multicraft/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
这样了
CException
CAssetManager.basePath "/var/www/html/multicraft/assets" is invalid. Please make sure the directory exists and is writable by the Web server process.
CException
CAssetManager.basePath "/var/www/html/multicraft/assets" is invalid. Please make sure the directory exists and is writable by the Web server process.
王大卫 发表于 2017-11-10 19:02
这样了
CException
肯定是目录权限问题,你确定把multicraft网页目录的所有者和组设置成Apache的运行用户了吗?
OK自己解决了
/etc/apache2/sites-available/default不存在是怎么回事?
找到了!!谢谢!!
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
配置数据库出现
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
还这样
PDO SQLite extension Warning SQLite Database connection This is required if you are using an SQLite database.
PDO SQLite extension Warning SQLite Database connection This is required if you are using an SQLite database.
王大卫 发表于 2017-11-11 11:29
配置数据库出现
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000 ...
数据库的用户名或密码错误
王大卫 发表于 2017-11-11 11:32
还这样
PDO SQLite extension Warning SQLite Database connection This is required if you are using ...
我很怀疑你有没有完全按照教程做,这些错误都不应该出现的。
Mysql安装失败
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
执行完/home/minecraft/multicraft/bin/multicraft -v start
出现:
[root@mcserver conf]# /home/wwwroot/multicraft/bin/multicraft start
Failed to load resource reporting module, functionality disabled. (/lib64/libc.so.6: version `GLIBC_2.13' not found (required by /home/wwwroot/multicraft/bin/_psutil_linux.so))
Multicraft 2.1.1 - Minecraft Server Manager Daemon
Loading configuration from /home/wwwroot/multicraft/multicraft.conf
Starting daemon
浏览器那边没有绿框出现,”Refresh“按钮也没有变成”Continue“
出现:
[root@mcserver conf]# /home/wwwroot/multicraft/bin/multicraft start
Failed to load resource reporting module, functionality disabled. (/lib64/libc.so.6: version `GLIBC_2.13' not found (required by /home/wwwroot/multicraft/bin/_psutil_linux.so))
Multicraft 2.1.1 - Minecraft Server Manager Daemon
Loading configuration from /home/wwwroot/multicraft/multicraft.conf
Starting daemon
浏览器那边没有绿框出现,”Refresh“按钮也没有变成”Continue“
Mlcy 发表于 2017-11-11 18:42
执行完/home/minecraft/multicraft/bin/multicraft -v start
出现:
[root@mcserver conf]# /home/wwwroot ...
我的教程是基于Debian系统的,请使用Debian系统。
王大卫 发表于 2017-11-11 17:07
Mysql安装失败
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server- ...
似乎出现了依赖问题,你用的Debian版本是什么?
版本是9.1
王大卫 发表于 2017-11-11 23:17
版本是9.1
在Debian 9中MySQL换成了MariaDB,PHP5换成了7,安装和配置方式都有所不同,MariaDB和MySQL区别不大,但PHP还是建议使用5。
你的意思是安装MySQL改成安装MariaDB?
王大卫 发表于 2017-11-12 13:23
你的意思是安装MySQL改成安装MariaDB?
是这样的
MCBBS有你更精彩,加油
mariadb怎么安装?
安装mariadb仍然出错
The following packages have unmet dependencies:
mariadb-server-10.0 : Depends: libdbi-perl but it is not going to be installed
Depends: mariadb-client-10.0 (>= 10.0.32-0+deb8u1) but it is not going to be installed
The following packages have unmet dependencies:
mariadb-server-10.0 : Depends: libdbi-perl but it is not going to be installed
Depends: mariadb-client-10.0 (>= 10.0.32-0+deb8u1) but it is not going to be installed
解决了,源的问题
配置数据库时出错
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
账号密码都是正确的
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
账号密码都是正确的
王大卫 发表于 2017-11-18 14:59
配置数据库时出错
The error message is: CDbConnection failed to open the DB connection: SQLSTATE[HY00 ...
1、停止服务
systemctl stop mysql
2、跳过授权表访问
mysqld_safe --skip-grant-tables --skip-networking &
3、登录
mysql -u root
4、重新设置密码并授予权限
use mysql;
UPDATE user SET Password=PASSWORD('输入你root的新密码') where USER='root';
GRANT all ON *.* TO root@'localhost' IDENTIFIED BY '输入你root的新密码';
5、刷新权限
FLUSH PRIVILEGES;
6、退出
quit
7、停止服务
systemctl stop mysql
8、启动服务
systemctl start mysql
执行 GRANT all ON *.* TO root@'localhost' IDENTIFIED BY '输入你root的新密码';命令失败
错误 ERROR 1290 (HY000): The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement
错误 ERROR 1290 (HY000): The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement
变成You are using MariaDB as an anonymous user and anonymous users are not allowed to modify user settings
自己解决了,谢谢!
成功了,终于把数据库配置好了
出错了
multicraft/bin/multicraft: 1: multicraft/bin/multicraft: Syntax error: word unexpected (expecting ")")
multicraft/bin/multicraft: 1: multicraft/bin/multicraft: Syntax error: word unexpected (expecting ")")
提示command not found
/home/minecraft/multicraft/bin/multicraft start
提示没有该文件,我都可以cd过去
提示没有该文件,我都可以cd过去
No such file or directory
最终提示无法运行二进制文件
王大卫 发表于 2017-11-24 21:27
最终提示无法运行二进制文件
请使用64位系统
我用的是32位multicraft怎么不行
王大卫 发表于 2017-11-25 05:21
我用的是32位multicraft怎么不行
既然都要开服了那就别用32位系统了,很没有意义,32位系统支持的内存有限,且Java分配的内存不能超过1GB。
楼主multicraft.org官网进不去啊
下不了 你发我吧
方便的话加我qq:2307537286
或者把你qq留下
下不了 你发我吧
方便的话加我qq:2307537286
或者把你qq留下
学习了,很强
Liunx搭建再也不怕了,虽然win的简单
一篇好文章