如何在CentOS 7上安装Mailtrain新闻通讯应用程序
使用其他系统?Mailtrain是一个基于Node.js和MySQL / MariaDB构建的开源自托管新闻通讯应用程序。
Multicraft是用于Minecraft服务器的简单,易于使用的基于Web的控制面板。您可以通过在线控制面板有效地创建,停止,启动,监视,配置,上传,下载和运行服务器。它包含以下功能:
请按照以下步骤在CentOS 6上安装Multicraft。
yum install mysql mysql-server
将MySQL设置为在启动时启动,然后启动MySQL:
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
运行安全安装,在出现提示时输入密码,然后在其他位置按Enter。
mysql_secure_installation
yum install httpd php
将Apache设置为在启动时启动,然后启动Apache:
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
安装PHP扩展:
yum install php-mysql php-gd
重新启动Apache:
/etc/init.d/httpd restart
要管理MySQL数据库,必须安装phpMyAdmin,但是要执行此操作,您将需要打开EPEL存储库并安装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
要使用phpMyAdmin,您需要配置其访问权限。首先打开配置文件:
nano /etc/httpd/conf.d/phpMyAdmin.conf
使用向下箭头键找到此部分:
IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
/IfModule>
并改变拒绝为允许。
要退出并保存文件,请按Ctrl + X,然后按Y,然后按Enter。接下来,重新启动您的Web服务器:
/etc/init.d/httpd restart
现在,您可以通过yourdomain.com/phpMyAdmin或yourserverIP / phpMyAdmin登录到phpMyAdmin。请注意,这phpMyAdmin
是区分大小写的。
默认的登录帐户是“ root”,您的root密码。
成功登录phpMyAdmin后,创建两个数据库:
multicraft_panel
multicraft_daemon
要保护Multicraft面板内容,您需要使用以下命令打开Apache配置:
nano /etc/httpd/conf/httpd.conf
向下滚动,直到找到如下所示的部分:
# 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
更改无为所有。保存文件,然后退出(Ctrl + X,然后Y,然后按ENTER)。
重新启动Apache:
/etc/init.d/httpd restart
接下来,我们还有其��一些先决条件。通过运行以下命令安装Java,zip和unzip:
yum install java-1.7.0-openjdk zip unzip
现在安装Multicraft Panel。
首先下载Multicraft 64位(如果运行32位Linux操作系统,请将64更改为32)。
wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
然后解压缩并转到目录。进入目录后,运行安装程序:
tar xvzf multicraft.tar.gz
cd multicraft
./setup.sh
您将看到以下输出。请遵循以粗体突出显示的说明。
***
*** 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
按ENTER
Run Multicraft under this user: [minecraft]
按ENTER
User not found. Create user 'minecraft' on start of installation? [y]/n
按ENTER
Install Multicraft in: [/home/minecraft/multicraft]
按ENTER
If you have a license key you can enter it now: [no]
输入您的许可证密钥(如果有并继续),或按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]
按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
按ENTER
IP the FTP server will listen on (empty for same as daemon): [108.61.212.243]
FTP server port: [21]
按ENTER
Block FTP upload of .jar files and other executables (potentially dangerous plugins)? [y]/n n
按ENTER 按n,然后按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
输入您的MySQL密码,然后按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
按ENTER
`***` `*** INSTALLING`
(在此处显示详细输出)
*** 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.
按ENTER
``
In case you want to rerun this script you can save the entered settings.
Save entered settings? ([y]/n)
按ENTER
Saving settings to 'setup.config'.
如果没有遇到任何错误,则可以转到yourdomain.com/multicraft或yourserverIP / multicraft。
您现在将在Multicraft面板安装程序中。
首先按START INSTALLATION
,然后查看需求。如果服务器满足所有要求,请按CONTINUE
,然后CONTINUE
再次按。
到达Database 1: PANEL
页面后,您将需要从数据库类型下拉列表中选择MySQL,然后填写所需的数据,包括密码。按下SAVE AND TEST
以初始化数据库。
数据库初始化之后,您可以继续进行下一步登录到面板。用户名为admin
,密码为admin
。
登录后,按CONTINUE
,然后转到下一个数据库部分Database 2: DAEMON
。再次选择MySQL,填写所需的数据,然后按CONTINUE
。
现在,您将转到最后一页Settings
。此处所需的唯一配置是将“管理员联系电子邮件”设置为您的电子邮件地址。然后按SAVE
。
最后,通过返回命令行并运行以下命令来启动Multicraft控制守护程序:
/home/minecraft/multicraft/bin/multicraft -v start
现在,您可以登录面板并控制您的Minecraft服务器。
在Arch Linux上使用Makepkg可以避免系统污染,确保仅安装必要的依赖关系。
快速学习如何在Ubuntu 16.04上安装OpenSIPS控制面板,为VoIP提供商提供支持的功能。
学习如何在Fedora 28上安装Akaunting,一款适合小型企业和自由职业者的开源会计软件。
使用其他系统?Mailtrain是一个基于Node.js和MySQL / MariaDB构建的开源自托管新闻通讯应用程序。
了解導致Minecraft延遲的原因和解決方案,包括優化伺服器性能和減少滯後的步驟。
勒索軟件攻擊呈上升趨勢,但人工智能能否幫助應對最新的計算機病毒?AI 是答案嗎?在這裡閱讀知道是 AI 布恩還是禍根
ReactOS,一個開源和免費的操作系統,這裡有最新版本。它能否滿足現代 Windows 用戶的需求並打倒微軟?讓我們更多地了解這種老式但更新的操作系統體驗。
Whatsapp 終於為 Mac 和 Windows 用戶推出了桌面應用程序。現在您可以輕鬆地從 Windows 或 Mac 訪問 Whatsapp。適用於 Windows 8+ 和 Mac OS 10.9+
閱讀本文以了解人工智能如何在小型公司中變得流行,以及它如何增加使它們成長並為競爭對手提供優勢的可能性。
最近,Apple 發布了 macOS Catalina 10.15.4 補充更新以修復問題,但似乎該更新引起了更多問題,導致 mac 機器變磚。閱讀這篇文章以了解更多信息