All posts by ht

connectivity-check.ubuntu.com/ubuntu无线连接❓问题

在研究 Ubuntu 的连接检查功能之前,让我们首先了解一下 Captive Portals。当尝试访问咖啡店、机场、商务中心、酒店大堂等处的 Wifi 设施时,我们发现自己登陆了一个要求身份验证、付款和/或接受协议条款的网页。只有当我们提供所需的信息时,我们才能访问 Wifi 设施。这种登录页面称为强制门户。在 Ubuntu 17.10 及更高版本中,每当检测到强制门户时,您都会在网络状态中看到一个问号。这项新功能的工作原理是不时http://connectivity-check.ubuntu.com,以检测强制门户。为了更好的保证隐私,我将这个进行禁用。
Continue reading connectivity-check.ubuntu.com/ubuntu无线连接❓问题

最简洁的wordpress-sqlite安装

sudo apt install apache2 libapache2-mod-php php7.4-sqlite3
wget https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip
wget https://wordpress.org/latest.tar.gz
tar xvfz ./latest.tar.gz
unzip ./sqlite-integration.1.8.1.zip
sudo mv wordpress /var/www/html/
sudo cp wp-config-sample.php wp-config.php
sudo mv sqlite-integration /var/www/html/wordpress/wp-content/plugins/
sudo cp db.php /var/www/html/wordpress/wp-content/
sudo chown -R www-data:www-data ./wordpress
sudo service apache2 restart
http://IP/wordpress/wp-admin/install.php