Tag:Power on

  • Using Samba to create “shared folder” for Linux (centos7)

    Time:2021-5-8

    Add Samba service for test server Samba service is a service for Linux file sharing, which can be understood as “Linux shared folder”. The shared directory can be accessed directly on windows. For example, to access the home directory of 192.168.1.3, you can directly enter it on the path of the windows file manager\\192.168.1.3\quantum. Of […]

  • Building PHP environment from scratch – openresty

    Time:2021-5-6

    Reference source:http://openresty.org/en/insta… 1、 Configure the compilation parameters and use the default > cd /usr/local/src/ > tar -xvf openresty-1.19.3.1.tar.gz > cd openresty-1.19.3.1 > ./configure -j2 1、Can’t locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./configure line 9. yum install perl 2、./configure: error: the […]

  • WOL persistence configuration

    Time:2021-5-2

    Ensure that the BIOS and NIC support WOL wake-up, and turn off the low-power mode This command is only tested on Ubuntu 20.04 LTS, and the rest of the distributions are the same. Please test yourself Reference link https://www.techrepublic.com/article/how-to-enable-wake-on-lan-in-ubuntu-server-18-04/ https://help.ubuntu.com/community/WakeOnLan#External_Links WOL open Settings Shado apt get install ethtool ➜~ IP a # query network status […]

  • Centos7 installing Tomcat

    Time:2021-4-29

    1 view Tomcat status withouttomcatIt will report an error. systemctl status tomcat.service //Or systemctl status tomcat 2. Install Tomcat The image of Tencent cloud does not existtomcat, need to download manually, I choose the second scheme. yum install tomcat //Or – y for all inquiries yum -y install tomcat tomcatThe installation directory for is in/usr/share/tomcat, […]

  • Java common environment construction

    Time:2021-4-28

    Docker installation #Docker before uninstalling the system sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine sudo yum install -y yum-utils #Configure image sudo yum-config-manager \ –add-repo \ https://download.docker.com/linux/centos/docker-ce.repo sudo yum install docker-ce docker-ce-cli containerd.io sudo systemctl start docker #Set boot up sudo systemctl enable docker […]

  • Install redis under windows and start it automatically

    Time:2021-4-27

    1. Download address:https://github.com/tporadowski/redis/releases, the latest versionRedis 5.0.10 for Windows 2. Run the redis command as follows:redis-server.exe  redis.windows.conf 3. Add redis to the service of windows (service and loglevel are two before -) and boot up automatically redis-server –service-install redis.windows-service.conf –loglevel verbose 4. Common redis service commands. Uninstall service:redis-server –service-uninstall Open service:redis-server –service-start Out of Service:redis-server […]

  • Grub boot error occurred when CentOS was booted, unable to enter the system

    Time:2021-4-27

    When CentOS is booting up, grub boot error suddenly appears, which leads to the system not being able to enter. In this case, many people are helpless. In fact, this kind of problem is not difficult to solve. The following editor will introduce the solutions to grub boot error when CentOS is booting up, hoping […]

  • Raspberry pie uses PWM control fan

    Time:2021-4-24

    Using GPIO readall to view pin names $ gpio readall +—–+—–+———+——+—+—Pi 4B–+—+——+———+—–+—–+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +—–+—–+———+——+—+—-++—-+—+——+———+—–+—–+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 […]

  • Docker beginner centos7 install the latest version of docker

    Time:2021-4-15

    Learning docker from scratch Step 1: after the environment is installed, first change the yum source to alicloud version 1. Backup the current Yum source. If there is an accident, you can directly restore this version cd /etc/yum.repos.d/ cp /CentOS-Base.repo /CentOS-Base-repo.bak 2. Download WGet CentOS without WGet. Manual installation is required yum install wget -y […]

  • Some problems about the master-slave database unable to connect to the database in the mutual master-slave database setting

    Time:2021-4-14

    Step 1: start the database and input the login user name and password of the database;1. Start the database: 1. Start command[ [email protected] src]# systemctl start mariadb 2. Restart command[ [email protected] src]# systemctl restart mariadb 3. Closing command[ [email protected] src]# systemctl stop mariadb 4. Set the starting time[ [email protected] src]# systemctl enable mariadb 5. Turn […]

  • Docker entry to actual combat (2) installation and uninstall of docker

    Time:2021-4-10

    This article is from Mr. Zhou Yang https://www.bilibili.com/vide… Introduction to docker 2: Docker installation and uninstall 2.1 installation environment description Docker is officially recommended to be installed in Ubuntu, because docker is released based on Ubuntu, and generally, problems with docker are first updated or patched in Ubuntu. But companies generally use CentOS, so this […]

  • Configuration of cloud server port and firewall port

    Time:2021-4-2

    Port configuration of cloud server (Tencent cloud) It’s easy to set the port of the cloud server. Take Tencent cloud as an example, enter “cloud server” > “security group”, and click “add rule“. For example, I opened port 9501-9510 for learning. Remember to associate instances: If you don’t want to open all IP addresses, only […]