|-摘 FileZilla设置主密码保护FTP密码,服务器主机网站更安全了。
打开FileZilla。
选择编辑>设置。
切换到“界面”页面。
您可以在此处找到密码部分。默认设置为保存密码。
从列表中选择“保存受主密码保护的密码”,然后输入所需的密码。它必须至少包含八个字符。
选择确定以保存更改。
请注意,从那时起,所有密码均受主密码保护。
密码保护
当您连接到第一个保存的站点时,FileZilla提示您输入主密码。要求您在提示中输入它,并且可以选择“记住选项”,以便在同一会话中不会再次提示您。...
|-摘 linux配置多个ssl证书,Apache 配置多个HTTPS站点(202204亲测)
经常会遇到多个站点在一个服务器上用的同一个IP,都要实现https访问
运行环境
OS:CentOS8
Web:Apache
安装Apache
1、安装Apache
[root@node1 ~]# yum install httpd -y
2、启动服务
[root@node1 ~]# service httpd start
Starting httpd: [ OK ]
[root@node1 ~]#
3、修改测试页面
[root@node1 ~]# cat /var/www/html/index.html
Apache Test Page~
4、测试访问
实现HTTPS访问
1、安装SSL模块
[root@node1 ~]# yum install mod_ssl -y
2、检测
[root@node1 ~]# cd /etc/httpd/modules/
[root@node1 modules]# ll | grep ssl
-rwxr-xr-x 1 root root 181872 Oct 20 2017 mod_ssl.so
3、上传证书文件(上传到哪里都可以,后面再ssl配置文件里只指向即可)
这里我们可以到各大厂商去申请免费证书,可满足个人网站的需求,如企业网站,建议购买企业收费证书;
[root@node1 ~]# cd /etc/httpd/
[root@node1 httpd]# mkdir ssl/default
[root@node1 httpd]# cd ssl/default
[root@node1 default]# rz
[root@node1 default]# ll
total 12 ...
|-转 mysql报错问题解决MySQL server PID file could not be found!
注意# killall mysqld的方法同样适用与apache提示server PID file could not be found!,命令为killall httpd
MySQL server PID file could not be found!
无法启动mysql服务
# service mysqld start
MySQL server PID file could not be found! [FAILED]
Starting MySQL...The server quit without updating PID file [FAILED]ydata/centossz008.pid).
通过ss -tnl发现服务仍然存在 ...
|-转 找了半天找不到看着靠谱的centos8开机启动后运行的脚本
找了半天找不到看着靠谱的centos8开机启动后运行的脚本,centos7的文章倒是很多。...
|-原 LAMP一键安装包安装的时候方便,增加开机启动的时候出了问题
之前安装原生动apache和msyql,php的搭建的服务器,设置apache开机启动很方便 就运行一行systemctl enable httpd.service就像
想增加一个apache开启启动,结果用
chkconfig -add httpd
chkconfig httpd on
然后reboot...
|-转 一键安装,用sh一键安装LAMP
https://github.com/teddysun/lamp
Description
LAMPis a powerful bash script for the installation of Apache + PHP + MySQL/MariaDB and so on. You can install Apache + PHP + MySQL/MariaDB in an very easy way, just need to choose what you want to install before installation. And all things will be done in few minutes.
- Supported System
- Supported Software
- Software Version
- Installation
- Upgrade
- Backup
- Uninstall
- Default Installation Location
- Process Management
- lamp command
- Bugs & Issues
- License
- If your server system: Amazon Linux/CentOS/RedHat
yum -y install wget git git clone https://github.com/teddysun/lamp.git cd lamp chmod 755 *.sh ./lamp.sh
- If your server system: Debian/Ubuntu
apt-get -y install wget git git clone https://github.com/teddysun/lamp.git cd lamp chmod 755 *.sh ./lamp.sh
./lamp.sh -h
- Automation install mode example
./lamp.sh --apache_option 1 --apache_modules mod_wsgi,mod_security --db_option 2 --db_root_pwd teddysun.com --php_option 5 --php_extensions apcu,ioncube,imagick,redis,mongodb,libsodium,swoole --db_manage_modules phpmyadmin,adminer --kodexplorer_option 1
|-转 QQ授权码(更改QQ密码以及独立密码会触发授权码过期)
1、什么是授权码?
温馨提醒:为了你的帐户安全,更改QQ密码以及独立密码会触发授权码过期,需要重新获取新的授权码登录。...