Linux learning - mail service (installing postfix)

Problems encountered during installation Question 1: [root@lotus postfix-2.11.11]# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/include/sasl -DUSE_TLS ' 'AUXLIBS=-L/usr/lib64/mysql -lmysqlclient -lz -lm -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto' make -f Makefile.in MAKELEVEL= Makefiles (echo ...

Posted by wchris on Fri, 04 Mar 2022 12:14:41 +0100

socket network programming of liunx

Socket network programming is a technology, which is often used in network communication. The biggest difference between socket and interprocess communication is that socket network programming is based on multi machine information transmission, while the former is based on single machine. 1, Understand the difference between TCP and UDP. ① T ...

Posted by GirishR on Fri, 04 Mar 2022 11:36:18 +0100

Quickly build a Centos7 Linux system (Virtual Box + Vagrant)

Install Virtual Box, Download from official website Install Vagrant, Download from official website There are multiple Linux system images in the Vagrant image warehouse. We can use Vagrant to connect to the Virtual Box and quickly install the Linux image. Mirror Box warehouse Use vagrant init centos/7 to initialize a cantos7 virtual machin ...

Posted by rawky on Fri, 04 Mar 2022 09:55:30 +0100

Debian 11 configuration optimization guide

Original address: Debian 11 configuration optimization guide - WindSpiritIT 0x00 introduction This article applies only to configuring Debian 11 Bullseye The article includes both Gnome desktop and KDE desktop configurations, most of which are the same, and the differences are listed separately The update of Gnome desktop related configurat ...

Posted by beemzet on Fri, 04 Mar 2022 09:10:15 +0100

PXE batch install Ubuntu 20.04.2

Original link: https://www.cpweb.top/1698 1, Introduction   the server installer for Ubuntu 20.04 supports a new operation mode: automated installation. Automatic installation can answer all these configuration questions in advance through automatic installation configuration, and make the installation process run without any interaction. ...

Posted by bulldorc on Fri, 04 Mar 2022 08:32:34 +0100

Qt development experience tips 111-120

The slash of file path is also different on different platforms. For example, linux system generally has / slash, while windows has \ two backslashes. Qt itself supports the path of / slash in both win and linux. However, some third-party libraries may need to be converted to the path of the corresponding system, which requires slash convers ...

Posted by stonecold on Fri, 04 Mar 2022 06:33:01 +0100

The parent process waits for the child process to exit the wait and waitpid functions

catalogue 1. The exit state of the child process is not collected by the parent process and becomes a dead process (zombie process) 2. The exit status of the child process is collected by the parent process and the wait function is called 2.1: the status parameter of the wait function is null. 2.2: the status parameter of the wait function ...

Posted by peyups on Fri, 04 Mar 2022 03:44:57 +0100

Local application and source configuration

catalogue 1, APT introduction 2, Supply mode of APT source 3, Local APT source 1. Use the DEB package of the CD as the APT source 2. The file source list is used as the system installation source 3. View profile 4. Update repository index 4, Network APT source 1. Backup profile 2. Write configuration file 1) Aliyuan (ubuntu 16.04) 2 ...

Posted by justravis on Fri, 04 Mar 2022 02:05:01 +0100

Ubuntu16.04 TiDB stand-alone construction

system configuration Detect and close system swap This section describes how to close swap. TiDB needs enough memory to run, and swap is not recommended as a buffer with insufficient memory, which will reduce performance. Therefore, it is recommended to permanently shut down the system swap and do not use the swapoff -a mode to shut down, oth ...

Posted by justgrafx on Fri, 04 Mar 2022 00:35:37 +0100

Vi HAProxy+keepalived to achieve high cluster availability

1. HAProxy 1.1 introduction to haproxy HAProxy is a solution that supports virtual hosts by providing high availability, load balancing and proxy based on TCP and HTTP applications. Since 2013, HAProxy has been divided into community version and enterprise version. Enterprise website https://www.haproxy.com/ Community website https://www.hapr ...

Posted by AliasBDI on Thu, 03 Mar 2022 23:50:33 +0100