从网络安全入门到放弃
2020-12-19 ITHO
systemctl is-enabled servicename.service #查询服务是否开机启动 systemctl enable *.service #开机运行服务 systemctl disable *.service #取消开机运行 systemctl start *.service #启动服务 systemctl stop *.service #停止服务 systemctl restart *.service #重启服务 systemctl reload *.service #重新加载服务配置文件 systemctl status *.service #查询服务运行状态2020-12-18 ITHO
文件位置:/etc/apt/sources.list #添加阿里源 deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://mirrors.aliyun.c...标签: ubuntu
2020-12-18 ITHO
0x01安装Nginx 安装Nginx sudo apt-get install nginx 启动Nginx服务 sudo /etc/init.d/nginx start 停止Nginx服务 sudo /etc/init.d/nginx stop 加载最新配置 sudo /etc/init.d/nginx reload 默认配置文件位置简单配置 /etc/nginx/sites-enabled/default server { listen 80; server_name localhost; root /var/www/html; location / { ...