SELinux Apache proxy error permission denied 的解决方法。 在启动 Apache 的时候出现以下类似错误时: \[proxy:error] [pid 28961:tid 139839546509056\] (13)Permis...
博客广场
SELinux Apache proxy error permission denied
Vue 子組件傳值給父組件
最近用 Vue 創建圖形驗證碼組件的時候,父組件需要獲取到驗證碼的信息,用於表單提交,而子組件應該如何傳值呢?
Vue 子组件传值给父组件
最近用 Vue 创建图形验证码组件的时候,父组件需要获取到验证码的信息,用于表单提交,而子组件应该如何传值呢?
CentOS 安裝 V2ray 服務端
CentOS 安裝 V2ray 服務端教程。 安裝 bash <(curl -L -s https://install.direct/go.sh) 配置 vi /etc/v2ray/config.json 配置在安裝時已經生成默認的,其中需要注意的...
CentOS 安装 V2ray 服务端
CentOS 安装 V2ray 服务端教程。 安装 bash <(curl -L -s https://install.direct/go.sh) 配置 vi /etc/v2ray/config.json 配置在安装时已经生成默认的,其中需要注意的...
CentOS 7 升級 MariaDB
CentOS 7 升級 MariaDB 方法。 $ curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup sudo bash $ sudo yum update
CentOS 7 升级 MariaDB
CentOS 7 升级 MariaDB 方法。 $ curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup sudo bash $ sudo yum update
CentOS 安裝免費 Let’s Encrypt SSL 證書
CentOS 安裝免費 Let’s Encrypt SSL 證書教程。 安裝 CentOS 8 curl -O https://dl.eff.org/certbot-auto mv certbot-auto /usr/local/bin/certbot-auto chmod 0755 /us...
CentOS 安装免费 Let’s Encrypt SSL 证书
CentOS 安装免费 Let’s Encrypt SSL 证书教程。 安装 CentOS 8 curl -O https://dl.eff.org/certbot-auto mv certbot-auto /usr/local/bin/certbot-auto chmod 0755 /us...
CentOS 安裝 MySQL
CentOS MySQL 安裝教程。 安裝倉庫 由於 CentOS 默認的數據庫是 MariaDB,我們需要手動下載和安裝 MySQL 的倉庫。 下載地址: ,比如: 8.0: 5.7: $ wget https://rep...
CentOS 安装 MySQL
CentOS MySQL 安装教程。 安装仓库 由于 CentOS 默认的数据库是 MariaDB,我们需要手动下载和安装 MySQL 的仓库。 下载地址: ,比如: 8.0: 5.7: $ wget https://rep...
CentOS 安裝或升級到 PHP 7
CentOS 官方倉庫的 PHP 版本是 5.4,但此版本已經不再被官方支持,考慮到安全問題和更好的性能,我們有必要安裝或升級更高版本的 PHP,比如最新的 7.2。 那麼我們進入正...
CentOS 安装或升级到 PHP 7
CentOS 官方仓库的 PHP 版本是 5.4,但此版本已经不再被官方支持,考虑到安全问题和更好的性能,我们有必要安装或升级更高版本的 PHP,比如最新的 7.2。 那么我们进入正...
CentOS Repository epel is listed more than once in the configuration
在使用 yum 如果出現以下提示,一般是設置了多個 epel 倉庫: Repository epel is listed more than once in the configuration 倉庫列表位於 /etc/yum.repos.d/: $ ls...
CentOS Repository epel is listed more than once in the configuration
在使用 yum 如果出现以下提示,一般是设置了多个 epel 仓库: Repository epel is listed more than once in the configuration 仓库列表位于 /etc/yum.repos.d/: $ ls...
CentOS 修改 sshd 端口
一般為了在一定程度上避免他人暴力破解密碼,我都會修改 sshd 的默認端口。 當然更安全的做法是禁止密碼登錄,利用密鑰進行登錄。 修改配置 vim /etc/ssh/sshd_config P...
CentOS 修改 sshd 端口
一般为了在一定程度上避免他人暴力破解密码,我都会修改 sshd 的默认端口。 当然更安全的做法是禁止密码登录,利用密钥进行登录。 修改配置 vim /etc/ssh/sshd_config P...
Manjaro 從 XFCE 桌面環境切換為 KDE Plasma 5
Manjaro 從 XFCE 桌面環境切換為 KDE Plasma 5。 安裝 KDE Plasma 5 安裝 KDE Plasma 桌面環境 pacman -S plasma kio-extras 安裝 KDE 應用 pacman -S kdebase 或者安裝...
Manjaro 从 XFCE 桌面环境切换为 KDE Plasma 5
Manjaro 从 XFCE 桌面环境切换为 KDE Plasma 5。 安装 KDE Plasma 5 安装 KDE Plasma 桌面环境 pacman -S plasma kio-extras 安装 KDE 应用 pacman -S kdebase 或者安装...
MySQL 在 AUTO INCREMENT 列存儲零值
由於業務改動,打算在某表加上一個 id 為 0 的記錄,但是發現了個有趣的事情:id 自增了,而不是 。 重現 首先新建一個測試表演示一下: CREATE TABLE t_user(id INTEGE...