Ubuntu Server 20.04开启root登录ssh的方式
sudo passwd root 设置root密码 sudo nano /etc/ssh/sshd_config PermitRootLogin yessudo systemctl restart sshd 重启sshd服务 然后就可以使用root登录了
人生要用心去度量 LiangChiCun.com
sudo passwd root 设置root密码 sudo nano /etc/ssh/sshd_config PermitRootLogin yessudo systemctl restart sshd 重启sshd服务 然后就可以使用root登录了
1. Deprecation Notice in ./libraries/classes/Di/ReflectorItem.php#82 Method ReflectionParameter::getClass() is deprecated 修复: nano /usr/share/phpmyadmin/libraries/classes/Di/Reflec… 继续阅读 Fix phpmyadmin error when used PHP8
yahoo邮箱从2022年2月28日起关闭来自中国大陆的邮箱。只要是中国大陆用户注册的yahoo邮箱都将被直接关闭。其他地区的用户不受影响。
首先查看服务器的网卡名称,可以使用以下任意一个命令: ip l show ip a show ifconfig 一般KVM的VPS网卡名称为eth0 然后直接使用安装工具安装vnstat apt-get install vnstat 安装好后,可以直接使用,也可以配置一下vnstat监测的网卡名称,如果不配置,vnstat则自动检测。 nano /etc/v… 继续阅读 Ubuntu下安装流量监测工具 vnstat 并使用 vnstati
对于小内存VPS(一般可以认为内存小于1G的VPS属于小内存VPS),这时MySQLY就会显得内存占用较大,最有效的减小MySQL内存占用的办法就是关闭MySQL的performance_schema选项。编辑 /etc/mysql/my.cnf 文件,在末尾增加 [mysqld]performance_schema=OFF 保存文件后重启MySQL服务 s… 继续阅读 小内存VPS 配置 MySQL 减少内存占用
首先配置MySQL 8 使其能允许任意IP访问,以下操作均是在需要管理员权限 sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf 将 bind-address 设置为 0.0.0.0 bind-address = 0.0.0.0 重新启动mysql服务 systemctl restart mysql 这时我们需要设置ro… 继续阅读 MySQL8 root用户远程访问配置 Allow root user remote access.
Chinese cooking has a long history and many schools. The basic characteristics of Chinese cooking are summarized in the following four aspects: Chinese cooking focuses on the resea… 继续阅读 What are the characteristics of Chinese cuisine?
1. The service provided by CDN is stable and fast. We use CDN. We hope it can provide a better user experience for customers who visit our website. Therefore, it is very important… 继续阅读 How to choose a good CDN?