Installation and configuration of Jetty under Linux

Jetty introduction Jetty is an open source servlet container that provides a runtime environment for Java based web content, such as JSP S and servlets. Jetty is written in the Java language, and its API is published as a set of JAR packages. Developers can instantiate the jetty container into an object, which ...

Posted by rix on Mon, 06 Jan 2020 16:57:05 -0800

CentOS7.5 install PHP7.3 using yum

1. Install php Current system environment [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost ~]# uname -sr Linux 4.16.11-1.el7.elrepo.x86_64 Install yum source php 7 has two yum sources to choose from, one is webmatic and the other is remi. Add webmatic source (not accessib ...

Posted by freddykhalid on Sun, 05 Jan 2020 13:12:07 -0800

Version control gitlab

Version control gitlab Version control definition: It refers to the management of changes of various program codes, configuration files, instruction documents and other files in the process of software development Version control function 1. Tracking document changes 2. Parallel development 3. Effectively solve the ...

Posted by kratsg on Sat, 04 Jan 2020 23:50:41 -0800

redis for decoupling (upload nginx logs to elastic search)

Experimental environment server1 172.25.11.1 elasticsearch,nginx ,logstash server2 172.25.11.2 redis,logstash server3 172.25.11.3 kibana Install kibana on server3 yum install -y kibana-4.5.1-1.x86_64.rpm vim /opt/kibana/config/kibana.yml /etc/init.d/kibana start netstat -antupl Browser access: 172.2 ...

Posted by Derfel Cadarn on Fri, 03 Jan 2020 18:03:33 -0800

saltstack deployment and cases

Case 1: rpm deployment and installation of httpd (1) Modify the configuration file and create the base directory [root@server4 salt]# vim /etc/salt/master [root@server4 salt]# cd [root@server4 ~]# ls anaconda-ks.cfg install.log install.log.syslog [root@server4 ~]# mkdir /srv/salt [root@server4 ~]# /etc/init.d/salt-master ...

Posted by eosinophil on Wed, 01 Jan 2020 00:36:10 -0800

nginx deployment and installation

1. When learning ngnix, there is no need to install it. In fact, the installation is very simple. A shell script can do it. Please refer to the following Use the root user to execute the nginx-install.sh script, which is as follows: #!/bin/bash set -o nounset basedir=$(cd "$(dirname "$0")"; pwd) # Set user name and password sys_user=hadoop sy ...

Posted by bk6662 on Mon, 30 Dec 2019 12:26:23 -0800

Full offline deployment of nginx

Some children's shoes participating in the actual project deployment know that it is a very painful thing to deploy Middleware in a completely offline process. Here is a record of the process of deploying an Nginx independently in Readhat. 1. Create nginx exclusive user Users / user groups www/www Create user group groupadd www Cre ...

Posted by Zephyr_Pure on Sat, 28 Dec 2019 08:00:39 -0800

Rancher, K8S Persistent Storage Ceph RBD Setup and Configuration

1. Configure host, install ntp (not required)2. Configure Secret-Free ssh3. Configure ceph, yum source vim /etc/yum.repo.d/ceph.cepo [ceph] name=ceph baseurl=http://mirrors.cloud.tencent.com/ceph/rpm-luminous/el7/x86_64/ gpgcheck=0 priority=1 [ceph-noarch] name=cephnoarch baseurl=http://mirrors.cloud.tencent.com/ceph/rpm-luminous/el7/noarch/ ...

Posted by sissy on Fri, 27 Dec 2019 17:10:58 -0800

MongoDB-4.2.2 install and configure account password for access

0. purpose Download MongoDB and install it. Set password access.The MongoDB official website will download the following three installation packagesMongodb-org-server-4.2.2-1.el6.x86 × 64.rpm × mongodb services, configuration files, startup scriptsMongodb-org-shell-4.2.2-1.el6.x86 × 64.rpm 񖓿 contains shell commands related to ...

Posted by GameMusic on Wed, 25 Dec 2019 06:42:05 -0800

rsync Remote Synchronization (Theory + Practice)

About rsync A fast incremental backup tool Remote Sync, remote synchronization Support local replication or synchronization with other SsH, rsync hosts Official website: http://rsync.samba.org Configure rsync Source Server rsync Synchronization Source Refers to a remote server for backup operations, also known as a backup source Configure ...

Posted by dico on Tue, 24 Dec 2019 08:54:33 -0800