Microsoft

Microsoft2019-01-15T12:46:17+08:00

MS Forum

FEATURED NEWS

設定MySQL 自動備份 shell script

壓縮備份 檔名加上日期 超過兩天自動刪除(自行修改範圍) #/bin/bash # ================== 設定區 ===================================== user=account_name passwd=account_password back_path=back_dst_folder db_name=dbname # ================================================================= back_time=`date +%Y%m%d_%H%M%S` back_filename=$back_path$db_name$back_time del_time=`date -d "2

By |6 9 月, 2022|0 Comments

OpenVPN Site to Site (Clinet篇)

apt install openvpn -y #test openvpn --config test.ovpn #開機啟動 vi /etc/default/openvpn AUTOSTART="all" #移除註解 cd /etc/openvpn mv test.ovpn client.conf systemctl enable openvpn@client.service systemctl start

By |23 8 月, 2022|0 Comments

netplan網卡設定

network: ethernets: 網卡名稱1: dhcp4: false addresses: [ 外網固定IP/24 ] gateway4: 外網固定IP閘道 nameservers: addresses: [ DNS IP 1,DNS IP 2 ] 網卡名稱2: addresses: [

By |5 8 月, 2022|0 Comments
Load More Posts

TUTORIALS & GUIDES

Hey! Visit our
Microsoft Forum!

Nulla molestie tortor nec lectus venenatis, sed blandit dui finibus. Curabitur feugiat vulputate purus ipsums dolores ficilis uns etra.

Sign up

Subscribe to our Newsletter

[contact-form-7 id=”540″ title=”Subscribe Form”]

Go to Top