分類: 其他
thumbnail

Nginx: reverse proxy conf

include proxy_params; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrad……
thumbnail

Canonical Livepatch Service

前往:註冊頁面 個人用戶免費三台,點選 Ubuntu user 後點選下方Get LivePatch Token 登入Ubuntu ID後取得ID 會長的像下面這樣: 4c5*********************acb3b……
thumbnail

修正mysql-ERROR 1698 (28000): Access denied for user 'root'@'localhost'

sudo mysql -u root MariaDB [mysql]>GRANT ALL PRIVILEGES ON *.* TO 'root'@'web.server.ip.address'; MariaDB [mysql]>GRANT USAGE ON *.* TO 'roo……
thumbnail

PHP:Nextcloud與Collabora CODE 非英文檔名無法開啟解法

nano /etc/php/7.2/fpm/php.ini 找到: disable_functions 將 pcntl_wtermsig 註解掉即可 or ---------------------------- <優先建議使用> 在Nextcloud……
thumbnail

Install portainer(docker-ce) and Create Cluster on PVE

安裝Docker-CE apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common pve-headers curl -fsSL https://downloa……
thumbnail

OpenVPN on LXC

適用 Ubuntu 18.04 建立 LXC 過程中需要預先關閉非特權的功能否則後續 TUN/TAP 會無法建立 apt update &&apt upgrade -y && apt install -y c……
thumbnail

locale 遺失解決方法

遇到以下狀況情形時: LANGUAGE = "zh_TW:en", LC_ALL = (unset), LC_MESSAGES = "zh_TW.UTF-8", LANG = "zh_TW" are supported and installed on your system.……
thumbnail

Install Prometheus + Grafana

以下方式可以採用LXC方式 拆分 Prometheus /Grafana/以及各node_exproter 新增使用者: useradd --no-create-home --shell /bin/false prometheus useradd --……
thumbnail

easy2boot

官網:http://www.easy2boot.com/ 一個不錯的啟動盤製作軟體easy2boot(可以直接添加ISO來啟動) 一個不錯的啟動盤製作軟體easy2boot(可以直接添加ISO來啟動) 超……
thumbnail

Linux:mdadm create

Status: cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] md0 : active raid5 nvme6n1[2] nvme……
thumbnail

Nginx:Security Header Setting

nano /etc/nginx/nginx.conf user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { wor……
thumbnail

Nginx :proxy_headers_hash_max_size 解決方法

Nginx錯誤 [emerg]: could not build the proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_……
thumbnail

Let's Encrypt DNS 簽證

安裝Cert-bot: sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update……
thumbnail

BookStack Menual installation(Nginx)

LNMP 先建立完成後安裝git/composer/php-tidy: apt install git composer php-tidy 先移動到要存放的位置: cd /var/www 安裝完成之後git clone 官方原版或者節……
thumbnail

Nginx Reverse Proxy with SSL Example

server { listen 443 ssl; server_name example.com; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_c……
thumbnail

PHP 7啟用Zend-Opcache

啟用Zend Opcache nano /etc/php/7.2/fpm/php.ini or nano /etc/php/7.2/fpm/conf.d/10-opcache.ini zend_extension=opcache.so opcache.enable=1 opcache.e……
thumbnail

誤刪apt 來源查詢方法

cat /usr/share/doc/apt/examples/sources.list 結果: # See sources.list(5) manpage for more information # Remember that CD-ROMs, DVDs and such are ma……
thumbnail

架設 Hentai@Home 分散式運算系統

内容已加密,请输入密码以后查看
thumbnail

Raspberry Pi: PiVPN

OpenVPN install: curl -L https://install.pivpn.io | bash 新增使用者: pivpn add OpenVPN on iOS cd /etc/openvpn/easy-rsa | 終端機移動到這個目錄 sudo .……
thumbnail

Wordpress: 禁用 xmlrpc.php 防止攻擊

nano  /web path/.htaccess 增加: <Files xmlrpc.php> order deny,allow deny from all </Files>