1 Star 0 Fork 0

my76572 / vuepress

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Linux.md 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
my76572 提交于 2022-02-20 23:33 . 0220
  1. 安装好centos7 设置联网
1、在终端输入su,并输入root的密码,切换到root用户
2、cd /进入根目录
3、cd etc
4、vi sudoers
5、找到root ALL=(ALL) ALL这一行,键盘按下i,让我们可以编辑该文本,然后在该行下面输入:自己用户名 ALL=(ALL) ALL。然后按esc退出编辑模式,在按下shift+冒号键,输入wq!,进行保存和退出。此时我们就有了管理员权限。
6、切回到自己的用户:输入su 自己用户名,会提示要输入自己用户密码
7、sudo vi resolv.conf。同样的,先进入编辑模式,然后输入
servername 8.8.8.8
servername 114.114.114.114,保存并退出。
8、cd /sysconfig/network-scprits/,sudo vi ifcfg-ens33,进入编辑模式,将ONROOT=no改为ONROOT=yes,保存并关闭。
9、重启系统,之后进入到终端,重启网络服务:service network restart,之后就可以正常的进行上网了。
  1. 安装nginx

https://www.cnblogs.com/boonya/p/7907999.html

  1. 安装php
./configure --prefix=/usr/local/php --enable-fpm --with-curl --with-openssl --enable-mbregex --with-mysql --with-mysqli --with-mysql-sock --enable-pdo --with-pdo-mysql --enable-mysqlnd --with-gd --with-zlib --enable-zip --with-bz2 --enable-xmlreader --enable-xmlwriter --enable-mbstring --with-xmlrpc --with-libxml-dir=/usr --enable-soap  --enable-sockets --enable-pcntl --enable-exif --enable-bcmath --with-mhash --enable-ftp --enable-opcache --disable-fileinfo --with-apxs2=/usr/local/apache2/bin/apxs --with-pear

1
https://gitee.com/solve_847/vuepress.git
git@gitee.com:solve_847/vuepress.git
solve_847
vuepress
vuepress
master

搜索帮助