How to Install Multicraft on Centos 6 64bit
This is the text tutorial of the youtube tutorial series which can be found here: http://www.youtube.com/playlist?list=PL133C2C2E824C65A4<div
Before you start make sure nano is installed by typing this in SSH:Code:
yum install nano
And disable SELinux:Code:
Installing MySQL 5:
To install MySQL, we do this:
yum install mysql mysql-server
Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:
chkconfig --levels 235 mysqld on
Set passwords for the MySQL root account:
[root@Server8 ~]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
Set root password? [Y/n] <-- Press ENTER
New password: <-- your new root mysql password
Re-enter new password: <-- re-enter your new root mysql password
Password updated successfully!
Reloading privilege tables..
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
Remove anonymous users? [Y/n] <-- Press ENTER
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] <-- Press ENTER
By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] <-- Press ENTER
- Dropping test database...
- Removing privileges on test database...
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] <-- Press ENTER
All done! If you've completed all of the above steps, your MySQL
installation should now be secure.
Thanks for using MySQL!
yum install httpd
Now configure your system to start Apache at boot time...
chkconfig --levels 235 httpd on
... and start Apache:
Apache's default document root is /var/www/html on CentOS, and the configuration file is /etc/httpd/conf/httpd.conf. Additional configurations are stored in the /etc/httpd/conf.d/ directory.
We can install PHP5 and the Apache PHP5 module as follows:
yum install php
We must restart Apache afterwards:
Getting MySQL Support In PHP5:
To get MySQL support in PHP, we can install the php-mysql package. It's a good idea to install some other PHP5 modules as well as you might need them for your applications. You can search for available PHP5 modules like this:
yum search php
Pick the ones you need and install them like this:
yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
Now restart Apache2:
phpMyAdmin is a web interface through which you can manage your MySQL databases.
First we enable the RPMforge repository on our CentOS system as phpMyAdmin is not available in the official CentOS 6.2 repositories:
Import the RPMforge GPG key:
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
On x86_64 systems:
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
On i386 systems:
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
phpMyAdmin can now be installed as follows:
yum install phpmyadmin
Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections not just from localhost (by commenting out the <Directory "/usr/share/phpmyadmin"> stanza):
# Web application to manage MySQL
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
Next we change the authentication in phpMyAdmin from cookie to http:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
yum install php-devel php-pear mysql-devel httpd-devel
pecl install pdo
PHP_PDO_SHARED=1 pecl install pdo_mysql
Now add these lines at the top of Php.ini:
To access the file type this in ssh:Code:
Now restart apache
Installing Sun/Oracle Java On Centos:
Download Sun/Oracle Java JDK/JRE 7u21 32-bit/64-bit RPM packages (choose 1 only)
Download Sun/Oracle Java 7u21 from here Java 7 Download. Select rpm package
Now upload that to your server via FTP to the /root directory this should take 10-15 minutes depending on your internet connection speed.
Once done you now have to enter this in ssh;
## JDK 32-bit ##
rpm -Uvh /root/jdk-7u25-linux-i586.rpm
## JDK 64-bit ##
rpm -Uvh /root/jdk-7u25-linux-x64.rpm
## JRE 32-bit ##
rpm -Uvh /root/jre-7u25-linux-i586.rpm
## JRE 64-bit ##
rpm -Uvh /root/jre-7u25-linux-x64.rpm
# wget http://www.multicraft.org/download -O multicraft.tar.gz
# wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
Extract the Multicraft archive:
tar xvzf multicraft.tar.gz
Change into the extracted directory:
Run the setup.sh script:
From there you will need to go through the multicraft installation process its pretty self explanatory but if you get stuck refer to the video tutorial, if there are enough requests i will create a text tutorial for the process.
Was this answer helpful?
Here is a short list of commonly used linux ssh commands, these may not apply to all linux...
IMPORTANT: Before changing your port, make sure the new port is whitelisted in your firewall, if...
In this tutorial we will show you how to Install Kloxo on your VPS. Step 1. You will...
Once you have recieved a welcome email this lets you know that your VPS order has been processed...
Installation is quite straightforward: cd /usr/src rm -fv csf.tgz wget...
Powered by WHMCompleteSolution