VPS New Manual

Actually, this is a running account. Note: Taking Ubuntu 16.04 as an example 1 users Hurry up and build a new user. Don't log in with your root. After the root landing: $ sudo adduser tom #To create users interactively, all you have to do is set up a stronger password. $ sudo vim /etc/sudoers #Increase root privileges for this new user The ...

Posted by kingsol on Sat, 25 May 2019 16:32:27 -0700

ubuntu16.04+gitlab + nginx without binding

Installation of gitlab Configuration of gitlab Viewing version number of 1 gitlab ssh port modification of 2 gitlab 21 Open the configuration file 22 Use commands to rebuild configurations 3 https 31 Upload certificates or use specific creations created by yourself to see another article of mine nginx witho ...

Posted by GirishR on Sun, 19 May 2019 00:08:00 -0700

Gentoo installation configuration Nginx+PHP

Gentoo installation configuration Nginx+PHP Installing Nginx in Gentoo is a very simple thing, but you need to do some configuration, otherwise nginx will not run. Because Gentoo is entirely controlled by individuals, the following errors will occur when installing nginx if you need to manually configure which modules ...

Posted by Crimpage on Sat, 18 May 2019 12:58:39 -0700

Linux Cluster Architecture - Keeping Alive High Availability Cluster

Overview of Linux Cluster According to the function, it can be divided into two categories: high availability and load balancing. High availability clusters usually consist of two servers, one working and the other serving as redundancy. When the serving machine goes down, redundancy will take over and continue to serve. Open source software ...

Posted by ondercsn on Sat, 18 May 2019 05:18:11 -0700

Deployment of production-level k8s cluster with kubeadm

Summary kubeadm has been supported by cluster deployment, and in version 1.13, GA, master and etcd are clustered deployments. It is also the most recommended deployment mode for government officials. kubeadm is promoted by its sig group. kubeadm has many features of kubernetes. Next, we will practice and understand its charm. Bid mark 1. Build ...

Posted by Sweeney on Sat, 18 May 2019 01:22:19 -0700

Docker Network and Data Volume Settings [3]

I. Docker Network Settings By default, docker creates a bridge network card [docker 0]. docker has two mapping modes: random mapping and specified mapping. Tip: Random mapping is not commonly used in production scenarios, but the advantage of random mapping is that it is allocated by docker and ports do not conflict. Case 1: S ...

Posted by mammy on Fri, 17 May 2019 23:50:54 -0700

Configure docker for the project

I've known about docker before, but I haven't configured it myself. This time I configure a docker for the project, and make a summary record here. Dockerfile and docker-compose First of all, in previous projects, docker is configured in the form of DockerFile + docker-compose. So, first of all, we need to understand the relationship between th ...

Posted by vicky57t on Fri, 17 May 2019 18:11:03 -0700

Keeping alived to achieve high availability of services

Chapter 1 keepalived service description 1.1 What is keeping alived? Keepalived software was originally designed for LVS load balancing software to manage and monitor the status of each service node in the LVS cluster system. Later, it added VRRP function to realize high availability. Therefore, besides managing LVS software, Keepalived can a ...

Posted by jmicozzi on Fri, 17 May 2019 15:17:37 -0700

Examples of curl usage

This article will introduce the use of curl. According to the common scenarios, it will provide the demo code and server code for calling curl to realize the request, which is convenient for everyone to learn and use. 1. View the Web Source Code The curl command is followed by a web address, so you can see the source code of the web page. ...

Posted by davidcriniti on Thu, 16 May 2019 16:04:56 -0700

Linux Operations and Maintenance: Nginx-Openresty and Nginx-tomcat

I. Openresty 1. Compile and install opesresty [root@server1 ~]# tar zxf openresty-1.13.6.1.tar.gz [root@server1 ~]# cd openresty-1.13.6.1 [root@server1 openresty-1.13.6.1]# ./configure --prefix=/usr/local/lnmp/openresty [root@server1 openresty-1.13.6.1]# gmake && gmake instal 2. Configuration file [root@ser ...

Posted by TNIDBMNG on Thu, 16 May 2019 11:10:20 -0700