Docker introduction private notes production image construction practice of building CentOS+SSH image
1. Docker image layered designdocker image has a very important concept: layering. docker image is "tiered storage", and each instruction in Dockerfile will generate a layer of image. For example, all custom images need to execute "FROM centos", so this layer only needs to be downloaded for the first time and will not be dow ...
Added by Journey44 on Thu, 10 Mar 2022 10:22:36 +0200
There are a lot of configurations for Ubuntu deep learning environment
There are a lot of configurations for Ubuntu deep learning environment
I changed from other majors to deep learning. Due to the lack of system knowledge of many computers at the beginning of contact, various problems often appear in the environment configuration. There are often many solutions to the same problem on the Internet, some of which ...
Added by protokol on Mon, 07 Mar 2022 17:29:20 +0200
Linux environment intrusion emergency and troubleshooting
1, Account security
1. User information file / etc/passwd
# Format: account:password:UID:GID:GECOS:directory:shell
# User name: Password: user ID: group ID: user description: Home Directory: shell after login
root:x:0:0:root:/root:/bin/bash
# View logged in users:
cat /etc/passwd | grep /bin/bash
# View users with UID=0
awk -F: '$3==0{print ...
Added by pkallberg21 on Mon, 21 Feb 2022 10:52:15 +0200
gitlab docker failed to access with ssh
preface
Previously, a gitlab server was built on Alibaba cloud student computers. Because gitlab already exists on the host and the environment has been messed up, it is not easy to install gitlab directly, so we have to run it in the docker container.
It is very convenient for gitlab to deploy docker container. You can use it by switching th ...
Added by BoostinZX on Wed, 09 Feb 2022 22:49:16 +0200
Linux delves into DHCP and relay services
catalogue
1, DHCP service foundation
1.1.DHCP service overview
1.2. Advantages of DHCP
1.3.DHCP allocation method
1.4.DHCP lease process
1.4.1 client request IP address
1.4.2 server response
1.4.3. Client select IP address
1.4.3 server lease determination
1.4.4 re login
1.4.5 renewal of lease
2, DHCP dynamic configuration host ad ...
Added by MikeUK on Wed, 09 Feb 2022 11:18:24 +0200
How can ssh copy text in vim remotely
For vim (neovim), I spend most of my time on remote machines. It's easy to copy text from remote ssh to local. If the copied content is small, you can directly select it with the mouse and copy it. The disadvantages are also shown:
The format of the copied text has often changed. For example, the line number information has been added, and the ...
Added by dotancohen on Mon, 31 Jan 2022 06:10:41 +0200
Git project code pull, push and conflict resolution
catalogue
SSH keys configuration
Git branch
Git code pull push and conflict resolution
View local code change and code fallback version operations
SSH keys configuration
The corresponding project is created on gitlab. After entering the project details, a git address will be generated to clone or pull the code of the remote warehouse ...
Added by thomasgrant on Sat, 29 Jan 2022 19:46:26 +0200
Linux SSH Remote Management
An openSSH server
1. Introduction to ssh protocol
ssh Protocol is a secure channel protocol, which encrypts the communication data for remote management
2,openSSH
Service Name: sshd
Server main program:/usr/sbin/sshd
Server configuration file:/etc/ssh/sshd_config
2, Configure OpenSSH server
1,sshd_ Common options for config configura ...
Added by Sindarin on Sun, 23 Jan 2022 22:04:30 +0200
Detailed explanation of web service interface development (with complete process demo)
abstract
Because the company has a lot of business with third-party systems, it uses webservice for docking. The project framework in this paper is built by SSH, and other frameworks can also refer to the specific use process. The demos in this paper pass the test and are successfully released. If necessary, they can be directly copied and mod ...
Added by jbloom on Sat, 15 Jan 2022 08:39:03 +0200
CentOS 7 enables ssh Remote Login with the method of modifying the host name
1. Prepare openssh server
Enter the following command to check whether openssh server is installed. If it is installed, the corresponding information will be output
[root@sagecat ~]# yum list installed | grep openssh
openssh.x86_64 7.4p1-21.el7 @anaconda
openssh-clients.x86_64 7.4p1-21 ...
Added by Havery Jay on Tue, 28 Dec 2021 11:28:09 +0200