A few lines of commands to understand that the remote server creates a user with no secret login
Upgrade package management system
First, use the following command to upgrade the package management system:
sudo apt-get update && sudo apt-get upgrade
Create users and configure account permissions
For the sake of server security, we should avoid using the root user to log in directly; instead, we should create a new user and use this ...
Posted by s1akr on Sun, 01 Dec 2019 10:53:25 +0100
Mounting disk error "Structure needs cleaning"
Step 1: view the file system
Several ways to view mounted partition and file system types
1) df-T can view the mounted partition and file system type
[root@localhost nginx]# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root xfs 28289540 5970724 22318816 22% /
devtmpfs ...
Posted by itsmani1 on Sun, 01 Dec 2019 02:59:13 +0100
redis4.0.11 can be used to install the production environment
redis4.0.11 can be used to install the production environmentThe operating system version is CentOS 6.5
Execute the initialization.sh optimization script first. For details, see Initialization scriptWe use redis-4.0.11.tar.gz onlineOptimize according to the log content / / it will be processed later. We can execute it first here. For those wh ...
Posted by rofl on Fri, 22 Nov 2019 16:45:19 +0100
Salt API configuration of saltstack
I. IntroductionSaltStack officially provides a Salt API project with REST API format, which will make integration between Salt and third-party systems easier. This article will show you how to install and configure the Salt API, and how to use the Salt API to get the information you want
Two, textView salt master version, kernel information a ...
Posted by tachekent on Tue, 19 Nov 2019 19:31:25 +0100
Docker swarm building clusters and load balancing
Docker swarm
Swarm is a relatively simple tool released by Docker company in early December 2014, which is used to manage Docker clusters. It turns a group of Docker hosts into a single, virtual host. Swarm uses the standard Docker API interface as its front-end access portal. In other words, all kinds of Docker clients (Dock ...
Posted by russellpehrson on Fri, 15 Nov 2019 19:46:00 +0100
FastDFS picture server stand-alone installation steps
As I said before A picture of the network architecture of microservices , through this article, you can understand the stand-alone installation process in FastDFS components.
Stand alone architecture
The following are the installation steps of FastDFS
I. environmental preparation
CentOS 7.X
libfastcommon Version used: libfastcommon-1.0.41.tar. ...
Posted by Brand Hill on Tue, 12 Nov 2019 11:45:19 +0100
Ovirt engine installation record of ovirt
In the process of studying the desktop cloud, it is found that there is not much difference between the server (private cloud or virtualization) and the application of thin client and the management of the desktop. The final landing may require customized development to meet the needs.
In the open source virtualization products, limited to th ...
Posted by cent on Sun, 10 Nov 2019 15:13:59 +0100
Docker use - two hours to get started
Welcome to the original link: https://mp.weixin.qq.com/s/eAJpnEfjflVr76iPVHN6rA
This is a personal note of sorting and thinking after watching the above links
Advantages of docker container
More efficient use of system resources
Because the container does not need additional overhead such as hardware virtualization and runni ...
Posted by nosher on Sat, 09 Nov 2019 12:52:47 +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
Implementation and deployment of linux Cluster
(1) configure basic environment
//Install virtual tools
#cd /media/VMware\ Tools/
#cp VMwareTools-10.0.6-3595377.tar.gz/tmp/
#cd /tmp/
#tar-xvzf VMwareTools-10.0.6-3595377.tar.gz
#cd vmware-tools-distrib/
#./vmware-install.pl
Stop and shut down the NetworkManager service: service NetworkManager status
#service Networ ...
Posted by autocolismo on Fri, 01 Nov 2019 10:15:26 +0100