Create Your Own Status Page Using Cachet

Prerequisites

Update the System

Install LAMP Stack

[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

Install Cachet

[root@Sajid cachet]# git tag -l
v0.1.0-alpha
v1.0.0
v1.1.0
...
v2.3.8
v2.3.9
DB_DATABASE=cachet
DB_USERNAME=homestead
DB_PASSWORD=secret
DB_PORT=null
DB_DATABASE=cachet_data
DB_USERNAME=cachet_user
DB_PASSWORD=StrongPassword
DB_PORT=3306
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

<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
</Directory>
ErrorLog "/var/log/httpd/status.yourdomain.com-error_log"
CustomLog "/var/log/httpd/status.yourdomain.com-access_log" combined
</VirtualHost>

Web Interface

Conclusion

--

--

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