Tag:Power on

  • Installing docker for centos7


    Installation command 1. Update to the latest version yum update 2. Uninstall the old version of docker yum remove docker docker-common docker-selinux docker-engine 3. Install required packages yum install -y yum-utils device-mapper-persistent-data lvm2 4. Set the yum source to domestic Alibaba cloud yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 5. View docker version yum list docker-ce –showduplicates|sort -r 6. […]

  • What should I do if the win10 boot desktop icon shows Caton?


    In the windows 10 system, when you start the computer and enter the system desktop, the icons on the desktop will also be displayed. The speed of icon display is related to the computer configuration. The speed of desktop icon display will be slower for computers with lower configuration. However, recently, the configuration of a […]

  • Installation and use of Linux management tool cockpit


    Installation of cockpit #Cockpit is installed by default in rhel8 system yum list|grep cockpit #Check whether the cockpit has been set to boot systemctl list-unit-files|grep cockpit #Set cockpit boot systemctl enable –now cockpit.socket #View cockpit running status systemctl status cockpit.service #Start service systemctl start cockpit.service #View cockpit running status systemctl status cockpit.service #Check whether cockpit […]

  • Configuration and use of Linux Firewall


    This paper mainly introduces three kinds of firewalls commonly used in Linux system, which can be accessed through thewhereis xxxCommand to see if the system has been installed 1、 Ubuntu comes with firewall UFW #Installation $ sudo apt install ufw #Turn on / off firewall (default setting is’ Disable ‘) $ sudo ufw enable|disable #Set […]

  • Linux CentOS install supervisor to manage laravel queue


    Install Supervisor yum install supervisor After installation, a supervisor. Conf file and a supervisor. D directory will be generated in the / etc / directory. Configuration files are usually placed in this directory Open the / etc / Supervisor. Conf file, and the last line will have [include] files = supervisord.d/*.ini It means loading all. […]

  • Configuring local Yum image source in Linux


    #Manually mount / dev / sr0 device to / media directory, – O ro is read-only mode mount -o ro /dev/sr0 /media #Configure boot auto mount echo “mount -o ro /dev/sr0 /media” >> /etc/rc.local chmod -x /etc/rc.d/rc.local #View the mount point of the file system df -h #View Cd contents ls /media/ #Configure local Yum […]

  • Basic use of systemctl command in Linux


    1. Systemctl management instruction Basic grammar:Systemctl [start | stop | restart | status] service name systemctlThe service of command management/usr/lib/systemd/systemsee 2. Systemctl sets the self starting state of the service Systemctl list unit files [| grep service name](check the service startup status,grepCan be filtered) Systemctl enable service name(set the service to power on)3(no interface) and5(GUI) […]

  • Simple configuration of CentOS 7 docker firewall


    Disable firewalld service systemctl disable firewalld systemctl stop firewalld Install iptables firewall service yum install iptables-services Create iptables configuration script cat >> /usr/local/bin/fired.sh <<‘EOF’ #!/bin/bash iptables -F iptables -X iptables -Z iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -i eth0 […]

  • [Android systrace series] capture the startup process of systrace


    ————————————————————————- The small goal of this article is to understand the steps of grabbing systrace in the boot process ————————————————————————-   Mobile phone boot process, involving a lot of code, if you can use systrace to analyze, get twice the result with half the effort. First, decompose the time-consuming of each startup stage to facilitate […]

  • CentOS firewall operation


    1. Basic use of firewalld Start up: systemctl start firewalld View status: systemctl status firewalld stop it: systemctl disable firewalld Disabled: systemctl stop firewalld 2. Systemctl is the main service management tool in centos7. It integrates the functions of previous service and chkconfig. Start firewall: systemctl start firewalld.service Turn off firewall: systemctl stop firewalld.service Restart […]

  • LNMP environment installation


    brief introduction Installation and use of LNMProotUser run, serverCentOS 7.2 64 bit Nginx Add source for nginx sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm Install nginx Throughyum search nginxSee if the source has been added successfully. If successful, execute the following command to install nginx.sudo yum install -y nginx Start nginx and set it to run automatically #Start […]