In this article, we will be installing BookStack Documentation Wiki on an Alibaba Cloud Elastic Compute Service (ECS) with CentOS 7. Here we are installing BookStack as a root user. And Nginx is a web server which is required to install BookStack, so first, you'll have to install nginx on your CentOS 7 system.
Now nginx web server is installed on your system. Next, you'll have to install PHP and PHP-FPM with some required extensions to install BookStack.
Add new 'webtatic' repository to the CentOS 7 system using rpm command below.
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Now install PHP and PHP-FPM with all the required extensions. Run following command to do so.
yum -y install php70w-fpm php70w-mcrypt php70w-curl php70w-cli php70w-mysql php70w-gd php70w-xsl php70w-json php70w-intl php70w-pear php70w-devel php70w-common php70w-mbstring php70w-tidy php70w-zip php70w-soap curl
Once, the PHP and PHP-FPM are installed on the server. Next, we need to edit the 'php.ini' configuration file.
(Here we are using nano
text editor to edit the configuration file. You can also install it using yum -y install nano
command.)
nano /etc/php.ini
Find the 'cgi.fix_pathinfo=1' line in the file and uncomment this line, then change the value to 0 like below.
cgi.fix_pathinfo=0
Save the file and exit from the text editor.
Now edit the pool configuration file using any text editor.
nano /etc/php-fpm.d/www.conf
Change the value of the user and group to 'nginx' like shown below.
user = nginx
group = nginx
Next, on the 'listen' line, change the value in the sock file as below.
listen = /var/run/php-fpm/php-fpm.sock
Next, find these below given lines in the file. Now uncomment lines and change the value as shown.
listen.owner = nginx
listen.group = nginx
listen.mode = 0660
Finally, uncomment the environmental attributes of file for PHP-FPM.
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
Save the file and exit from the text editor.
The configuration of PHP is completed now, finally, start PHP-FPM service and enable it to launch at boot time using the following command.
systemctl start php-fpm && systemctl enable php-fpm
Now you have successfully installed PHP and PHP-FPM, then you will need to install MariaDB, PHP composer and finalize your installation on BookStack following the steps in this tutorial.
ClipBucket does not restrict its installation to any specific operating system (OS). You can use any operating system (OS) of your choice; however, the installation steps would vary according to the choice of operating system.
In this tutorial, we will be installing and configuring ClipBucket and Nginx on an Alibaba Cloud Elastic Compute Service (ECS) instance with CentOS 7.
Pagekit is a modern open source and free content management system (CMS). Here you can get some tips in installing Pagekit CMS on CentOS 7.4.
Websoft9 MediaWiki is a pre-configured, ready to run image for running MediaWiki on Alibaba Cloud.MediaWiki is a open source wiki package written in PHP, originally used for Wikipedia.
This image contains Postgres Pro Standard Database 10.
Zabbix/Mamonsu monitoring solution is installed and preconfigured.
OS fixes for Meltdown and Spectre issues are applied.
L1 Terminal Fault vulnerability is eliminated.
This page gives the instructions on the php sdk for Image Search.
Log Service SDK for PHP,used to set/get log data to Alibaba Cloud Log Service.
Image Search is an intelligent image service based on deep learning and machine learning technology. By incorporating image recognition and search, it allows you to search by image across different industries and business scenarios. Image Search is developed to meet the requirements of searching and finding similar or identical images.
Known as "The world’s most advanced open source database", PostgreSQL enables OLTP databases that handle enterprise-level SQL statements, supports NoSQL data types such as JSON, XML and hstore, and supports GIS data processing.
This course starts from the comparison between OLTP and OLAP business types and then has an introduction to Greenplum database, which is quite widely used analytic type database in the world. Then there will be an introduction about the features and operations of HybridDB for PostgreSQL, which is a database service based on Greenplum.
Gartner Blockchain Cloud Service Report: Alibaba Cloud Ranks 2nd Globally
2,599 posts | 764 followers
FollowSajid Qureshi - September 13, 2018
Alibaba Clouder - May 15, 2019
Alibaba Clouder - May 14, 2019
Hiteshjethva - January 8, 2020
Alibaba Clouder - April 1, 2019
Hiteshjethva - December 12, 2019
2,599 posts | 764 followers
FollowElastic and secure virtual cloud servers to cater all your cloud hosting needs.
Learn MoreIdentify vulnerabilities and improve security management of Alibaba Cloud WAF and Anti-DDoS and with a fully managed security service
Learn MoreAn all-in-one service for log-type data
Learn MoreMore Posts by Alibaba Clouder