摘要: 一、安装 欧拉版(e版) # yum install -y x11vnc # systemctl stop firewalld # systemctl disable firewalld 配置服务 # vim /lib/systemd/system/x11vnc.service [Unit] Des 阅读全文
posted @ 2021-10-20 14:14 相信童话 阅读(872) 评论(0) 推荐(0)
摘要: 一、安装 # 更新源 sudo apt update # 安装 sudo install apache2 -y # 查看安装的文件 dpkg -L apache2 二、配置文件及命令 1.配置文件 文件 说明 /etc/apache2 配置文件根目录 /etc/apache2/apache2.con 阅读全文
posted @ 2021-10-08 22:28 相信童话 阅读(767) 评论(0) 推荐(0)
摘要: 一、安装 服务端安装 sudo apt install -y vsftpd 客户端安装 sudo apt install -y ftp 二、配置项 配置文件路径:/etc/vsftpd.conf 类别 配置项 描述 匿名用户 anonymous_enable=yes 允许匿名用户访问,需local_ 阅读全文
posted @ 2021-10-08 22:16 相信童话 阅读(1379) 评论(0) 推荐(0)
摘要: 一、变量 1.1 变量赋值 直接赋值 #!/bin/bash name="tanqing" declare -i num=123 #声明整数型变量 declare -a lists=("a" "b" "c") #定义数组 间接赋值 #!/bin/bash read -p "please insert 阅读全文
posted @ 2021-09-30 11:12 相信童话 阅读(118) 评论(0) 推荐(0)