How To Install Cachet Status Page System On CentOS 7 [EXCLUSIVE]
Download ---> https://cinurl.com/2ti8sP
Cachet is a beautiful and powerful open source status page system written in PHP that allows you to better communicate downtime and system failures to your customers, teams, and shareholders. The application offers many features, the most important of which are: a powerful JSON API, event reports, metrics, transcription support for event messages, subscriber notifications via email, two-factor authentication. In this tutorial, we will install the Cachet status page system using PHP, Nginx, MySQL, and Composer on the CentOS 7 system.var cid='5498581296';var pid='ca-pub-3043223216276099';var slotId='div-gpt-ad-howtoforge_com-box-3-0';var ffid=1;var alS=1002%1000;var container=document.getElementById(slotId);container.style.width='100%';var ins=document.createElement('ins');ins.id=slotId+'-asloaded';ins.className='adsbygoogle ezasloaded';ins.dataset.adClient=pid;ins.dataset.adChannel=cid;if(ffid==2){ins.dataset.fullWidthResponsive='true';}ins.style.display='block';ins.style.minWidth=container.attributes.ezaw.value+'px';ins.style.width='100%';ins.style.height=container.attributes.ezah.value+'px';container.appendChild(ins);(adsbygoogle=window.adsbygoogle[]).push({});window.ezoSTPixelAdd(slotId,'stat_source_id',44);window.ezoSTPixelAdd(slotId,'adsensetype',1);var lo=new MutationObserver(window.ezaslEvent);lo.observe(document.getElementById(slotId+'-asloaded'),{attributes:true});RequirementsTo run Cachet on your CentOS 7 system you will need a couple of things:if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[728,90],'howtoforge_com-medrectangle-3','ezslot_8',121,'0','0'])};__ez_fad_position('div-gpt-ad-howtoforge_com-medrectangle-3-0');PHP version 7.1 or greaterHTTP server with PHP support (eg: Nginx, Apache, Caddy)ComposerA supported database: MySQL, PostgreSQL or SQLiteGitPrerequisitesA CentOS 7 operating system.A non-root user with sudo privileges.Initial stepsCheck your CentOS version:cat /etc/centos-releaseSet up the timezone:timedatectl list-timezonessudo timedatectl set-timezone 'Region/City'Update your operating system packages (software). This is an important first step because it ensures you have the latest updates and security fixes for your operating system's default software packages:sudo yum upgdate -yInstall some essential packages that are necessary for basic administration of the CentOS operating system:(adsbygoogle=window.adsbygoogle[]).push({});sudo yum install -y curl wget vim git unzip socat bash-completionStep 1 - Install PHPSetup the Webtatic YUM repo:sudo rpm -Uvh -release.rpmInstall PHP, as well as the necessary PHP extensions:sudo yum install -y php72w-cli php72w-fpm php72w-common php72w-xml php72w-gd php72w-zip php72w-mbstring php72w-mysqlnd php72w-pgsql php72w-sqlite3 php72w-opcache php72w-apcu php72w-jsonTo show PHP compiled in modules, you can run:php -mctypecurlexiffileinfo. . .. . .Check the PHP version:if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[728,90],'howtoforge_com-medrectangle-4','ezslot_1',108,'0','0'])};__ez_fad_position('div-gpt-ad-howtoforge_com-medrectangle-4-0');php --versionStart and enable PHP-FPM service:sudo systemctl start php-fpm.servicesudo systemctl enable php-fpm.serviceWe can move on to the next step, which is the database installation and setup.Step 2 - Install MariaDB and create a database for CachetCachet supports MySQL, MariaDB, PostgreSQL and SQLite databases. In this tutorial, we will use MariaDB as the database server.Create MariaDB 10.2 YUM repository for CentOS:sudo vim /etc/yum.repos.d/MariaDB.repoCopy and paste the following text into it:if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[580,400],'howtoforge_com-box-4','ezslot_6',110,'0','0'])};__ez_fad_position('div-gpt-ad-howtoforge_com-box-4-0');# MariaDB 10.2 CentOS repository list - created 2017-12-11 23:19 UTC# [mariadb]name=MariaDBbaseurl= -amd64gpgkey= -GPG-KEY-MariaDBgpgcheck=1After the file is in place, install MariaDB by running:sudo yum install -y MariaDB-server MariaDB-clientCheck the MariaDB version:mysql --version# mysql Ver 15.1 Distrib 10.2.21-MariaDB, for Linux (x86_64) using readline 5.1Start and enable MariaDB service:sudo systemctl start mariadb.servicesudo systemctl enable mariadb.serviceRun mysql_secure installation script to improve MariaDB security and set the password for MariaDB root user:sudo mysql_secure_installationAnswer each of the questions:Would you like to setup VALIDATE PASSWORD plugin NNew password: your_secure_passwordRe-enter new password: your_secure_passwordRemove anonymous users [Y/n] YDisallow root login remotely [Y/n] YRemove test database and access to it [Y/n] YReload privilege tables now [Y/n] YConnect to MariaDB shell as the root user:sudo mysql -u root -p# Enter passwordCreate an empty MariaDB database and user for Cachet and remember the credentials:MariaDB> CREATE DATABASE dbname;MariaDB> GRANT ALL ON dbname.* TO 'username' IDENTIFIED BY 'password';MariaDB> FLUSH PRIVILEGES;Exit from MariaDB:MariaDB> exitReplace dbname, username and password with your own names.Step 3 - Install Acme.sh client and obtain Let's Encrypt certificate (optional)Securing your website with HTTPS is not necessary, but it is a good practice to secure your site traffic. In order to obtain a TLS certificate from Let's Encrypt we will use acme.sh client. Acme.sh is a pure UNIX shell software for obtaining TLS certificates from Let's Encrypt with zero dependencies. Download and install acme.sh:sudo su - rootgit clone cd acme.sh ./acme.sh --install --accountemail [email protected]source /.bashrccd Check acme.sh version:acme.sh --version# v2.8.0Obtain RSA and ECC/ECDSA certificates for your domain/hostname:# RSA 2048acme.sh --issue --standalone -d example.com --keylength 2048# ECDSAacme.sh --issue --standalone -d example.com --keylength ec-256If you want fake certificates for testing you can add --staging flag to the above commands.After running the above commands, your certificates and keys will be in:For RSA: /home/username/example.com directory.For ECC/ECDSA: /home/username/example.com_ecc directory.To list your issued certs you can run:acme.sh --listCreate a directory to store your certs. We will use the /etc/letsencrypt directory.mkdir -p /etc/letsecnrypt/example.comsudo mkdir -p /etc/letsencrypt/example.com_eccInstall/copy certificates to /etc/letsencrypt directory.# RSAacme.sh --install-cert -d example.com --cert-file /etc/letsencrypt/example.com/cert.pem --key-file /etc/letsencrypt/example.com/private.key --fullchain-file /etc/letsencrypt/example.com/fullchain.pem --reloadcmd \"sudo systemctl reload nginx.service\"# ECC/ECDSAacme.sh --install-cert -d example.com --ecc --cert-file /etc/letsencrypt/example.com_ecc/cert.pem --key-file /etc/letsencrypt/example.com_ecc/private.key --fullchain-file /etc/letsencrypt/example.com_ecc/fullchain.pem --reloadcmd \"sudo systemctl reload nginx.service\"All the certificates will be automatically renewed every 60 days.After obtaining certs exit from root user and return back to normal sudo user:exitStep 4 - Install and configure NGINXCachet can work fine with many web servers. In this tutorial, we selected NGINX. If you prefer Apache web server over NGINX, visit -cachet#section-running-cachet-on-apache to learn more.Install NGINX:sudo yum install -y nginxCheck the NGINX version:sudo nginx -vStart and enable NGINX service:sudo systemctl start nginx.servicesudo systemctl enable nginx.serviceConfigure NGINX for Cachet by running:sudo vim /etc/nginx/conf.d/cachet.confAnd populate the file with the following configuration:server { listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; server_name status.example.com; root /var/www/cachet/public; index index.php; ssl_certificate /etc/letsencrypt/status.example.com/fullchain.cer; ssl_certificate_key /etc/letsencrypt/status.example.com/status.example.com.key; ssl_certificate /etc/letsencrypt/status.example.com_ecc/fullchain.cer; ssl_certificate_key /etc/letsencrypt/status.example.com_ecc/status.example.com.key; location / { try_files $uri /index.php$is_args$args; } location \\.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; fastcgi_keep_conn on; }}Test NGINX configuration:sudo nginx -tReload NGINX:sudo systemctl reload nginx.serviceStep 5 - Install ComposerInstall Composer, the PHP dependency manager globally:php -r \"copy(' ', 'composer-setup.php');\"php -r \"if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;\"php composer-setup.phpphp -r \"unlink('composer-setup.php');\"sudo mv composer.phar /usr/local/bin/composerCheck Composer version:composer --version# Composer version 1.8.4 2019-02-11 10:52:10Step 6 - Install CachetCreate a document root directory where Cachet should reside in:sudo mkdir -p /var/www/cachetChange ownership of the /var/www/cachet directory to {jour_user}:sudo chown -R {your_user}:{your_user} /var/www/cachetNOTE: Replace {jour_user} with your initially created non-root user username.Navigate to the document root directory:cd /var/www/cachetDownload the Cachet source code with Git:git clone -b 2.4 --single-branch .Copy .env.example to .env file and configure database and APP_URL settings in .env file:cp .env.example .envvim .envInstall Cachet dependencies with Composer:composer install --no-dev -oSet up the application key by running:php artisan key:generateInstall Cachet:php artisan cachet:installProvide the appropriate ownership:sudo chown -R nginx:nginx /var/www/cachetRun sudo vim /etc/php-fpm.d/www.conf and set the user and group to nginx. Initially, they will be set to apache:sudo vim /etc/php-fpm.d/www.conf# user = nginx# group = nginxOpen your site in a web browser and follow the instructions on the screen to finish Cachet installation.Step 7 - Complete the Cachet setupSelect cache and session drivers and configure mail options:Configure general site settings like site name, site domain, timezone and language:Create an administrative user account:After that, you should get a message that Cachet has been configured successfully. You can open the Cachet dashboard by pressing the \"Go to dashboard\" button:Cachet installation and setup has been completed. To access Cachet dashboard append /dashboard to your website URL.Links About Blago EresBlago Eres is a freelance Web Developer, Linux System Administrator and Technical Writer with more than 3 years of experience. Blago is skilled at RHEL/CentOS, Debian/Ubuntu, Web Servers, Database Servers, HTTP, PHP, JavaScript, Load Balancing, Caching etc. view as pdf printShare this page:Suggested articles2 Comment(s)Add commentName *Email *tinymce.init({selector:\"textarea#commentedit\",theme:\"modern\",height:100,apply_source_formatting:true,remove_linebreaks:false,menubar:false,plugins:[\"link\"],content_css:\" \",toolbar:\"undo redo bold italic link\",});CommentsBy: webmastir Reply Awesome!! Thanks for making this tutorial.By: John Reply nginx config file is wrongssl_certificate /etc/letsencrypt/status.domain.com/fullchain.pem;ssl_certificate_key /etc/letsencrypt/status.domain.com/private.key;andCreate a directory to store your certs. We will use the /etc/letsencrypt directory. 153554b96e
https://www.xr4ped.eu/forum/cooking-your-catch/the-sims-4-download-free-full-version-pc-bro-top