Install WebsiteBaker pada Ubuntu 18.04

WebsiteBaker adalah sistem manajemen konten sumber terbuka gratis, open source, mudah dan aman, fleksibel dan ditulis dalam PHP. Ini dirancang khusus untuk memungkinkan penggunanya menghasilkan situs web dengan mudah. Sederhana dan mudah dipasang sehingga merupakan pilihan terbaik bagi perancang, pengembang, dan pengguna. WebsiteBaker hadir dengan banyak fitur seperti, antarmuka yang mudah digunakan, dukungan multi-bahasa, editor WYSIWYG, Acl berbasis grup, Manajemen file dan media dan banyak lagi.

Step by Step :

  1. Install LAMP Server
    $ sudo apt-get install apache2 mariadb-server -y
  2. Install PHP Versi 7.2
    $ sudo apt-get install php7.2 libapache2-mod-php7.2 php7.2-intl php7.2-mysql php7.2-cli php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-zip php7.2-curl unzip wget -y
  3. Edit file php.ini
    $ sudo nano /etc/php/7.0/apache2/php.iniLalu set seperti ini

    session.use_cookies = 1
    session.save_path = “/var/lib/php/sessions”
    session.cookie_path = /

  4. Start service mariadb dan apache$ sudo systemctl start apache2
    $ sudo systemctl start mariadb
    $ sudo systemctl enable apache2
    $ sudo systemctl enable mariadb
  5. Configurasi MariaDB$ sudo mysql_secure_installation

    lalu akan muncul seperti ini

    Enter current password for root (enter for none): ENTER

    Set root password? [Y/n]: N
    Remove anonymous users? [Y/n]: Y
    Disallow root login remotely? [Y/n]: Y
    Remove test database and access to it? [Y/n]: Y
    Reload privilege tables now? [Y/n]: Y

  6. Login MariaDB dan membuat database$ mysql -u root -p

    Enter password root untuk membuat database :

    MariaDB [(none)]> CREATE DATABASE websitebkdb;
    MariaDB [(none)]> CREATE USER ‘websitebk’@’localhost’ IDENTIFIED BY ‘mypassword’;
    MariaDB [(none)]> GRANT ALL ON websitebkdb.* TO ‘websitebk’@’localhost’ IDENTIFIED BY ‘mypassword’ WITH GRANT OPTION;
    MariaDB [(none)]> FLUSH PRIVILEGES;
    MariaDB [(none)]> exit;

  7. Install WebsiteBaker dengan download paket tarballnya$ cd /tmp
    $ wget https://addon.websitebaker.org/media/wbaddons/3c4e79979d0cc1ea7c6774f00bc2293e/WebsiteBaker-2_12_1.zip
  8. Membuat direktory WebsiteBaker dan unzip paket tarball
    $ sudo mkdir /var/www/html/websitebaker
    $ unzip WebsiteBaker-2_12_1.zip -d /var/www/html/websitebaker
  9. Ganti file ini config.php.new
    $ cd /var/www/html/websitebaker
    $ sudo mv config.php.new config.php
  10. Set permission untuk direktory WebsiteBaker
    $ sudo chown -R www-data:www-data /var/www/html/websitebaker
    $ sudo chmod -R 755 /var/www/html/websitebaker
  11. Membuat apache vhost$ sudo nano /etc/apache2/conf.d/website.conf

  12. Enable VirtualHost$ sudo a2ensite websitebaker
  13. Rewrite module dan restart apache$ sudo a2enmod rewrite
    $ sudo systemctl restart apache2
  14. Access WebsiteBaker pada browser http://example.com

Di tulis oleh: