How to Install Zikula on Ubuntu 16.04

How to Install Zikula on Ubuntu 16.04

In this tutorial we are going to provide you with step by step instructions on how to install Zikula on an Ubuntu 16.04 VPS. Zikula is an open-source web application framework written in PHP.

Bu yazının yazı zaman, the latest stable version of Zikula olduğunu 2.0.1 ve gerektirir:

  • PHP 5.5.9 veya daha yüksek (tercihen son), with mbstring, JSON, cURL, Intl, mysql and GD PHP extensions enabled.
  • MySQL 5, MariaDB 5 veya sonraki bir sürümü
  • Apache web server 2.0 or higher compiled with mod_rewrite module and AllowOverride set to ‘All’ (please note, the default setting for AllowOverride in Apache 2.3.9 and higher is ‘None’).

This install guide assumes that Apache is already installed and configured on your virtual server.

Kuruluma başlayalım.

Make sure your server OS packages are fully up-to-date:

apt-get update 
apt-get upgrade

Install the required packages:

apt-get install php7.0-curl php7.0-gd php7.0-mbstring php7.0-mysql php7.0-intl

Enable Apache rewrite module if it is not already done so:

a2enmod yeniden yazmak

Değişikliklerin etkili olması için Apache hizmetini yeniden başlatın:

hizmet apache2 yeniden başlatma

Install Zikula

Download the latest version of Zikula available at https://github.com/zikula/core/releases to the /opt/ directory on the server:

cd /opt/
wget https://github.com/zikula/core/releases/download/2.0.1/Zikula_Core-2.0.1.zip
unzip Zikula_Core-2.0.1.zip
mv 2.0 /var/www/html/zikula

Tüm dosyaların web sunucusu tarafından okunabilir olmak zorunda, çok uygun bir mülkiyet ayarlayın:

chown www-data:www-data -R /var/www/html/zikula

Yeni bir MySQL veritabanı ve kullanıcı oluşturun:

mysql -u root -p
mysql> SET GLOBAL sql_mode='';
mysql> CREATE DATABASE zikuladb;
mysql> CREATE USER 'zikulauser'@'localhost' IDENTIFIED BY 'y0uR-pa5sW0rd';
mysql> GRANT ALL PRIVILEGES ON zikuladb.* TO 'zikulauser'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> çıkın

Do not forget to replace ‘y0uR-pa5sW0rd’ with a strong password.

Create a new virtual host directive in Apache. Örneğin, create a new Apache configuration file named ‘zikula.conf’ on your virtual server:

touch /etc/apache2/sites-available/zikula.conf
ln -s /etc/apache2/sites-available/zikula.conf /etc/apache2/sites-enabled/zikula.conf
vi /etc/apache2/sites-available/zikula.conf

O zaman, Aşağıdaki satırları ekleyin:

<Sanal ana bilgisayar *: 80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/zikula/
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/zikula/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Dizin>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</Sanal ana bilgisayar>

000-default.conf dosyasını kaldırın:

RM /etc/apache2/sites-enabled/000-default.conf

Apache web sunucusu değişikliklerin etkili olabilmesi için yeniden başlatın:

hizmet apache2 yeniden başlatma

Open http://your-domain.com in your favorite web browser and follow the easy instructions on the install screen inserting the necessary information as requested:

Database type: MySQL
Storage Engine: InnoDB
Database Host: localhost
Database Username: zikulauser
Database Password: y0uR-pa5sW0rd   // change this password with your actual password
Database Name: zikuladb

Sonraki sayfada, create a new Zikula administrator account.

Click ‘Begin Installer’.

İşte böyle. Zikula has been installed on your server.

Log in to the Zikula administration back-end and start creating new content, install new extensions, add new users and so on…

How to Install Zikula on Ubuntu 16.04

Eğer varsa bir Zikula VPS Hosting with us, simply ask our expert Linux administrators to install it for you. They’re available 24/7, and will be able to help you solve this issue.

Kaynak

Cevap bırak