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 우분투 16.04 VPS. Zikula is an open-source web application framework written in PHP.

이 자습서를 작성 하는 시간에, the latest stable version of Zikula 은 2.0.1 그리고 그것은 요구 한다:

  • PHP 5.5.9 또는 더 높은 (되도록이면 최신), with mbstring, JSON, 컬, Intl, mysql and GD PHP extensions enabled.
  • MySQL 5, MariaDB 5 이상
  • 아파치 웹 서버 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.

설치부터 시작 하자.

서버 운영 체제 패키지는 최신 상태로 있는지 확인 합니다.

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

그것은 이미 이렇게 하지 하는 경우 아파치 재작성 모듈을 활성화:

a2enmod 재작성

변경 내용을 적용 하려면 아파치 서비스를 다시 시작:

apache2 서비스를 다시 시작

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

모든 파일 웹 서버에서 읽을 수 있다, 그래서 적절 한 소유권 설정:

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

Create a new MySQL database and user:

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> 종료

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

아파치에 새로운 가상 호스트 지시문을 만듭니다. 예를 들어, 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

다음, 다음 줄을 추가:

<VirtualHost *: 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
</디렉터리>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

000-default.conf 파일 제거:

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

적용 하는 변경에 대 한 아파치 웹 서버를 다시 시작:

apache2 서비스를 다시 시작

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

다음 페이지에서, create a new Zikula administrator account.

Click ‘Begin Installer’.

그건. 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

당신이 가진다면는 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.

소스

답을 남겨주세요