Tag:Boot up

  • Installing Tomcat and setting Tomcat as boot item in Linux (centos7) (tomcat8 as an example)


    Install Tomcat Download Tomcat package Tomcat has tomcat7, tomcat8 and tomcat9 versions. At present, tomcat8 is widely used by enterprises, so tomcat8 is listed here Go to tomcat8 download website: tomcat8 download website https://tomcat.apache.org/download-80.cgi Click the corresponding version under download on the left. Here I download apache-tomcat-8.5.47.tar.gz, which is the compressed package of Linux environment […]

  • Write shell script in Ubuntu to start automatically after startup (recommended)


    Scripts are written so that you don’t have to manually start various services (also to be lazy, ha ha) 1. Enter terminal input Create a script file with the suffix. Sh touch test.sh Edit script vim test.sh test.sh Write script content 2. Compilation test.sh script #!/bin/bash ### BEGIN INIT INFO # Provides: test # Required-Start: […]

  • Installing nginx under centos7


    1. Install nginx dependency sudo yum install yum-utils 2. Create nginx source file of Yum repository vi /etc/yum.repos.d/nginx.repo Write the following to the nginx.repo file [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=1 enabled=0 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true 3. Install nginx sudo yum install nginx -y Note: – y is […]

  • Centos7 system startup process


    Premise: PC host, MBR architecture Step 1: Post (power on system test) power on self test. There is a ROM chip (CMOS) on the main board of the PC. after power up, the CPU looks for the raw, reads the instructions inside, and checks whether there is memory, hard disk, display device, etc. on the […]

  • Reset recovery system


    1. Press F9 to enter the following screen, and select “troubleshooting” 2. In the troubleshooting interface, select reset this computer 3 select “delete all contents” in the following figure 4 when the following figure appears, click “clean the drive completely” 5 after cleaning up the drive, select reset to start the system recovery function 6 […]

  • Windows install redis


    1. Download https://github.com/microsoftarchive/redis/releases Extract it to the directory you want to install, for example So we can start the service 2. Start service cd D:\Program Files\Redis-x64-3.2.100 D:\Program Files\Redis-x64-3.2.100>redis-server.exe redis.windows.conf That’s how it starts Common redis service commands: Uninstall redis service —— redis server — service uninstall Enable redis service —— redis server — service start […]

  • Mongodb visualization tool studio 3T cracking tutorial (Mac version)


    1. download package Download the data-man-mongodb-ent-2019.3.0.jar package. Download address: https://pan.baidu.com/s/1mrww Extraction code: 4316 2. replacement pack Open the studio 3T installation directory:Copy the downloaded package to the installation directory and replace the original package. 3. Run terminal command Execute the following command at the terminal: sudo spctl –master-disable Enter the computer power on password and […]

  • 2. Installation and startup of nginx


    install Installation dependency yum install -y libxslt-devel.x86_64 gd.x86_64 gd-devel.x86_64 perl-devel perl-ExtUtils-Embed GeoIP.x86_64 GeoIP-devel.x86_64 gperftools.x86_64 gperftools-devel.x86_64 pcre-devel.x86_64 openssl-devel.x86_64 Compilation and configuration ./configure –prefix=/etc/nginx –sbin-path=/usr/sbin/nginx –modules-path=/usr/lib64/nginx/modules –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock –http-client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=nginx –group=nginx –with-compat –with-file-aio –with-threads –with-http_addition_module –with-http_auth_request_module –with-http_dav_module –with-http_flv_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_mp4_module –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_slice_module –with-http_ssl_module –with-http_stub_status_module –with-http_sub_module –with-http_v2_module –with-mail […]

  • Rule setting and command of firewall (whitelist setting)


    1、 Set firewall rules Example 1: external exposure port 8080 firewall-cmd –permanent –add-port=8080/tcp Example 2: make the 3306 port of MySQL service only accessible to the server of network segment #Add rule firewall-cmd –permanent –add-rich-rule=”rule family=”ipv4″ source address=”″ port protocol=”tcp” port=”3306″ accept” #Reload make effective firewall-cmd –reload Note: if the masquerade IP is not […]

  • Analysis of the connection process between Android application and surfaceflinger service


    Analysis of the connection process between Android application and surfaceflinger service The boot animation of Android system is implemented by the application program boot animation, which is located in the directory / system / bin. For its specific implementation, please refer to the analysis of the boot screen display process of Android system. Why choose […]

  • Centos7.6 network card self startup, ifconfig and MySQL installation


    Written in front Today, I learned the CentOS 7.6 system. After VMware configured the system, I found that there are many things that have not been initialized. Compared with Ubuntu, they need more foundation.This paper mainly records the error reports of Yum and ifconfig, and MySQL installation. You need about 10 minutes to read this […]

  • When you know Python remote switch, then you and your goddess “encounter” the opportunity to come!


    Who says programmers can only be single? Who says programmers don’t have the chance to “meet” goddess? Today one by one to crack rumors, in fact, most programmers do not use technology “right way”!!! After the following operation, it’s just around the corner. You must have heard or practiced using Python to shut down. What […]