Pannello Multicraft
Multicraft è un pannello di controllo basato sul Web semplice e facile da usare per i server Minecraft. Puoi creare, arrestare, avviare, monitorare, configurare, caricare, scaricare ed eseguire il tuo server in modo efficace attraverso il pannello di controllo online. Contiene funzioni come:
- Monitoraggio del giocatore
- Configurazione file
- Facile cambio .jar
- Client FTP incorporato
- Console Web
Seguire i passaggi seguenti per installare Multicraft su CentOS 6.
1. Installa MySQL
yum install mysql mysql-server
Impostare MySQL per l'avvio all'avvio, quindi avviare MySQL:
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
Esegui l'installazione sicura, inserendo la password quando richiesto e premendo invio altrove.
mysql_secure_installation
2. Installa Apache e PHP
yum install httpd php
Imposta Apache per l'avvio all'avvio, quindi avvia Apache:
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
Installa estensioni PHP:
yum install php-mysql php-gd
Riavvia Apache:
/etc/init.d/httpd restart
3. Installa phpMyAdmin
Per gestire i database MySQL, è necessario installare phpMyAdmin, ma per fare ciò è necessario attivare il repository EPEL e installare 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
Per utilizzare phpMyAdmin dovrai configurarne l'accesso. Inizia aprendo il file di configurazione:
nano /etc/httpd/conf.d/phpMyAdmin.conf
Utilizzare il tasto freccia giù per trovare questa sezione:
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 cambia Nega per consentire .
Per uscire e salvare il file premere Ctrl + X, quindi premere Y, quindi premere INVIO. Quindi, riavvia il tuo server web:
/etc/init.d/httpd restart
Ora puoi accedere a phpMyAdmin tramite tuodominio.com/phpMyAdmin o yourserverIP / phpMyAdmin . Si noti che phpMyAdmindistingue tra maiuscole e minuscole.
L'account di accesso predefinito è "root" e la password di root.
Dopo aver effettuato correttamente l'accesso a phpMyAdmin, creare due database:
multicraft_panel
multicraft_daemon
Per proteggere i contenuti del pannello Multicraft dovrai aprire la configurazione di Apache usando:
nano /etc/httpd/conf/httpd.conf
E scorri verso il basso fino a trovare la sezione simile a:
# 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
Modifica Nessuno Per Tutti . Salvare il file, quindi uscire (Ctrl + X, quindi Y, quindi INVIO).
Riavvia Apache:
/etc/init.d/httpd restart
Successivamente, abbiamo altri prerequisiti. Installa Java, zip e decomprimi eseguendo:
yum install java-1.7.0-openjdk zip unzip
4. Installa Multicraft
Ora per installare il pannello Multicraft.
Inizia scaricando Multicraft 64 bit (cambia da 64 a 32 se esegui un sistema operativo Linux a 32 bit).
wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
Quindi estrarlo e passare alla directory. Una volta nella directory, esegui il programma di installazione:
tar xvzf multicraft.tar.gz
cd multicraft
./setup.sh
Vedrai il seguente output. Seguire le istruzioni evidenziate in grassetto.
***
*** 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 Premere INVIO
Run Multicraft under this user: [minecraft] Premere INVIO
User not found. Create user 'minecraft' on start of installation? [y]/n Premere INVIO
Install Multicraft in: [/home/minecraft/multicraft] Premere INVIO
If you have a license key you can enter it now: [no] Inserire la chiave di licenza se ne si possiede una e continuare, oppure premere INVIO
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] Premere INVIO
`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 Premere INVIO
IP the FTP server will listen on (empty for same as daemon): [108.61.212.243]
FTP server port: [21] Premere INVIO
Block FTP upload of .jar files and other executables (potentially dangerous plugins)? [y]/n n Premere n, quindi INVIO
`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 Immettere la password MySQL e premere INVIO
`***` `*** Please use the control panel to initialize the database.` `***`
NOTE: Any running daemon will be stopped!
Ready to install Multicraft. Start installation? [y]/n Premere INVIO
`***` `*** INSTALLING`
(output dettagliato ridotto qui)
*** 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. Premere ENTER
``
In case you want to rerun this script you can save the entered settings.
Save entered settings? ([y]/n) Premere INVIO
Saving settings to 'setup.config'.
Configurazione del pannello
Se si riscontrano errori, si può andare a yourdomain.com/multicraft o yourserverIP / multicraft .
Ora sarai nel programma di installazione del pannello Multicraft.
Inizia premendo START INSTALLATIONe quindi rivedendo i requisiti. Se il server soddisfa tutti i requisiti, premere CONTINUE, quindi di CONTINUEnuovo.
Quando arrivi alla Database 1: PANELpagina, dovrai selezionare MySQL dal menu a discesa del tipo di database, quindi inserire i dati richiesti, inclusa la password. Premere SAVE AND TESTper inizializzare il database.
Una volta inizializzato il database, è possibile continuare con il passaggio successivo di accesso al pannello. Il nome utente è admine la password è admin.
Una volta effettuato l'accesso, premere CONTINUEe andare alla sezione del database successiva Database 2: DAEMON. Ancora una volta, selezionare MySQL, inserire i dati richiesti, quindi premere CONTINUE.
Ora sei indirizzato all'ultima pagina Settings,. L'unica configurazione necessaria qui è impostare "Email contatto amministratore" sul tuo indirizzo email. Quindi premere SAVE.
Infine, avvia il demone di controllo Multicraft tornando alla riga di comando ed eseguendo:
/home/minecraft/multicraft/bin/multicraft -v start
Ora puoi accedere al pannello e controllare i tuoi server Minecraft.