• A few days a Linux command – wc


    wc: Print the number of lines, words (Word number) and bytes of the file. word refers to a sequence of characters whose length is not 0 and separated by blank characters. Specific usage:wc [option] [file] Commonly used [options]: -c: print the number of bytes -m: print the number of characters -l: print line number -w: […]

  • Centos 7 Nginx + PHP installation steps


    Centos 7 Nginx + PHP installation steps PHP7/Nginx/Memcached installation steps under Centos 7. 1. Obtain relevant open source programs 1. Program libraries required by the installation environment sudo -s LANG=C yum -y update yum remove mariadb* yum -y install patch make cmake gcc gcc-c++ bison flex file libtool libtool-libs autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel […]

  • Laravel Octane install Swoole


    what is larave octane octaneYeslaravelOfficially provided third-party packages, which can be integrated bySwooleandRoadRunnerBoth high-performance application servers to improve application performance. RoadRunneritself is aGoOpen source written in the languagePHPapplication server.Swooleis a useC++A parallel network communication engine based on asynchronous event-driven and coroutines written inPHPProvide coroutine, high-performance network programming support. andApacheorNginxandPHP-FPMvery similar,HTTPRequests can be sent toRoadRunnerorSwooleto executePHPcode […]

  • Deploy applications as JAR packages


    Deploy applications as JAR packages 1. Package the app mvn clean package -Dmaven.test.skip=true -Dmaven.test.skip: skip unit tests 2. Launch the app java -jar -Dserver.port=8090 sell.jar -Dserver.port: Specify the port 3. Multi-environment startup java -jar -Dserver.port=8090 -Dspring.profiles.active=prod sell.jar -Dspring.profiles.active=prod: use production environment, prod is application-prod.yml 4. Running in the background nohup java -jar sell.jar > /dev/null […]

  • Centos7 install dokcer


    Use the domestic daocloud one-click installation command: curl -sSL https://get.daocloud.io/docker | sh There may be an unsuccessful installation, try several times. Execute the following commands to start the docker server and set docker to start automatically systemctl start docker systemctl enable docker To test whether docker is installed successfully, execute the commanddocker pull hello-world, if […]

  • Teach you to deploy your own “Github” – Gitlab


    Environmental preparation Centos 7 Docker 20.10.17 (other versions are also OK) Gitlab gitlab-ce:14.0.5-ce.0 write in front Article reference:https://soulteary.com/2021/07… The cloud server I use has only 4g of memory. After deploying gitlab, I found that the card master of the machine did not move, and the memory came directly to about 3.4. When the browser accesses […]

  • Quick look at the dry goods! CentOS7+Oracle 19c install and enable IPv6 monitoring, take you to the end.


    written at the beginning Recently, the Ministry of Industry and Information Technology issued a notice on the implementation of the “Action Plan for Promoting the Large-scale Deployment of IPv6”. . . Sorry, off topic! In fact, there is no digression, this article is to talk about things related to IPV6. Now many of the latest […]