Welcome to CodePre.com

Commands and codes

How to synchronize local and remote directories in Linux

This tutorial describes how to sync local and remote directories on Linux using Lsyncd (Live Syncing Daemon). Using Lsyncd, we can mirror local directories and remote directories easily. This will be very useful if you want to sync data between catalogs that are frequently updated with new content. Lsyncd is designed to synchronize a local… read more »

Password for file / directory NGINX web server in Centos / Ubuntu

Consider the process of configuring password access to a directory or file on the NGINX web server using a virtual machine from a company as an example “Cloud” A series of articles on installing and configuring the NGINX web server Installing NGINX web server for working with virtual hosts, PHP-FPM in Sock mode, MariaDB Mysql… read more »

How to install PHP-Fusion 9 on Debian 8

This tutorial will show you how to install PHP-Fusion 9 on Debian 8 with Apache, PHP and MySQL installed on it. PHP-Fusion is a fast and lightweight open source Content Management System (CMS) written in PHP. PHP-Fusion 9 incorporates common features found in other content management systems. Comparing it to PHP-Fusion 7, there are some… read more »

Installing Percona Server on Centos 7

Percona server Is a MySQL build with XtraDB storage engine enabled by default. Differs from MySQL + InnoDB plugin in better performance / scalability, especially on modern multi-core servers. Add the Percona repository and update [[email protected]]# yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm [[email protected]]# yum update Install Percona-Server [[email protected]]# yum install Percona-Server-server-57 We start the service and add it… read more »

Как настроить группу репликации MySQL на Ubuntu 16.04

Введение Репликация MySQL надежно отражает данные и операции из одной базы данных в другую. Обычные репликации включают в себя первичный сервер, выполненный с возможностью принимать операции записи в базе данных с вторичными серверами, которые копируют и применяют действия из журнала первичного сервера для своих собственных наборов данных. Эти вторичные серверы могут быть использованы для чтения,… read more »

Linux Quick Commands: Tips and Tricks

Linux terminal is always difficult to work with, especially in the beginning when you are still new to Linux. I remember my first contact with the Linux terminal like it was yesterday. Eventually, I interacted with a machine that responded to whatever I typed. I started to learn basic commands like “cd”, “ps” “w” “mkdir”… read more »

Enabling SSL in NGINX on Centos 7

SSL is a cryptographic protocol that means more secure communication. It uses asymmetric cryptography to authenticate exchange keys, symmetric encryption to preserve confidentiality, message authentication codes for message integrity. A series of articles on installing and configuring the NGINX web server Installing NGINX web server for working with virtual hosts, PHP-FPM in Sock mode, MariaDB… read more »

Linux and FreeBSD resource monitoring using bpytop

You can download this article in PDF format via the link below to support us. Download the guide in PDF formatClose Life on the terminal is very sweet. It is a pleasant feeling to knock out these commands without missing out, and it will attract you when you configure the content. Going out of the… read more »

Installing ImageMagick for PHP on CentOS 7

ImageMagick is a set of programs (console utilities) for reading and editing files of many graphic formats. It is free and cross-platform software. Install the required packages for ImageMagick [[email protected]]# yum install gcc php-devel php-pear Launching the ImageMagick installation [[email protected]]# yum install ImageMagick ImageMagick-devel Install php-module for ImageMagick functioning in php scripts, and activate it… read more »

Sidebar