How to install Yclas Self-hosted on Digital Ocean, VULTR or Linode

Introduction

Let’s start by creating the image / installing server

In this guide we will teach you how to install Yclas Self Hosted in a VPS. We will be covering, Digital Ocean, VULTR and Linode. Here are some requirements that you have to cover before proceeding:

Requirements

  • Apache 2+

    • PHP 5.6+

    • Short Tags

    • GD support

    • mod_rewrite

    • mcrypt

    • Gettext

    • Curl

    • MySQL 5+

    We provide guides for you in every step of the way!

Guides

For Digital Ocean

For VULTR

Follow this guide to install LAMP.

Linode

Follow this guide to install LAMP.

RoseHosting.com

Follow this guide to install it on Debian or contact their support team and they will install it for free.

Creating your user Database

In order to install Yclas Self-Hosted, you will need a Database and a Username.

Log in to MySQL with the root account. That’s how it will look:

mysql -u root -p

The system will prompt you for a password. You can use your MySQL root as a password.

Now, create a database that you’ll use with Yclas. We will call it yclas in the following example.

CREATE DATABASE yclas;

Next, create a database user and assign a password. You can replace the username ycuser and the password with your own password.

CREATE USER ycuser@localhost IDENTIFIED BY 'password';

Next, grant permission to access the database.

GRANT ALL PRIVILEGES ON yclas.* TO ycuser@localhost;

Now set the new user and then reload the privileges.

FLUSH PRIVILEGES;

Exit MySQL

exit

Install Yclas Self-hosted

  • Download install-yclas.php.
  • Upload it to Apache’s document root.
  • Run http://yourdomain.com/install-yclas.php.
  • Press Download and Install.
  • Follow the steps.
  • Log in to your Admin Panel, create some Categories and Locations.