Nginx learning notes (entry version)

1, Installing Nginx under Centos Reference documents If the machine installs Nginx for the first time, you need to set the software package warehouse of Nginx before installing Nginx, and then install and update Nginx through the warehouse Install some pre required configurations yum install yum-utils Set the yum warehouse in / etc / ...

Posted by sgarcia on Mon, 07 Mar 2022 14:38:09 +0100

ucore_lab2 experimental report

After the experiment of lab1 is completed, start lab2, which mainly realizes memory allocation Purpose of the experiment: Understand the translation mechanism based on segment page memory addressUnderstand the establishment and use of page tableUnderstand how to manage physical memory In lab1, we use segment management, and the addresses inv ...

Posted by discobean on Mon, 07 Mar 2022 11:06:56 +0100

Linux server-side application installation

Install JDK Uninstall the JDK pre installed in the system. Linux comes with java, but it cannot be compiled without javac, so it needs to be uninstalled and reinstalled rpm -qa | grep openjdk Perform uninstall. Use -- nodeps to ignore dependencies during uninstall [root@localhost ~]# rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.161-2. ...

Posted by PHP-Editors.com on Mon, 07 Mar 2022 03:28:14 +0100

Eighteen postures for constructing Go application docker image

Cultivation background I worked overtime day and night to develop the simplest Go Hello world application. Although I just quit after printing, my boss also asked me to go online, the only application I can write. The project structure is as follows: . ├── go.mod └── hello.go hello.go code is as follows: package main func main() { pr ...

Posted by biffta on Mon, 07 Mar 2022 02:51:19 +0100

MySql database backup and restore

Backup (mysqldump) Realize the following functions: 1. Back up the specified database 2. Delete the backup file before the specified number of days. 1 day is set by default Script example (mysql_bak.sh) # Database backup root directory BACKUP_DIR="/usr/local/mysqlbackups/tsmbak/" #Specify the host name of the host where mysql resides DB_HOST ...

Posted by rvdb86 on Mon, 07 Mar 2022 02:42:57 +0100

linux Advanced -- LVM logical volume management + vdo virtual data optimizer

I Logical volume manager LVM 1. Introduction to LVM Baidu Encyclopedia explains: Logical volume manager is essentially a virtual device driver. It is a new level of abstraction added between block devices and physical devices in the kernel, as shown in the figure. It can combine several disks (physical volume) to form a storage pool or volum ...

Posted by iamcaper on Sun, 06 Mar 2022 19:19:22 +0100

systemd -- Research on linux service

System d (d: daemon) -- Research on linux service sketch With The unit file at the end of service is used to encapsulate a process monitored and controlled by systemd The. service file path is / etc/systemd/system When starting up, Systemd only executes the configuration files in the / etc/systemd/system directory. This also means that ...

Posted by Garcia on Sun, 06 Mar 2022 15:38:17 +0100

Linux -- thread synchronization (mutex lock, semaphore, read / write lock, spin lock, condition variable)

preface When multiple control threads share the same memory, it is necessary to ensure that each thread sees a consistent data view. If the variables used by each thread are not read or modified by other threads, there is no consistency concept. Similarly, if the variables are read-only, there will be no consistency problem when multiple th ...

Posted by rotwyla98 on Sun, 06 Mar 2022 14:01:30 +0100

Principle and configuration of Ansible

For image download, domain name resolution and time synchronization, please click Alibaba cloud open source mirror station Ansible principle Ansible is an open source automation platform. It is a simple automation language that can perfectly describe the IT application infrastructure in * * Ansible Playbook * *. It is also an automation engin ...

Posted by ethridgt on Sun, 06 Mar 2022 12:37:39 +0100

[NFS] installing NFS for Linux

Installation and configuration of NFS server client on Linux 1. System environment $ cat /proc/version Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015 2. NFS server setup 2.1 install and check NFS and RPC services # insta ...

Posted by Ironmann00 on Sun, 06 Mar 2022 12:06:29 +0100