Ubuntu Setup

Before installing playSMS the server must be prepared by installing required applications.

In this chapter the preparation is written for Ubuntu with Apache2, MySQL and PHP.

  1. Upgrade Ubuntu

    sudo apt -y update
    sudo apt -y upgrade
    
  2. Install LAMP stack and some PHP extensions

    sudo apt install apache2 libapache2-mod-php5 mysql-server php5 php5-cli php5-mysql php5-mcrypt php5-gd php5-imap php5-curl
    
  3. Enable mcrypt extension manually

    sudo php5enmod mcrypt
    
  4. Restart apache2

    sudo service apache2 restart
    
  5. Browser http://localhost and see if the web server is serving

  6. Back to Linux console and setup MySQL server. Setup MySQL root password

    mysqladmin -uroot -p password <your_new_secure_password>
    

    MySQL first time password is empty, just press Enter when prompted.

  7. Create playSMS database

    mysqladmin -uroot -p create playsms
    
  8. Download playSMS package and save it in the server

We are ready to install playSMS. Next, you need to choose installation method. Choose one which is easier. For starter I recommend to choose installation using provided install script.

results matching ""

    No results matching ""