Create Your Own Status Page Using Cachet

  1. Beautifully crafted
  2. Translated into over 10 languages
  3. Powerful JSON API
  4. Two-factor authentication
  5. Scheduled maintenance
  6. Easy to use dashboard
  7. Markdown support for incident messages
  8. Subscriber notifications via email


  1. You must have Alibaba Cloud Elastic Compute Service (ECS) activated and verified your valid payment method. If you are a new user, you can get a free account in your Alibaba Cloud account. If you don’t know about how to set up your ECS instance, you can refer to this tutorial or quick-start guide. Your ECS instance must have at least 1GB RAM and 1 Core processor.
  2. A domain name registered from Alibaba Cloud. If you have already registered a domain from Alibaba Cloud or any other host, you can update its domain nameserver records.
  3. Root user access

Update the System

It is recommended to upgrade the system and all available packages before installing any new packages. Execute the following command to upgrade the available packages.
yum -y update

Install LAMP Stack

Once you have your system updated, you will need to install LAMP. So let’s install Apache web server, MariaDB and git using the following command.
yum -y install httpd mod_rewrite mariadb-server mariadb git

[root@Sajid ~]# php -v
PHP 7.1.19 (cli) (built: Jul 1 2018 07:20:27) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
Set root password? [Y/n] Y  
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

Installing Composer

The composer is a dependency for PHP and you’ll have to install it first before installing Cachet. Simply run below commands and they’ll do the job for you.
curl -sS | php
mv composer.phar /usr/bin/composer

Install Cachet

You have installed the LAMP stack and all other required dependencies to install Cachet. Now switch to web root directory and download Cachet from git, using the following command.
cd /var/www
git clone cachet

[root@Sajid cachet]# git tag -l
Generating optimized class loader
Compiling common classes
> php artisan config:cache
Configuration cache cleared!
Configuration cached successfully!
> php artisan route:cache
Route cache cleared!
Routes cached successfully!

Create Virtual Host

You will need to create a virtual host for your application to access it through the web. To create a virtual host use the following command.
nano /etc/httpd/conf.d/vhost.conf

<VirtualHost *:80>
ServerAdmin admin
DocumentRoot "/var/www/cachet/public"
ServerName YourDomain
ServerAlias www.YourDomain
<Directory "/var/www/cachet/public">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
ErrorLog "/var/log/httpd/"
CustomLog "/var/log/httpd/" combined

Web Interface

Open up your favorite web browser and visit http://YourDomainName/ and you’ll see the following web page on the screen.


In this tutorial, you have learned to install Cachet Status Page System on an Alibaba Cloud Elastic Compute Service (ECS) CentOS 7 server. You can now use the software to manage downtime and incidents. We hope now you have enough knowledge to work with Cachet.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website: