Instalando o Cachet um sistema de página de status open source

Cachet é uma página de status para serviços mantidos pela sua empresa/administração. Quem sabe você ja tenha acessado https://status.ix.br para verificar se o IX estava passando por alguma problema, IX.BR usa o Cachet. É uma ferramenta que ira ajuda a comunicar o tempo de atividade e o tempo de inatividade de seus aplicativos/serviços e a compartilhar informações sobre quaisquer interrupções.

Ele é desenvolvido em PHP, portanto, se você já possui um servidor LAMP ou LEMP, é fácil de instalar. Ele tem uma interface limpa e é projetado para ser responsivo, de modo que pode funcionar em todos os dispositivos.

Cachet não monitora seus sites ou servidores quanto ao tempo de inatividade; O Cachet registra incidentes, que podem ser atualizados manualmente por meio da interface web ou com a API do Cachet. Se você estiver procurando por soluções de monitoramento, confira o tutorial do Zabbix.

Neste tutorial, vou configurar uma página de status com Cachet no Debian 10.

Requisitos:
Como base irei fazer a instalação no Debian 10 limpa (sem nenhuma instalação de pacotes)

1 $ su -
2 # apt upda; apt upgrade
Copiar
1 # apt install wget apache2 apache2-utils libapache2-mod-php \
php php-mysql php-cli php-pear php-gmp php-gd php-bcmath \
php-mbstring php-curl php-xml php-zip php-apcu php-fpm \
mariadb-server mariadb-client zipCopiar

Como estou me baseando por umas instalação limpa, vou setar a senha do mariaDb/Mysql e em seguida já criar nosso banco para o cachet.

1 # mariadb -u root
Copiar

Não equeça de alterar as senhas, recomendo você criar uma senha aleatória em https://senhasegura.remontti.com.br/

1 USE mysql;
2 UPDATE user SET password=PASSWORD('SENHA_ROOT') WHERE User='root';
3 UPDATE user SET plugin="mysql_native_password";
4 
5 CREATE DATABASE cachet;
6 GRANT ALL ON cachet.* TO 'cachet' IDENTIFIED BY 'SUA_SENHA_CACHET';
7 FLUSH PRIVILEGES;
8 EXIT;
Copiar

Entre no diretório temp, onde iremos fazer o download mais recente do Composer (Não irei instala-lo via apt)

1 # cd /tmp/
2 # wget https://getcomposer.org/installer -O installer.php
3 # php installer.php
Copiar
1 All settings correct for using Composer
2 Downloading...
3 
4 Composer (version 2.0.9) successfully installed to: /tmp/composer.phar
5 Use it: php composer.phar
Copiar
1 # mv composer.phar /usr/bin/composer
2 # composer --version
Copiar
1 Do not run Composer as root/super user! See https://getcomposer.org/root for details
2 Continue as root/super user [yes]? yes
3 Composer version 2.0.9 2021-01-27 16:09:27
Copiar

Vamos propriamente então ao projeto Cachet

1 # wget https://github.com/CachetHQ/Cachet/archive/2.4.zip
2 # unzip 2.4.zip -d /var/www/
3 # mv /var/www/Cachet-2.4/ /var/www/cachet
4 # cp /var/www/cachet/.env.example /var/www/cachet/.env
5 # vim /var/www/cachet/.env
Copiar

Altere as informacções de usuario e senha do mariaDB de acordo com o que você criou.

1 DB_USERNAME=homestead
2 DB_PASSWORD=secret
Copiar

Para

1 DB_USERNAME=cachet
2 DB_PASSWORD=SUA_SENHA_CACHET
Copiar
1 # cd /var/www/cachet
2 # composer install --no-dev -o
Copiar
1 Do not run Composer as root/super user! See https://getcomposer.org/root for details
2 Continue as root/super user [yes]? yes
3 Installing dependencies from lock file
4 Verifying lock file contents can be installed on current platform.
5 Package operations: 97 installs, 0 updates, 0 removals
6 - Downloading kylekatarnls/update-helper (1.2.1)
7 - Downloading symfony/polyfill-ctype (v1.18.0)
8 - Downloading vlucas/phpdotenv (v2.6.6)
9 - Downloading symfony/css-selector (v4.4.11)
10 - Downloading tijsverkoyen/css-to-inline-styles (2.2.3)
11 - Downloading symfony/polyfill-php80 (v1.18.0)
12 - Downloading symfony/polyfill-php72 (v1.18.0)
13 - Downloading symfony/var-dumper (v4.4.11)
14 - Downloading symfony/routing (v4.4.11)
15 - Downloading symfony/process (v4.4.11)
16 - Downloading symfony/polyfill-php73 (v1.18.0)
17 - Downloading symfony/polyfill-php70 (v1.18.0)
18 - Downloading symfony/polyfill-intl-normalizer (v1.18.0)
19 - Downloading symfony/polyfill-intl-idn (v1.18.0)
20 - Downloading symfony/mime (v4.4.11)
21 - Downloading symfony/http-foundation (v4.4.11)
22 - Downloading symfony/event-dispatcher-contracts (v1.1.9)
23 - Downloading symfony/event-dispatcher (v4.4.11)
24 - Downloading psr/log (1.1.3)
25 - Downloading symfony/debug (v4.4.11)
26 - Downloading symfony/error-handler (v4.4.11)
27 - Downloading symfony/http-kernel (v4.4.11)
28 - Downloading symfony/finder (v4.4.11)
29 - Downloading psr/container (1.0.0)
30 - Downloading symfony/service-contracts (v1.1.9)
31 - Downloading symfony/console (v4.4.11)
32 - Downloading symfony/polyfill-iconv (v1.18.0)
33 - Downloading doctrine/lexer (1.0.2)
34 - Downloading egulias/email-validator (2.1.18)
35 - Downloading swiftmailer/swiftmailer (v6.2.3)
36 - Downloading ramsey/uuid (3.9.3)
37 - Downloading psr/simple-cache (1.0.1)
38 - Downloading opis/closure (3.5.5)
39 - Downloading symfony/translation-contracts (v1.1.9)
40 - Downloading symfony/translation (v4.4.11)
41 - Downloading nesbot/carbon (1.39.1)
42 - Downloading monolog/monolog (1.25.5)
43 - Downloading league/flysystem (1.0.70)
44 - Downloading ralouphie/getallheaders (3.0.3)
45 - Downloading psr/http-message (1.0.1)
46 - Downloading guzzlehttp/psr7 (1.6.1)
47 - Downloading guzzlehttp/promises (v1.3.1)
48 - Downloading guzzlehttp/guzzle (6.5.5)
49 - Downloading laravel/slack-notification-channel (v1.0.3)
50 - Downloading php-http/promise (1.1.0)
51 - Downloading php-http/httplug (v1.1.0)
52 - Downloading php-http/guzzle6-adapter (v1.1.1)
53 - Downloading psr/http-factory (1.0.1)
54 - Downloading zendframework/zend-diactoros (2.2.1)
55 - Downloading lcobucci/jwt (3.3.2)
56 - Downloading nexmo/client-core (1.8.1)
57 - Downloading nexmo/client (1.9.1)
58 - Downloading laravel/nexmo-notification-channel (v1.0.1)
59 - Downloading erusev/parsedown (1.7.4)
60 - Downloading dragonmantank/cron-expression (v2.3.0)
61 - Downloading doctrine/inflector (1.3.1)
62 - Downloading laravel/framework (v5.7.29)
63 - Downloading alt-three/badger (v5.1.0)
64 - Downloading alt-three/bus (v4.5.0)
65 - Downloading league/commonmark (0.18.5)
66 - Downloading graham-campbell/guzzle-factory (v3.0.4)
67 - Downloading alt-three/emoji (v7.0.0)
68 - Downloading alt-three/twitter (v3.1.0)
69 - Downloading alt-three/validator (v4.5.0)
70 - Downloading mtdowling/jmespath.php (2.6.0)
71 - Downloading aws/aws-sdk-php (3.147.10)
72 - Downloading asm89/stack-cors (1.3.0)
73 - Downloading barryvdh/laravel-cors (v0.11.4)
74 - Downloading composer/ca-bundle (1.2.7)
75 - Downloading bugsnag/bugsnag (v3.21.0)
76 - Downloading bugsnag/bugsnag-psr-logger (v1.4.3)
77 - Downloading bugsnag/bugsnag-laravel (v2.19.0)
78 - Downloading chillerlan/php-traits (1.1.13)
79 - Downloading chillerlan/php-qrcode (2.0.8)
80 - Downloading doctrine/event-manager (1.1.0)
81 - Downloading doctrine/cache (1.10.2)
82 - Downloading doctrine/dbal (v2.9.3)
83 - Downloading fideloper/proxy (4.4.0)
84 - Downloading graham-campbell/security-core (v1.0.3)
85 - Downloading graham-campbell/security (v6.2.0)
86 - Downloading graham-campbell/binput (v6.2.0)
87 - Downloading graham-campbell/exceptions (v11.3.0)
88 - Downloading graham-campbell/markdown (v10.3.1)
89 - Downloading jakub-onderka/php-console-color (v0.2)
90 - Downloading jenssegers/date (v3.5.0)
91 - Downloading nikic/php-parser (v4.7.0)
92 - Downloading jakub-onderka/php-console-highlighter (v0.4)
93 - Downloading dnoegel/php-xdg-base-dir (v0.1.1)
94 - Downloading psy/psysh (v0.9.12)
95 - Downloading laravel/tinker (v1.0.10)
96 - Downloading mccool/laravel-auto-presenter (7.4.1)
97 - Downloading symfony/polyfill-util (v1.18.0)
98 - Downloading symfony/polyfill-php56 (v1.18.0)
99 - Downloading paragonie/constant_time_encoding (v2.3.0)
100 - Downloading pragmarx/google2fa (v5.0.0)
101 - Downloading predis/predis (v1.1.1)
102 - Downloading twig/twig (v2.13.0)
103 - Installing kylekatarnls/update-helper (1.2.1): Extracting archive
104 - Installing symfony/polyfill-ctype (v1.18.0): Extracting archive
105 - Installing vlucas/phpdotenv (v2.6.6): Extracting archive
106 - Installing symfony/css-selector (v4.4.11): Extracting archive
107 - Installing tijsverkoyen/css-to-inline-styles (2.2.3): Extracting archive
108 - Installing symfony/polyfill-php80 (v1.18.0): Extracting archive
109 - Installing symfony/polyfill-php72 (v1.18.0): Extracting archive
110 - Installing symfony/var-dumper (v4.4.11): Extracting archive
111 - Installing symfony/routing (v4.4.11): Extracting archive
112 - Installing symfony/process (v4.4.11): Extracting archive
113 - Installing symfony/polyfill-php73 (v1.18.0): Extracting archive
114 - Installing symfony/polyfill-php70 (v1.18.0): Extracting archive
115 - Installing symfony/polyfill-intl-normalizer (v1.18.0): Extracting archive
116 - Installing symfony/polyfill-intl-idn (v1.18.0): Extracting archive
117 - Installing symfony/mime (v4.4.11): Extracting archive
118 - Installing symfony/http-foundation (v4.4.11): Extracting archive
119 - Installing symfony/event-dispatcher-contracts (v1.1.9): Extracting archive
120 - Installing symfony/event-dispatcher (v4.4.11): Extracting archive
121 - Installing psr/log (1.1.3): Extracting archive
122 - Installing symfony/debug (v4.4.11): Extracting archive
123 - Installing symfony/error-handler (v4.4.11): Extracting archive
124 - Installing symfony/http-kernel (v4.4.11): Extracting archive
125 - Installing symfony/finder (v4.4.11): Extracting archive
126 - Installing psr/container (1.0.0): Extracting archive
127 - Installing symfony/service-contracts (v1.1.9): Extracting archive
128 - Installing symfony/console (v4.4.11): Extracting archive
129 - Installing symfony/polyfill-iconv (v1.18.0): Extracting archive
130 - Installing doctrine/lexer (1.0.2): Extracting archive
131 - Installing egulias/email-validator (2.1.18): Extracting archive
132 - Installing swiftmailer/swiftmailer (v6.2.3): Extracting archive
133 - Installing ramsey/uuid (3.9.3): Extracting archive
134 - Installing psr/simple-cache (1.0.1): Extracting archive
135 - Installing opis/closure (3.5.5): Extracting archive
136 - Installing symfony/translation-contracts (v1.1.9): Extracting archive
137 - Installing symfony/translation (v4.4.11): Extracting archive
138 - Installing nesbot/carbon (1.39.1): Extracting archive
139 - Installing monolog/monolog (1.25.5): Extracting archive
140 - Installing league/flysystem (1.0.70): Extracting archive
141 - Installing ralouphie/getallheaders (3.0.3): Extracting archive
142 - Installing psr/http-message (1.0.1): Extracting archive
143 - Installing guzzlehttp/psr7 (1.6.1): Extracting archive
144 - Installing guzzlehttp/promises (v1.3.1): Extracting archive
145 - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
146 - Installing laravel/slack-notification-channel (v1.0.3): Extracting archive
147 - Installing php-http/promise (1.1.0): Extracting archive
148 - Installing php-http/httplug (v1.1.0): Extracting archive
149 - Installing php-http/guzzle6-adapter (v1.1.1): Extracting archive
150 - Installing psr/http-factory (1.0.1): Extracting archive
151 - Installing zendframework/zend-diactoros (2.2.1): Extracting archive
152 - Installing lcobucci/jwt (3.3.2): Extracting archive
153 - Installing nexmo/client-core (1.8.1): Extracting archive
154 - Installing nexmo/client (1.9.1): Extracting archive
155 - Installing laravel/nexmo-notification-channel (v1.0.1): Extracting archive
156 - Installing erusev/parsedown (1.7.4): Extracting archive
157 - Installing dragonmantank/cron-expression (v2.3.0): Extracting archive
158 - Installing doctrine/inflector (1.3.1): Extracting archive
159 - Installing laravel/framework (v5.7.29): Extracting archive
160 - Installing alt-three/badger (v5.1.0): Extracting archive
161 - Installing alt-three/bus (v4.5.0): Extracting archive
162 - Installing league/commonmark (0.18.5): Extracting archive
163 - Installing graham-campbell/guzzle-factory (v3.0.4): Extracting archive
164 - Installing alt-three/emoji (v7.0.0): Extracting archive
165 - Installing alt-three/twitter (v3.1.0): Extracting archive
166 - Installing alt-three/validator (v4.5.0): Extracting archive
167 - Installing mtdowling/jmespath.php (2.6.0): Extracting archive
168 - Installing aws/aws-sdk-php (3.147.10): Extracting archive
169 - Installing asm89/stack-cors (1.3.0): Extracting archive
170 - Installing barryvdh/laravel-cors (v0.11.4): Extracting archive
171 - Installing composer/ca-bundle (1.2.7): Extracting archive
172 - Installing bugsnag/bugsnag (v3.21.0): Extracting archive
173 - Installing bugsnag/bugsnag-psr-logger (v1.4.3): Extracting archive
174 - Installing bugsnag/bugsnag-laravel (v2.19.0): Extracting archive
175 - Installing chillerlan/php-traits (1.1.13): Extracting archive
176 - Installing chillerlan/php-qrcode (2.0.8): Extracting archive
177 - Installing doctrine/event-manager (1.1.0): Extracting archive
178 - Installing doctrine/cache (1.10.2): Extracting archive
179 - Installing doctrine/dbal (v2.9.3): Extracting archive
180 - Installing fideloper/proxy (4.4.0): Extracting archive
181 - Installing graham-campbell/security-core (v1.0.3): Extracting archive
182 - Installing graham-campbell/security (v6.2.0): Extracting archive
183 - Installing graham-campbell/binput (v6.2.0): Extracting archive
184 - Installing graham-campbell/exceptions (v11.3.0): Extracting archive
185 - Installing graham-campbell/markdown (v10.3.1): Extracting archive
186 - Installing jakub-onderka/php-console-color (v0.2): Extracting archive
187 - Installing jenssegers/date (v3.5.0): Extracting archive
188 - Installing nikic/php-parser (v4.7.0): Extracting archive
189 - Installing jakub-onderka/php-console-highlighter (v0.4): Extracting archive
190 - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
191 - Installing psy/psysh (v0.9.12): Extracting archive
192 - Installing laravel/tinker (v1.0.10): Extracting archive
193 - Installing mccool/laravel-auto-presenter (7.4.1): Extracting archive
194 - Installing symfony/polyfill-util (v1.18.0): Extracting archive
195 - Installing symfony/polyfill-php56 (v1.18.0): Extracting archive
196 - Installing paragonie/constant_time_encoding (v2.3.0): Extracting archive
197 - Installing pragmarx/google2fa (v5.0.0): Extracting archive
198 - Installing predis/predis (v1.1.1): Extracting archive
199 - Installing twig/twig (v2.13.0): Extracting archive
200 Package alt-three/badger is abandoned, you should avoid using it. Use cachethq/badger instead.
201 Package alt-three/emoji is abandoned, you should avoid using it. Use cachethq/emoji instead.
202 Package alt-three/twitter is abandoned, you should avoid using it. Use cachethq/twitter instead.
203 Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.                                                                                                           
204 Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.                                                                                               
205 Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
206 Generating optimized autoload files
207 Carbon 1 is deprecated, see how to migrate to Carbon 2.
208 https://carbon.nesbot.com/docs/#api-carbon-2
209 You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
210 > Illuminate\Foundation\ComposerScripts::postAutoloadDump
211 > @php artisan package:discover
212 Discovered Package: alt-three/badger
213 Discovered Package: alt-three/emoji
214 Discovered Package: alt-three/twitter
215 Discovered Package: barryvdh/laravel-cors
216 Discovered Package: fideloper/proxy
217 Discovered Package: graham-campbell/binput
218 Discovered Package: graham-campbell/exceptions
219 Discovered Package: graham-campbell/markdown
220 Discovered Package: graham-campbell/security
221 Discovered Package: jenssegers/date
222 Discovered Package: laravel/nexmo-notification-channel
223 Discovered Package: laravel/slack-notification-channel
224 Discovered Package: laravel/tinker
225 Discovered Package: mccool/laravel-auto-presenter
226 Discovered Package: nesbot/carbon
227 Package manifest generated successfully.
228 38 packages you are using are looking for funding.
229 Use the `composer fund` command to find out more!
Copiar
1 # php artisan key:generate
Copiar
1 Application key set successfully.
Copiar
1 # php artisan cachet:install
Copiar
1 Do you want to configure Cachet before installing? (yes/no) [no]:
2 > no
3 Installing Cachet...
4 Clearing settings cache...
5 Settings cache cleared!
6 System was installed!
7 **************************************
8 *     Application In Production!     *
9 **************************************
10 Do you really wish to run this command? (yes/no) [no]:
11 > no
12 Command Cancelled!
13 Configuration cache cleared!
14 Configuration cached successfully!
15 Route cache cleared!
16 Routes cached successfully!
17 Copied Directory [/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views] To [/resources/views/errors]
18 Copied Directory [/vendor/laravel/framework/src/Illuminate/Notifications/resources/views] To [/resources/views/vendor/notifications]                                                                                                        
19 Copied Directory [/vendor/laravel/framework/src/Illuminate/Pagination/resources/views] To [/resources/views/vendor/pagination]                                                                                                              
20 Copied Directory [/vendor/laravel/framework/src/Illuminate/Mail/resources/views] To [/resources/views/vendor/mail]
21 Publishing complete.
22 Migration table created successfully.
23 Migrating: 2015_01_05_201324_CreateComponentGroupsTable
24 Migrated:  2015_01_05_201324_CreateComponentGroupsTable
25 Migrating: 2015_01_05_201444_CreateComponentsTable
26 Migrated:  2015_01_05_201444_CreateComponentsTable
27 Migrating: 2015_01_05_202446_CreateIncidentTemplatesTable
28 Migrated:  2015_01_05_202446_CreateIncidentTemplatesTable
29 Migrating: 2015_01_05_202609_CreateIncidentsTable
30 Migrated:  2015_01_05_202609_CreateIncidentsTable
31 Migrating: 2015_01_05_202730_CreateMetricPointsTable
32 Migrated:  2015_01_05_202730_CreateMetricPointsTable
33 Migrating: 2015_01_05_202826_CreateMetricsTable
34 Migrated:  2015_01_05_202826_CreateMetricsTable
35 Migrating: 2015_01_05_203014_CreateSettingsTable
36 Migrated:  2015_01_05_203014_CreateSettingsTable
37 Migrating: 2015_01_05_203235_CreateSubscribersTable
38 Migrated:  2015_01_05_203235_CreateSubscribersTable
39 Migrating: 2015_01_05_203341_CreateUsersTable
40 Migrated:  2015_01_05_203341_CreateUsersTable
41 Migrating: 2015_01_09_083419_AlterTableUsersAdd2FA
42 Migrated:  2015_01_09_083419_AlterTableUsersAdd2FA
43 Migrating: 2015_01_16_083825_CreateTagsTable
44 Migrated:  2015_01_16_083825_CreateTagsTable
45 Migrating: 2015_01_16_084030_CreateComponentTagTable
46 Migrated:  2015_01_16_084030_CreateComponentTagTable
47 Migrating: 2015_02_28_214642_UpdateIncidentsAddScheduledAt
48 Migrated:  2015_02_28_214642_UpdateIncidentsAddScheduledAt
49 Migrating: 2015_05_19_214534_AlterTableComponentGroupsAddOrder
50 Migrated:  2015_05_19_214534_AlterTableComponentGroupsAddOrder
51 Migrating: 2015_05_20_073041_AlterTableIncidentsAddVisibileColumn
52 Migrated:  2015_05_20_073041_AlterTableIncidentsAddVisibileColumn
53 Migrating: 2015_05_24_210939_create_jobs_table
54 Migrated:  2015_05_24_210939_create_jobs_table
55 Migrating: 2015_05_24_210948_create_failed_jobs_table
56 Migrated:  2015_05_24_210948_create_failed_jobs_table
57 Migrating: 2015_06_10_122216_AlterTableComponentsDropUserIdColumn
58 Migrated:  2015_06_10_122216_AlterTableComponentsDropUserIdColumn
59 Migrating: 2015_06_10_122229_AlterTableIncidentsDropUserIdColumn
60 Migrated:  2015_06_10_122229_AlterTableIncidentsDropUserIdColumn
61 Migrating: 2015_08_02_120436_AlterTableSubscribersRemoveDeletedAt
62 Migrated:  2015_08_02_120436_AlterTableSubscribersRemoveDeletedAt
63 Migrating: 2015_08_13_214123_AlterTableMetricsAddDecimalPlacesColumn
64 Migrated:  2015_08_13_214123_AlterTableMetricsAddDecimalPlacesColumn
65 Migrating: 2015_10_31_211944_CreateInvitesTable
66 Migrated:  2015_10_31_211944_CreateInvitesTable
67 Migrating: 2015_11_03_211049_AlterTableComponentsAddEnabledColumn
68 Migrated:  2015_11_03_211049_AlterTableComponentsAddEnabledColumn
69 Migrating: 2015_12_26_162258_AlterTableMetricsAddDefaultViewColumn
70 Migrated:  2015_12_26_162258_AlterTableMetricsAddDefaultViewColumn
71 Migrating: 2016_01_09_141852_CreateSubscriptionsTable
72 Migrated:  2016_01_09_141852_CreateSubscriptionsTable
73 Migrating: 2016_01_29_154937_AlterTableComponentGroupsAddCollapsedColumn
74 Migrated:  2016_01_29_154937_AlterTableComponentGroupsAddCollapsedColumn
75 Migrating: 2016_02_18_085210_AlterTableMetricPointsChangeValueColumn
76 Migrated:  2016_02_18_085210_AlterTableMetricPointsChangeValueColumn
77 Migrating: 2016_03_01_174858_AlterTableMetricPointsAddCounterColumn
78 Migrated:  2016_03_01_174858_AlterTableMetricPointsAddCounterColumn
79 Migrating: 2016_03_08_125729_CreateIncidentUpdatesTable
80 Migrated:  2016_03_08_125729_CreateIncidentUpdatesTable
81 Migrating: 2016_03_10_144613_AlterTableComponentGroupsMakeColumnInteger
82 Migrated:  2016_03_10_144613_AlterTableComponentGroupsMakeColumnInteger
83 Migrating: 2016_04_05_142933_create_sessions_table
84 Migrated:  2016_04_05_142933_create_sessions_table
85 Migrating: 2016_04_29_061916_AlterTableSubscribersAddGlobalColumn
86 Migrated:  2016_04_29_061916_AlterTableSubscribersAddGlobalColumn
87 Migrating: 2016_06_02_075012_AlterTableMetricsAddOrderColumn
88 Migrated:  2016_06_02_075012_AlterTableMetricsAddOrderColumn
89 Migrating: 2016_06_05_091615_create_cache_table
90 Migrated:  2016_06_05_091615_create_cache_table
91 Migrating: 2016_07_25_052444_AlterTableComponentGroupsAddVisibleColumn
92 Migrated:  2016_07_25_052444_AlterTableComponentGroupsAddVisibleColumn
93 Migrating: 2016_08_23_114610_AlterTableUsersAddWelcomedColumn
94 Migrated:  2016_08_23_114610_AlterTableUsersAddWelcomedColumn
95 Migrating: 2016_09_04_100000_AlterTableIncidentsAddStickiedColumn
96 Migrated:  2016_09_04_100000_AlterTableIncidentsAddStickiedColumn
97 Migrating: 2016_10_24_183415_AlterTableIncidentsAddOccurredAtColumn
98 Migrated:  2016_10_24_183415_AlterTableIncidentsAddOccurredAtColumn
99 Migrating: 2016_10_30_174400_CreateSchedulesTable
100 Migrated:  2016_10_30_174400_CreateSchedulesTable
101 Migrating: 2016_10_30_174410_CreateScheduleComponentsTable
102 Migrated:  2016_10_30_174410_CreateScheduleComponentsTable
103 Migrating: 2016_10_30_182324_AlterTableIncidentsRemoveScheduledColumns
104 Migrated:  2016_10_30_182324_AlterTableIncidentsRemoveScheduledColumns
105 Migrating: 2016_12_04_163502_AlterTableMetricsAddVisibleColumn
106 Migrated:  2016_12_04_163502_AlterTableMetricsAddVisibleColumn
107 Migrating: 2016_12_05_185045_AlterTableComponentsAddMetaColumn
108 Migrated:  2016_12_05_185045_AlterTableComponentsAddMetaColumn
109 Migrating: 2016_12_29_124643_AlterTableSubscribersAddPhoneNumberSlackColumns
110 Migrated:  2016_12_29_124643_AlterTableSubscribersAddPhoneNumberSlackColumns
111 Migrating: 2016_12_29_155956_AlterTableComponentsMakeLinkNullable
112 Migrated:  2016_12_29_155956_AlterTableComponentsMakeLinkNullable
113 Migrating: 2017_01_03_143916_create_notifications_table
114 Migrated:  2017_01_03_143916_create_notifications_table
115 Migrating: 2017_02_03_222218_CreateActionsTable
116 Migrated:  2017_02_03_222218_CreateActionsTable
117 Migrating: 2017_06_13_181049_CreateMetaTable
118 Migrated:  2017_06_13_181049_CreateMetaTable
119 Migrating: 2017_07_18_214718_CreateIncidentComponents
120 Migrated:  2017_07_18_214718_CreateIncidentComponents
121 Migrating: 2017_09_14_180434_AlterIncidentsAddUserId
122 Migrated:  2017_09_14_180434_AlterIncidentsAddUserId
123 Migrating: 2018_04_02_163328_CreateTaggablesTable
124 Migrated:  2018_04_02_163328_CreateTaggablesTable
125 Migrating: 2018_04_02_163658_MigrateComponentTagTable
126 Migrated:  2018_04_02_163658_MigrateComponentTagTable
127 Migrating: 2018_06_14_201440_AlterSchedulesSoftDeletes
128 Migrated:  2018_06_14_201440_AlterSchedulesSoftDeletes
129 Migrating: 2018_06_17_182507_AlterIncidentsAddNotifications
130 Migrated:  2018_06_17_182507_AlterIncidentsAddNotifications
131 Migrating: 2019_12_12_131400_AlterJobsDropReserved
132 Migrated:  2019_12_12_131400_AlterJobsDropReserved
133 Database seeding completed successfully.
134 Clearing cache...
135 Application cache cleared!
136 Cache cleared!
137 The [public/storage] directory has been linked.
138 Cachet is installed ⚡
Copiar

Acredito que esteja criando para rodalo em um domínio virtual, então segue um exemplo:

1 # vim /etc/apache2/sites-available/cachet.conf
Copiar
1 <virtualhost *:80>
2 ServerName status.remontti.com.br
3 ServerAlias cachet.remontti.com.br
4 ServerAdmin noc@remontti.com.br
5 DocumentRoot /var/www/cachet/public
6 <directory /var/www/cachet/public/ >
7 Options FollowSymLinks
8 AllowOverride All
9 </directory> 
10 LogLevel warn 
11 ErrorLog ${APACHE_LOG_DIR}/error_cachet.log
12 CustomLog ${APACHE_LOG_DIR}/access_cachet.log combined
13 </virtualhost>
Copiar

Habilite as configurações

1 # a2ensite cachet
Copiar

Caso irá roda-lo em um IP edite as configurações default, se fez da forma acima pode pular esta parte.

1 # vim /etc/apache2/sites-available/000-default.conf
Copiar
1 <VirtualHost *:80>
2 ServerAdmin webmaster@localhost
3 DocumentRoot /var/www/cachet/public
4 <directory /var/www/cachet/public/ >
5 Options FollowSymLinks
6 AllowOverride All
7 </directory>
8 ErrorLog ${APACHE_LOG_DIR}/error.log
9 CustomLog ${APACHE_LOG_DIR}/access.log combined
10 </VirtualHost>
Copiar

Ativaremos o mod de rescrita, ajustaremos as permissões do diretório para www-data e reiniciaremos o serviço apache2.

1 # a2enmod rewrite
2 # chown www-data. /var/www/cachet -R
3 # systemctl restart apache2
Copiar

Agora acesse “http://status.remontti.com.br/setup” para concluir a instalação

Para acessar sua Dashboard
http://status.remontti.com.br/dashboard
http://ou_seu_ip/dashboard

E em sua home você tem a página de status.
http://status.remontti.com.br
http://ou_seu_ip/

Para deixar mais profissional instale o Let’s Encrypt para assinar seu domínio.

Espero que tenha gostado!

Se quiser fazer uma doação para o café ficarei muito feliz pelo seu reconhecimento!

Related Posts

  • All Post
  • Documentos
  • Downloads
  • PROGRAMAÇÃO
  • Sem categoria
  • Tecnologia
  • VAGAS DEV
    •   Back
    • 6730
    • 6720
    •   Back
    • 7.0
    •   Back
    • Web
    • Mobile
    • GITHUB
    • Banco de Dados
    • Dicas
    • BackEnd
    • FrontEnd
    • MongoDB
    • Postgres
    • MySQL
    • SQL SERVER
    •   Back
    • Huawei
    • Cisco
    • 6730
    • 6720
    •   Back
    • Cisco
    • HUAWEI
    • NE40
    • NE8000
    •   Back
    • OLTS FTTH
    • Corporativos
    • Domésticos
    • RFC
    • FIBERHOME BRASIL
    • Roteador
    • Switch
    • Cisco
    • HUAWEI
    • NE40
    • NE8000
    • Huawei
    • Cisco
    • 6730
    • 6720
    •   Back
    • FIBERHOME BRASIL
    •   Back
    • Linux
    • Microsoft Windows
    •   Back
    • MongoDB
    • Postgres
    • MySQL
    • SQL SERVER
    •   Back
    • Sistemas
    • Monitoramento
    • Redes
    • Operacionais
    • Tutoriais
    • Linux
    • Microsoft Windows
    • ZABBIX
    • 7.0
    • OLTS FTTH
    • Corporativos
    • Domésticos
    • RFC
    • FIBERHOME BRASIL
    • Roteador
    • Switch
    • Cisco
    • HUAWEI
    • NE40
    • NE8000
    • Huawei
    • Cisco
    • 6730
    • 6720
    •   Back
    • NE40
    • NE8000
    •   Back
    • Operacionais
    • Tutoriais
    • Linux
    • Microsoft Windows
    •   Back
    • Roteador
    • Switch
    • Cisco
    • HUAWEI
    • NE40
    • NE8000
    • Huawei
    • Cisco
    • 6730
    • 6720
    •   Back
    • ZABBIX
    • 7.0

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Siga-nos

Recentes

No Posts Found!

Best Camping Shoes

Instagram

Categories

Edit Template

Receba novidades!

You have been successfully Subscribed! Ops! Something went wrong, please try again.

Posts

No Posts Found!

Eventos

No Posts Found!

© 2023 Created  LACASAWEB