Painel Multicraft
Multicraft é um simples, fácil de usar painel de controle baseado na web para servidores Minecraft. Você pode criar, parar, iniciar, monitorar, configurar, carregar, fazer o download e executar seu servidor de maneira eficaz através do painel de controle on-line. Ele contém recursos como:
- Monitorização de Jogadores
- Configuração de Arquivos
- Mudança .jar fácil
- Cliente FTP incorporado
- Console da Web
Siga os passos abaixo para instalar o Multicraft no CentOS 6.
1. Instale o MySQL
yum install mysql mysql-server
Configure o MySQL para iniciar na inicialização e, em seguida, inicie o MySQL:
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
Execute a instalação segura, digitando sua senha quando solicitado e pressionando Enter em outro lugar.
mysql_secure_installation
2. Instale o Apache e o PHP
yum install httpd php
Configure o Apache para iniciar na inicialização e inicie o Apache:
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
Instalar extensões PHP:
yum install php-mysql php-gd
Reinicie o Apache:
/etc/init.d/httpd restart
3. Instalar o phpMyAdmin
Para gerenciar os bancos de dados MySQL, o phpMyAdmin deve estar instalado, mas para isso você precisará ativar o repositório EPEL e instalar o phpMyAdmin.
cd /tmp
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum install phpmyadmin
Para usar o phpMyAdmin, você precisará configurar seu acesso. Comece abrindo o arquivo de configuração:
nano /etc/httpd/conf.d/phpMyAdmin.conf
Use a tecla de seta para baixo para encontrar esta seção:
IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
/IfModule>
E altere Negar para permitir .
Para sair e salvar o arquivo, pressione Ctrl + X, pressione Y e, em seguida, pressione ENTER. Em seguida, reinicie seu servidor da Web:
/etc/init.d/httpd restart
Agora você pode fazer o login no phpMyAdmin através de yourdomain.com/phpMyAdmin ou yourserverIP / phpMyAdmin . Por favor, note que phpMyAdmin
é sensível a maiúsculas e minúsculas.
A conta de login padrão é “root” e sua senha root.
Depois de logar com sucesso no phpMyAdmin, crie dois bancos de dados:
multicraft_panel
multicraft_daemon
Para proteger o conteúdo do painel do Multicraft, você precisará abrir a configuração do Apache usando:
nano /etc/httpd/conf/httpd.conf
E role para baixo até encontrar a seção que se parece com:
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
Alterar nenhum para todos . Salve o arquivo e saia (Ctrl + X, Y e ENTER).
Reinicie o Apache:
/etc/init.d/httpd restart
Em seguida, temos mais alguns pré-requisitos. Instale o Java, zip e descompacte executando:
yum install java-1.7.0-openjdk zip unzip
4. Instalar Multicraft
Agora, para instalar o painel Multicraft.
Comece fazendo o download do Multicraft 64bit (mude 64 para 32 se você executar um sistema operacional Linux de 32 bits).
wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
Em seguida, extraia e mude para o diretório. Uma vez no diretório, execute o instalador:
tar xvzf multicraft.tar.gz
cd multicraft
./setup.sh
Você verá a seguinte saída. Siga as instruções destacadas em negrito.
***
*** Welcome to Multicraft!
***
`This installer will help you get Multicraft up and running.
No changes are made to the system until all of the required information has been collected.
`NOTE: This script automates the installation as described on the Multicraft website. Use it at your own risk.`
Run each Minecraft server under its own user? (Multicraft will create system users): [y]/n
Pressione ENTER
Run Multicraft under this user: [minecraft]
Pressione ENTER
User not found. Create user 'minecraft' on start of installation? [y]/n
Pressione ENTER
Install Multicraft in: [/home/minecraft/multicraft]
Pressione a tecla ENTER
If you have a license key you can enter it now: [no]
Digite sua chave de licença, se tiver um e continuar, ou pressione ENTER
If you control multiple machines from one control panel you need to assign each daemon a unique ID (requires a Dynamic or custom license). Daemon ID? [1]
Pressione ENTER
`Will the PHP frontend run on this machine? [y]/n` **Press ENTER** `User of the webserver: [apache]` **Press ENTER** `Location of the PHP frontend: [/var/www/html/multicraft]` **Press ENTER**
Enable builtin FTP server? [y]/n
Pressione ENTER
IP the FTP server will listen on (empty for same as daemon): [108.61.212.243]
FTP server port: [21]
Pressione ENTER
Block FTP upload of .jar files and other executables (potentially dangerous plugins)? [y]/n n
Pressione n, em seguida, ENTER
`What kind of database do you want to use? [sqlite]/mysql mysql` **Type mysql, then press ENTER**
NOTE: This is for the daemon config, the front end has an installation routine for database configuration and initialization.
Database host: [127.0.0.1]
Database name: [multicraft_daemon]
Database user: [root]
Database password: [] YourPassword
Digite sua senha MySQL, e pressione ENTER
`***` `*** Please use the control panel to initialize the database.` `***`
NOTE: Any running daemon will be stopped!
Ready to install Multicraft. Start installation? [y]/n
Pressione a tecla ENTER
`***` `*** INSTALLING`
(saída detalhada aparada aqui)
*** Installation complete!
***
`PLEASE READ:`
Before starting the daemon you need to run the control panel installer to initialize your database. (example: http://your.address/multicraft/install.php)
`The daemon WILL NOT work correctly as long as the database hasn't been initialized.`
`After running the control panel installer start the daemon using the following command:`
/home/minecraft/multicraft/bin/multicraft -v start
`If there are any issues, please check the log file: '/home/minecraft/multicraft/multicraft.log'`
After reading the instructions above, press [Enter] to continue.
Imprensa ENTER
“
In case you want to rerun this script you can save the entered settings.
Save entered settings? ([y]/n)
Pressione ENTER
Saving settings to 'setup.config'.
Configuração do Painel
Se você não encontrou nenhum erro, você pode ir para yourdomain.com/multicraft ou yourserverIP / multicraft .
Você estará agora no instalador do painel da Multicraft.
Comece pressionando START INSTALLATION
e, em seguida, revendo os requisitos. Se o seu servidor atender a todos os requisitos, pressione e CONTINUE
, em seguida CONTINUE
, novamente.
Ao chegar na Database 1: PANEL
página, você desejará selecionar o MySQL no menu suspenso do tipo de banco de dados e, em seguida, preencher os dados necessários, incluindo sua senha. Pressione SAVE AND TEST
para inicializar o banco de dados.
Depois que o banco de dados for inicializado, você poderá continuar na próxima etapa de login no painel. O nome de usuário é admin
e a senha é admin
.
Uma vez logado, pressione CONTINUE
e vá para a próxima seção do banco de dados Database 2: DAEMON
. Novamente, selecione MySQL, preencha os dados necessários e pressione CONTINUE
.
Você está agora direcionado para a última página Settings
,. A única configuração necessária aqui é definir “E-mail de contato do administrador” para o seu endereço de e-mail. Então pressione SAVE
.
Por fim, inicie o daemon de controle do Multicraft, retornando à linha de comando e executando:
/home/minecraft/multicraft/bin/multicraft -v start
Agora você pode fazer o login no painel e controlar seus servidores do Minecraft.