######鄭亮星 jls@mail.jls.idv.tw , jls550225@gmail.com , jls@acfs.tw ### 虛擬電腦程式下載連結網址: https://www.virtualbox.org/wiki/Downloads ### 下載ISO檔連結網址: https://www.ubuntu-tw.org/download/download.php?distro=server&version=22.04&arch=amd64 https://ftp.ubuntu-tw.org/ubuntu-releases/22.04 ### 雲端硬碟網址: https://drive.google.com/drive/folders/1iu6yuVQ6V8dfIKbt5-bGkEGvL5ILhwXQ?usp=sharing ### Ubuntu2204S-Offline.tgz 安裝資料檔連結網址: https://drive.google.com/file/d/1v457ix_VNLES7UArojL4f04bDUcTOGou/view?usp=share_link https://drive.google.com/u/0/uc?id=1v457ix_VNLES7UArojL4f04bDUcTOGou&export=download ### 將檔案上傳到伺服器程式連結網址: https://drive.google.com/file/d/1KZnvq6aT2AXmSBet1vm63_2BCmfGF98q/view?usp=share_link https://drive.google.com/u/0/uc?id=1KZnvq6aT2AXmSBet1vm63_2BCmfGF98q&export=download ##安裝圖片目錄 Install_jpg/ <== 基本安裝說明圖示目錄 (請參閱後執行以下 Shell Script ) ##固定 IP 設定範例 sudo nmcli con mod enp0s3 ip4 192.168.22.164/24 gw4 192.168.22.254 ipv4.dns 1.1.1.1,8.8.8.8,168.95.192.1,168.95.1.1 ipv4.method manual connection.autoconnect yes ### ADSL 播號設定範例 ## Set up connection nmcli connection add con-name MyADSL type pppoe ifname enp3s0 username password connection.zone wan ## Enable autoconnect nmcli con mod MyADSL connection.autoconnect yes ## Start connection nmcli con up MyADSL #*/1 * * * * root /sbin/ifconfig ppp0 > /dev/null 2>&1 || /usr/bin/nmcli connection up id "MyADSL" > /dev/null 2>&1 ##按照以下 Shell Script 依序執行 00-System_Setup.sh <== 設定 IP 或 ADSL (會自動重開機) 00-Ubuntu2204S_deb.sh <== 安裝套件及基本功能 01-firewall_install.sh <== 安裝防火牆及基本功能 如:mrtg dhcpd snmpd tftpd ... 02-dns.sh <== 設定DNS (會自動重開機) 03-apache.sh <== 安裝及設定 apache2 php 基本功能 04-mail.sh <== 設定 E-mail webmail 郵件流量 05-phpBB3.sh <== 安裝 phpBB3 網路論壇網站系統 06-samba.sh <== 設定 Samba 網芳 07-proftpd.sh <== 設定 proftpd 08-phpmyadmin.sh <== 安裝 phpMyAdmin-5.1.1-all-languages 09-php_tonyenc.sh <== 安裝 php_tonyenc (php 程式加密) 10-php_laravel.sh <== 安裝 Laravel 11-webmin.sh <== 安裝 Webmin 12-fail2ban.sh <== 安裝 fail2ban 13-vpn_pptpd.sh <== 安裝 VPN pptpd 14-vpn_xl2tp_system_login.sh <== 安裝 VPN xl2tp 15-nextcloud.sh <== 安裝 nextcloud 雲端硬碟 16-oxoffice.sh <== 安裝 OxOffice Online v4 17-certbot_letsencrypt.sh <== 設定Let’s encrypt Wildcard 萬用字元憑證安裝 (需要有真實網域名稱) 18-php_mysql_for_php7.4.sh <== 在一台伺服器上運行多個 PHP 版本 (如 php5.6 php7.4 php8.1 php8.2) #############下載應用程式來同步您的檔案 https://nextcloud.com/install/#install-clients