• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Install Open Source Status Page Cachet on Ubuntu 16.04

By Abhishek Ghosh August 18, 2017 8:02 pm Updated on August 18, 2017

Install Open Source Status Page Cachet on Ubuntu 16.04

Advertisement

There is lot of buzz with Cachet. I wasted hours to install Cachet on new subdomain, install LAMP, configured HSTS, changed CAA Record and now I can give you warranty that it does not worth the effort to use this script in case you have psychological problem of getting perfect things. It is worser than a good WordPress plugin like WP Statistics at backend. However, as I installed, here is how to install open source status page Cachet on Ubuntu 16.04 – you can test with plain HTTP. Cachet is free, basic PHP-MySQL based self hosted status page web app. These new types of PHP applications are no way good software development. You can write a PHP script yourself to create ping powered based beautiful status page with lot of graphs like GitHub :

Vim
1
https://status.github.com/graphs/past_day

 

You can use Aruba Cloud’s 1GB RAM VMWare instance for 1 Euro per month cost or VPSDime 6GB RAM OpenVZ instance for $7 per month cost to test. Use a separate server and domain to test. As alternative to Cachet, I can show you Checkup and Staytus :

Vim
1
2
https://github.com/sourcegraph/checkup
https://github.com/adamcooke/staytus

In both cases, you possibly need a separate server to test.

Advertisement

---

 

How To Install Open Source Status Page Cachet on Ubuntu 16.04

 

Frankly you will need to prepare a full LAMP server with HSTS. For that, follow our guide on how to install Apache2 on Ubuntu 16.04.

You installed Apache2, MySQL, PHP. First create a database, you can use root user to test :

Vim
1
2
3
4
5
6
7
mysql_secure_installation
mysql -u root -p
# after login to MySQL server
CREATE DATABASE cachet;
FLUSH PRIVILEGES;
q
# hit enter key

Check if any component missed to get installed :

Vim
1
sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-mbstring php7.0-curl php7.0-zip php7.0-gd php7.0-mysql php7.0-mcrypt curl composer

Normally Apache web root is at /var/www/html. Change directory to /var/www/html and clone the git repo :

Vim
1
2
3
4
5
git clone https://github.com/cachethq/Cachet.git cachet
cd cachet
chown www-data:www-data -R /var/www/html/cachet/
mv .env.example .env
nano .env

Change that .env files :

Vim
1
2
3
4
5
6
7
...
APP_URL=http://localhost -> APP_URL=http://your-domain-name
...
DB_DATABASE=your-database-name
DB_USERNAME=your-database-username
DB_PASSWORD=your-database-password
...

Now run :

Vim
1
2
3
sudo composer install --no-dev -o
php artisan key:generate
php artisan app:install

Now change directory to :

Vim
1
2
cd /etc/apache2/sites-available/
ls

Edit that default config file to something like this, notice that the path – /var/www/html/cachet/public :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<VirtualHost *:80>
ServerName status.thecustomizewindows.com
Protocols h2 http/1.1
ServerAdmin admin@thecustomizewindows.com
DocumentRoot /var/www/html/cachet/public
<Directory /var/www/html/cachet/public/>
        AllowOverride All
        </Directory>
        
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    
    <Directory /var/www/html/cachet/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
 
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
 
 
</VirtualHost>

Restart Apache :

Vim
1
systemctl restart apache2

Install Open Source Status Page Cachet on Ubuntu 16-04

From your DNS, add your server’s IP to some subdomain like status.thecustomizewindows.com and access your fresh Cachet installation on the domain via browser to run the setup wizard.

Tagged With An open source status page system for everyone , install cachet with nginx ubuntu , install cachet windows , install cachet ubuntu , https://thecustomizewindows com/2017/08/install-open-source-status-page-cachet-ubuntu-16-04/ , download cachet vm , cachet status install , cachet auto installer ubuntu , cachet 2 3 vm , install chachet on ubuntu
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install Open Source Status Page Cachet on Ubuntu 16.04

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install PHP 7.2 on Ubuntu 18.04 LTS Running Apache2, Percona MySQL

    We Will Install PHP 7.2 on Ubuntu 18.04 LTS Running Apache2, Percona MySQL. That will create a typical LAMP server setup, enough to run PHP-MySQL web applications like WordPress.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy