原创 Centos7-Python3的安裝

Python3 安裝過程 首先安裝這幾個包,不然會報錯 sqllist-devel yum -y install sqlite-devel zlib yum -y install zlib zlib-devel yum -y

原创 Centos+Aria2+AriaNg+Trancers更新

Aria2安裝 僅作爲記錄。 採用靜態文件安裝,更方便。 Aria2靜態文件-github地址:https://github.com/q3aql/aria2-static-builds How To Install? See

原创 Linux命令:cat file EOF

介紹 cat > file <<-EOF 獲取鍵盤輸入,並輸出到file種。 用法 root@kail ~# cat > test.log <<-EOF \ 1 \ 2 \ 3 \ EOF root@kail ~# ca

原创 Subconverter搭建

Subconverter搭建 下載 GitHub地址:https://github.com/tindy2013/subconverter 配置 默認端口:25500 可以在pref.ini中修改。 啓動方式一: 開啓一個scre

原创 Nginx負載均衡,寶塔,自用。

負載均衡 自己用,作爲記錄。 寶塔免費版 直接對網站配置文件進行修改就Ok. 官方插件要錢… upstream test.domain.xyz{ #ip_hash; #IP哈希值算法,根據ip進行匹配,解決s

原创 Vscode Remote Development.遠程開發調試.

簡介 對我而言 直接修改、調試服務器代碼,當然可以安裝插件,包括代碼補全等等,和使用本地vscode一樣的體驗。 直接編輯、修改服務器的文件,使用 code filename.即可 配置 服務端 安裝ssh-server 一

原创 zsh與oh-my-zsh使用~

Bash工具Zsh 安裝 zsh官網:http://www.zsh.org/ oh-my-zsh地址:https://github.com/robbyrussell/oh-my-zsh 安裝zsh yum -y install

原创 ffmpeg安裝,linlux.centos8.

下載 官網地址:http://ffmpeg.org/ 當然建議直接使用靜態文件 靜態文件下載:https://johnvansickle.com/ffmpeg/ 選擇合適自己的版本 配置 配置環境變量 /etc/profil

原创 Firewalld-端口轉發-刪除-配置

目錄基本介紹服務配置規則配置端口規則端口轉發可能的錯誤 基本介紹 Centos7之後,棄用Iptables,不過firewall也更加舒服。 推薦使用~ 服務配置 啓動服務:systemctl start firewalld 關閉

原创 Centos7更換內核~開啓BBR

ELRepo官方網站:http://elrepo.org  導入公鑰 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org 要爲RHEL-安裝ELRepo 7,SL- 7或

原创 Centos掛載ftp--U-file

安裝 curlftpfs,要的就是這個。 yum -y install epel-release yum -y install curlftpfs curlftpfs -o codepage=UTF-8 ftp://usern

原创 Unit service

[Unit] Description=des After=network-online.target [Service] Type=simple ExecStart= Command Restart=on-abort User=r

原创 fail2ban使用,蒐集了一堆,這個最好,故轉載。

推薦 https://www.xiaoz.me/archives/9831#

原创 wire shark檢測不到網卡(Windows 10)。

官網FAQ https://www.wireshark.org/faq.html Tip.0~~~強調 如果你裝過winpacp. 裝這個https://nmap.org/npcap/. 會自動卸載winpcap。 因爲wi

原创 subconverter搭建

subconverter搭建 下載 GitHub地址:https://www.notion.so/kaily/e613a4adbba14da78de5e6d5dfedb27e 配置 默認端口:25500 可以在pref.ini中