Talk about Dell, HP and Lenovo mini hosts Common tools

Talk about Dell, HP and Lenovo mini hosts

one hundred and eighty-one zero

Recently, we have started several mini hosts that support the fourth generation CPU, to make a brief summary, so that we can meet our needs in the future #####Dell 3020m, 9020m It seems that these two items are the only ones I have contacted and learned. The summary is as follows 3020m ngff hard disk interface is empty soldered, and the h81 motherboard does not support vt-d 9020m ngff hard disk interface is normal and can be used as boot disk. Q87 motherboard supports vt-d Both are m.2 wireless network cards (2230) BIOS is in English, but the entries are clear and easy to understand #####HP ProDesk 400 G1 DM ProDesk 600 G1 DM、ProDesk 800 G1 DM Only 6

 Linux (Centos, Ubuntu, Debian, etc.) source change linux

Linux (Centos, Ubuntu, Debian, etc.) source change

one hundred and ninety-nine zero

#####Common image source in China. Visit the link, click on the question mark icon, Help, help or click on the content to view the details. There are instructions for use ######[Tsinghua Source]( https://mirrors.tuna.tsinghua.edu.cn/ ) ######[Zhongke Dayuan]( https://mirrors.ustc.edu.cn/ ) ######[Alibaba Cloud source]( https://developer.aliyun.com/mirror/ ) ######[Shanghai Jiaotong University Source]( https://mirror.sjtu.edu.cn/ ) ######

 Common operations of pve linux

Common operations of pve

three hundred and fifty-six zero

#####Change to Zhongke Dayuan vi /etc/apt/sources.list ```bash #Note the original content and paste the following deb https://mirrors.ustc.edu.cn/debian bullseye main contrib non-free deb https://mirrors.ustc.edu.cn/debian bullseye-updates main contrib non-free deb https://mirrors.ustc.edu.cn/debian-security bu

 If crontab is not executed, check the log FAILED to authorize user with PAM (Authentication token is no longer valid; new one required) linux

If crontab is not executed, check the log FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)

one thousand eight hundred and twenty-six zero

`Chage - l root ` View the user validity period `Chage - M 99999 root ` Change the valid period of root user to permanent ######Other options ```bash -D Date # Modify the third field of the specified user's password information in the/etc/shadow file, which is the date of the last password modification. The format is YYYY-MM-DD -E Date # Set the password expiration date. After this date, this account will not be available. 0 means it will expire immediately, and - 1 means it will never expire. Format YYYY-MM-DD -H # View help information -I days # Set password expiration days -L # Display the date information related to the account -m

 Chrome browser form automatic prompt clearing Common tools

Chrome browser form automatic prompt clearing

one hundred and ninety-one zero

Normal steps: 3 points in the upper right corner ->Settings ->Privacy settings and security ->Clear browsing data ->Advanced ->[Check] Automatically fill in form data ->Clear data If there are still prompts, you need to delete one by one by pressing the shortcut key. Click the form box, move the mouse to the prompted item, and press the shortcut key to delete ``` Windows: Shift + Delete Mac: Shift + fn + Delete ```

 Ubuntu installation docker linux

Ubuntu installation docker

two hundred and sixty-one zero

######Put [official website address] first( https://docs.docker.com/engine/install/ubuntu/ ) ```shell #Uninstall potentially conflicting packages for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done #Add Docker's official GPG key sudo apt-get update sudo

 Centos (Linux) installation redis dump linux

Centos (Linux) installation redis dump

three hundred and twenty-two zero

###### ```bash #Install Ruby wget -c https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.gz tar -zxvf ruby-2.7.8.tar.gz cd ruby-2.7.8 ./configure make && make install #Please note that the command installed in this way is in/usr/local/bin. If you are prompted that the command cannot be found, please use the absolute path to call or modify $PATH (export PATH=$PATH:/usr/local/bin

 Install vmware tools under vmware Linux linux

Install vmware tools under vmware Linux

one thousand four hundred and eighty-one zero

```bash mkdir -p /data/cdrom /data/cdrom2 mount /dev/cdrom /data/cdrom cp VMwareTools-10.3.21-14772444.tar.gz /data/cdrom2 cd /data/cdrom2 tar -zxvf VMwareTools-10.3.21-14772444.tar.gz cd vmware-tools-distrib ./vmware-install.pl ``` ######The first step prompts you whether to install it. Select yes

 Predis Connect to Azure Cache for Redis Web development

Predis Connect to Azure Cache for Redis

one thousand three hundred and sixty-five zero

Theoretically applicable to all Redis tls connections [Official Document 1]( https://github.com/predis/predis/issues/535 ) [Official Document 2]( https://www.php.net/manual/en/function.stream-socket-enable-crypto.php ) The most important configuration `'crypto_type' => STREAM_CRYPTO_METHOD_ANY_CLIENT`