其他分享
首页 > 其他分享> > NOJ部署

NOJ部署

作者:互联网

https://njuptaaa.github.io/docs/#/noj/guide/deploy

1.php

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.3
php -v 

2.composer

wget https://getcomposer.org/composer.phar
mv composer.phar composer
chmod +x composer
sudo mv composer /usr/local/bin 

3.MySQL

sudo apt-get install mysql-server
sudo mysql_secure_installation
systemctl status mysql.service

4. Redis

sudo apt-get install redis-server
ps -agx|grep redis

 

标签:install,NOJ,get,部署,sudo,apt,composer,php
来源: https://blog.csdn.net/neo_liukun/article/details/116035353