1、验证 Python 环境是否安装python -Vpython -c "import tornado; print(tornado.version)"2、如果没有安装需安装 Pythonwget --no-check-certificate https://bootstrap.pypa.io/get-pip.pysudo python get-pip.py3、安装 tornadosudo pip install tornado==4.2.14、下载 GateOne 安装包https://github.com/liftoff/GateOne5、上传到服务器解压6、安装sudo python ./setup.py install7、验证s
1、从宝塔后台进入终端输入root、密码进行登录。2、进入 MySQLmysql -uroot -p3、使用 MySQL 账户use mysql4、更新权限update user set Host='%' where User='root';5、刷新权限flush privileges;../../md/Linux服务器/
先推荐一款更精简版本的再确定是否需要安装https://github.com/midoks/mdserver-web正文开始CentOS 安装yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh forumUbuntu/Deepin 安装wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh forumDebian 安装wget -O install.sh http
生成 key,此处秘钥长度为1024会报错太短openssl genrsa -des3 -out server.key 2048生成 csr,一直下一步下一步就行openssl req -new -key server.key -out server.csr去除密码openssl rsa -in server.key -out server_nopass.key生成证书openssl x509 -req -days 365 -in server.csr -signkey server_nopass.key -out server.crt之后删掉 server.key 将 server_nopass.key 改为:server.key../../md/Lin
1、查看nginx原有的模块(是否开启了ssl模式)/usr/local/nginx/sbin/nginx -V有:--with-http_ssl_module就是ssl模式 代表已经配置安装好了2、切换到源码包cd /home/nginx/nginx-1.23.1/3、开始配置新的模式./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module4、配置完成后,运行命令make5、然后备份原有已安装好的nginxcp /usr/loc
1、下载安装包这里以:jdk-8u251-linux-x64.tar.gz 包为例。2、解压tar -zxvf jdk-8u251-linux-x64.tar.gz3、移动安装mv jdk1.8.0_251/ /usr/local/jdk1.84、配置环境变量vim ~/.bashrc添加如下信息:export JAVA_HOME=/usr/local/jdk1.8 export CLASSPATH=$:CLASSPATH:$JAVA_HOME/lib/ export PATH=$PATH:$JAVA_HOME/bin5、重启reboot6、检测java -version../../md/Linux服务器/
一、安装 mariadbyum install mariadb-server如果安装不成功,清理:yum clean all二、mariadb 常用命令启动systemctl start mariadb重启systemctl restart mariadb关闭systemctl stop mariadb开机自动启动systemctl enable mariadb禁用开机启动systemctl disable mariadb三、初始化数据库mysql_secure_installation输入root密码(默认为空),直接回车是否设置密码?输入y,
1、安装依赖yum install -y gccgcc -v2、下载 rediswget https://download.redis.io/releases/redis-6.2.6.tar.gz3、解压tar -zxvf redis-6.2.6.tar.gz4、编译安装进入解压目录cd redis-6.2.6编译make指定安装目录安装make install PREFIX=/usr/local/redis5、部署配置文件redis.conf 文件在刚解压后的文件夹中cp ./redis.conf /usr/local/redis/bin/编辑vim /usr/local/redis/bin/redis.conf修
修改本文件夹中所有 .txt 后缀为 .docxfind . -type f -name "*.txt" -print0 | xargs -0 rename .txt .docx {}../../md/Linux服务器/
一、安装yum -y install chrony二、开机启动 + 启动命令systemctl enable chronyd systemctl start chronyd三、服务端配置vim /etc/chrony.conf# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). server s1a.time.edu.cn iburst server ntp.aliyun.com iburst # Allow NTP client access from local network. allow 192.168.1.123/24 # 打开时