IV. set up git server, install gitlab, use gitlab, backup and recovery of gitlab

I. build git server After all, github is open, and private warehouses have to pay for it. So we can find a way to build a private one for our own company. Gitlab is a good choice. Before introducing it, let's talk about the command line git server To find a server, you need to install git first. Here you have a new machine to install GIT. # yu ...

Posted by Graxeon on Sat, 09 Nov 2019 10:16:12 +0100

SSH blasting emergency response

Problem finding Log in to the virtual machine, and according to the prompt message, it is found that it is suffering from SSH explosion attack, with IP address of 159.65.230.189. Check the log in related security logs: tail -f /var/log/secure, and find other attempts to blow up IP106.12.183.6, 182.61.166.179, 220.88.40.41. Baidu search IP add ...

Posted by gtibok on Sat, 02 Nov 2019 08:06:32 +0100

python starts server related services

Because the server room has no cooling facilities, it often needs to be shut down after work in summer, which makes it very troublesome to restart the application frequently. It is convenient to write a service restart script in python. Environment dependency: Readme.txt Environmental dependence: python3 pip3 install paramiko pip3 insta ...

Posted by phpeanuts on Thu, 31 Oct 2019 19:19:19 +0100

MySQL MHA application practice (scheme practice)

1. Environment and conditionsMaster slave schema environment already exists host name IP address Master-slave role MHA role leo1 192.168.3.2 Master MHA-node leo2 192.168.3.3 slave MHA-node leo3 192.168.3.4 slave MHA-node,MHA-manager vip 192.168.3.6 Master-slave ensures the master-slave status is normal mysql>show slave statu ...

Posted by itsjareds on Sun, 20 Oct 2019 17:10:18 +0200

ftp file upload and download by shell script

Some time ago, we need to upload some information verification data from our platform to the FTP server of our customers, so that they can compare and verify the relevant information. Since only four hosts contain this information, the strategy is to aggregate the generated four files onto one host, and then upload the files to the target FTP s ...

Posted by mjahkoh on Sun, 06 Oct 2019 16:16:09 +0200

Deploying kubernetes 1.16.0 high availability cluster requires only two steps

Course wget https://github.com/fanux/sealos/releases/download/v2.0.7/sealos && chmod +x sealos && mv sealos /usr/bin sealos init --passwd YOUR_SERVER_PASSWD \ --master 192.168.0.2 --master 192.168.0.3 --master 192.168.0.4 \ --node 192.168.0.5 \ --pkg-url https://sealyun.oss-cn-beijing.aliyuncs.com/cf6bece970f6da ...

Posted by greenie__ on Fri, 27 Sep 2019 09:22:08 +0200

58 Mine Sweeping System APP Source++ Git Use and Basic Commands

Repository There is a hidden directory in the workspace. Git, 58 Red Pack Mine Sweeping System developed by Wu Yan: I56 2227 micro 7887, this is not a workspace, but Git version library.Git's version library contains a lot of things, the most important of which is the temporary area called stage (or index), the first branch master that Git crea ...

Posted by terandle on Mon, 23 Sep 2019 10:09:02 +0200

Carding several key basic knowledge points of srping boot

Background: Before spring boot, the use of ssh or ssm framework development, need a lot of configuration files, development efficiency is low, deployment and maintenance is more troublesome, at this time to solve these problems spring boot came into being. Official Web Profile: Spring Boot makes it easy to create stand-alone, production-grade S ...

Posted by beachcomber on Sun, 08 Sep 2019 18:03:17 +0200

Good promise | network detection artifact ss command, you may not use it at all!

Today, let's introduce the Linux ss command. ss is the abbreviation of Socket Statistics, which is used to count the related information of socket connection. It is similar to netstat, but it has more powerful statistical function than netstat and can display more detailed connection information. It may be difficult to get started with SS comma ...

Posted by timcapulet on Thu, 05 Sep 2019 04:38:30 +0200

firewalld firewall infrastructure configuration

Linux firewall system mainly works in the network layer. It belongs to the typical packet filtering firewall for real-time filtering and restriction of TCP/IP packets. How does the Linux firewall check data traffic? For the data packet entering the s ...

Posted by Toxinhead on Sun, 01 Sep 2019 12:53:53 +0200