For all visitors site Eskript.info a big Hello!

By popular request, writing the installation instructions roulette on MySQL.

To begin with, we need a VPS server, buy it wherever you want, but preferably not less than 1 GB of RAM.
After purchase, install on VPS Ubuntu 14.04 64 bit.

After that, connect to our server using the program putty - Download

Also connect via winscp - dowload

Next, enter these commands in turn:

sudo apt-get update

apt-get install curl

// y and n, just press enter

sudo apt-get install -y build-essential

sudo apt-get install -y python-software-properties

sudo apt-get install -y php5

sudo apt-get install -y apache2

sudo apt-get install -y libapache2-mod-php5

sudo apt-get install -y mysql-server

//Come up with a pass for the database. In the following we will need it!

sudo apt-get install -y php5-mysql

sudo apt-get install -y php5-curl

sudo apt-get install -y php5-gd

sudo apt-get install -y php5-mcrypt

sudo apt-get install -y git-core

sudo apt-get install -y phpmyadmin

//Enter our pass from the database.

apt-get install unzip

curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -

apt-get install --yes nodejs

apt-get install --yes build-essential

sudo a2enmod rewrite

sudo /etc/init.d/apache2 restart

curl -sS https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

sudo apt-get update

sudo apt-get install tcl8.5

wget http://download.redis.io/releases/redis-stable.tar.gz

tar xzf redis-stable.tar.gz

cd redis-stable

make test

sudo make install

cd utils

sudo ./install_server.sh //enter 6379

Next, go to the folder /etc/redis/
The open the file 6379.conf For: #bind replace: bind

Now go to the directory /etc/apahe2/
Open the file: apache2.conf there are 4 lines: AllowOverride None, and replace them with: AllowOverride All

If you are not running phpmyadmin. addition the to the apache2 configuration

Include /etc/phpmyadmin/apache.conf

Next, go to the directory /etc/apahe2/sites-available/
Open the file: 000-default.conf

Looking for the line: DocumentRoot /var/www/html/ . and add to it /public (get: DocumentRoot /var/www/html/public)
Back in putty, and put this:

service redis_6379 restart
service apache2 restart

Most of the work we have completed!

Now you need to open the folder containing the script, and edit it the 2 files.
For this we need a database, we poluchaem in phpmyadmin. That would get there follow the link: www.yousite.com/phpmyadmin

We are asked to log in to do this, we must prescribe, user: root ; Pass: the One you established when installing mysql;

After login create a database

After we created the database and filled in the base itself, go back to the folder with the script, find the file: .env

Open it, and enter our data from the database.

Save the file and close it. Now go to the folder youscript/config , Find the file: database.php

Open it, and enter the database.

After editing the files in the script, we need to separavit it to the archive .zip , in zip, TC server will only unpack it.

After the Boxing of files, going back to our ftp client, go to the directory /var/www/html, and throws back the files.

Go to putty and write:
CD to /var/www/HTML

unzip namezip.zip

Updated catalog, and what we see, our archive is unpacked.

Now write in putty:

chmod -R 777 /var/www

chmod -R 777 /var/www/html/storage

That's all, we should all earn, go to our website and see ustanovleny us the script! (if you have problems write in comments, we will help you)шаблоны для dle 11.2
The administration is not responsible for the material.

In order to download from the site, just sign up!

  • kwizt
  • 14-12-2016, 19:21
  • 2 110


how to change rubelt to dollar????
Users of Guests are not allowed to comment this publication.

Copyright © ESKRIPT.INFO 2016-2017