Giter VIP home page Giter VIP logo

debian10-lnmp's Introduction

先重新DD一下debian10

bash <(wget --no-check-certificate -qO- 'https://github.com/GouGoGoal/SSPanel-Uim/raw/master/InstallNET.sh') -d 10 -v 64 -a
国内源 --mirror 'http://mirrors.ustc.edu.cn/debian/'

香港源 --mirror 'http://ftp.hk.debian.org/debian/'
日本源 --mirror 'http://ftp.jp.debian.org/debian/'
**源 --mirror 'http://ftp.tw.debian.org/debian/'

#安装常用命令
apt -y install wget vim curl gnupg lsb-release

#添加nginx主线源
echo "deb http://nginx.org/packages/mainline/debian buster nginx" >>/etc/apt/sources.list
curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add -
apt-key fingerprint ABF5BD827BD9BF62
apt update
apt -y install nginx
#安装完毕后更改 /lib/systemd/system/nginx.service
[Service]
ExecStartPost=/bin/sleep 0.1
#延迟0.1毫秒
systemctl daemon-reload
#可以避免出现Can't open PID file /run/nginx.pid (yet?) 提示

mysql 源的地址 https://dev.mysql.com/downloads/repo/apt/
#添加mysql源
wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
dpkg -i
选择OK

#安装php
apt -y install php7.3-fpm php7.3-mysql php7.3-curl php7.3-gd php7.3-mbstring php7.3-xml php7.3-xmlrpc php7.3-opcache php7.3-zip php7.3 php7.3-json php7.3-bz2 php7.3-bcmath
#添加软链接,方便重启服务
ln -s /lib/systemd/system/php7.3-fpm.service /etc/systemd/system/php.service

debian10-lnmp's People

Contributors

gougogoal avatar

Watchers

James Cloos avatar

Forkers

megasuhak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.