主機維護
Chia-Hung Huang, 黃嘉宏
Sat, Apr 9, 2022 9:45 AM
.iso
file, and put it into Public/OS/
.
Visualization Station 3
on NAS and create a new VM. Select the .iso
file you just put into Public/OS/
and set the Storage to Public/VM/
. For other setting details, please refer to the settings of the other VMs already on NAS.Network & Virtual Switch
on NAS.IPv4
tab, select Use static IP address
and do the following settings:
Fixed IP address
: Set to be one of the available IP address. For IP address list, please refer to: https://docs.google.com/spreadsheets/d/1vJ2QMsyDoNt_3NYPdfaaj2HSeqewk9nBcHeyNNdoq14/edit#gid=1138232818Subnet Mask
: 255.255.255.0
Gateway
: 140.112.30.254
DNS
tab, select Use the following DNS server address
and do the following settings:
Primary DNS server
: 140.112.2.2
Secondary DNS server
: 140.112.4.254
Advanced Mode
, and connect the physical adapter to the VM you just created. Please note that you should NEVER touch the System Default Gateway, or the whole NAS service may crush.
Stacic IP
, Use the same settings as the selected adapter
IPv6 Auto-Configuration (Stateless)
Primary DNS server
to 140.112.2.2
and Secondary DNS server
to 140.112.4.254
Overview
tab, make sure there is a blue earth icon, which means "Internet connected", on the Physical Adapter and Vitrual Switch you just created. You can refer to the following image for example.ControlPanel
of the NAS service, go to Network & File
> Network Access
> Service Binding
, and enable Web server
and SQL server
of the newly-added physical adapter.設定 > 網路和網際網路 > 乙太網路 > 內容 > IP 設定
,手動指派 IP:
24
140.112.30.254
140.112.2.2
、140.112.4.254
xampp
directly under C:/
(i.e. C:/xampp
, NOT C:/program Files/xampp
)C:/WebRoot
Config
(as shown in the image) and modify the following files:Apache(httpd.conf)
:
Apache(httpd-ssl.conf)
PHP(php.ini)
httpd.conf
WebRoot
directory is now accessible from outside network with its IP.For further works, please refer to DocuSky 架設程序 (移機)