Switch – Block DHCP Broadcast
兩台 Switch 皆有 DHCP Server ,串接在一起就打架了,有什麼辦法可以串再一起又不會影響彼此的 DHCP ,一開始有想過設定 Vlan + Trunk 來隔開,後來找到另外一種更方便的方式 Switch ACL (Access Control List). 測試環境為 Edge-Core ES4650 (Power by Accton) Layer 3 Switch x 2. 兩台...
View ArticleAPC PDU – AP89XX
PDU (Power Distribution Unit) 機櫃式電源分配器. 我參考了使用手冊 MLAN-9F8QVU_R7_EN.pdf,該文件有 172 頁,整理一下怎麼快速入門使用它. 首先須將序列埠與網路先連接上. RJ-12 Serial Port Port(10) – 預設為 9600 bps, 8 data bits, no parity, 1 stop bit, 以及 no...
View ArticleApache – .htaccess
測試環境 CentOS 7 64bits 第一次使用到 Apache 的 .htaccess 應該是在設定 WordPress 固定網址設定 – http://benjr.tw/10918 先來看一下 Apache 設定檔 /etc/httpd/conf/httpd.conf 裡面就已經針對部分檔案設定了權限,如 .htaccess 與 .htpasswd 是不能透過網頁讀取的....
View ArticleConsole Switch – Digi PortServer
什麼是 Console Switch ,有些設備(通常是沒有 VGA 輸出的裝置,如 switch , Storage …)提供 Console 介面用以提供初次設定或是使用指令介面.但如果是實驗室或是大型機房,不可能找到這麼多電腦有 console (tty 或是 USB serial port) ,這時候可以透過 Console Switch ....
View ArticleSwitch – Block DHCP Server
公司測試環境常常有人不小心把 DHCP Server 連接到主要的 Switch 上,造成其他同事測試上的問題. 可以把非 DHCP Server 的埠,可以透過 Switch ACL (Access Control List) 功能來把 DHCP Server 使用的協定阻擋 ( Deny , Block) 起來即可. 測試環境為 Edge-Core ES4650 (Power by...
View ArticleLinux command – firewall-cmd
測試環境為 CentOS 8 x64 (虛擬機 ) 現在可以用 firewall-cmd 指令來改 防火牆設定. 參考文章 – https://blog.gtwang.org/linux/centos-7-firewalld-command-setup-tutorial/2/ 啟動防火牆. [root@localhost ~]# systemctl enable firewalld Created...
View ArticleLinux – EDAC & rasdaemon
測試環境為 CentOS 8 x86_64 關於 rasdaemon 的說明 – https://github.com/mchehab/rasdaemon 與 EDAC – https://www.kernel.org/doc/html/latest/driver-api/edac.html Rasdaemon is a RAS (Reliability, Availability and...
View ArticleLinux – Shared memory
測試環境為 CentOS8 (虛擬機) Apache 突然掛了,檢查系統訊息出現以下的錯誤. [root@localhost ~]# cat /var/log/httpd/error_log No space left on device: AH01760: failed to create shared memory segment shared memory 共享記憶體,主要用途是允許兩個程序...
View ArticleApache – The timeout specified has expired
測試環境 CentOS 8 Apache 的 error_log 出現以下錯誤訊息. [Tue Nov 15 14:13:42.015901 2022] [proxy_fcgi:error] [pid 52264:tid 140063077807872] (70007)The timeout specified has expired: [client 10.58.211.183:58668]...
View ArticleSwitch (Powerconnect 5324) – VLAN & Trunk
要設定 Dell 1G Switch (型號 Powerconnect 5324) VLAN ,並透過 Trunk Port 與其他既存的 Switch 相連線. VLAN 透過 VLan 的功能能將一個實體的 switch 將他切割成多個 logical broadcast domain (所有的廣播封包 broadcast package 只會在此 doamin 中傳送). Trunk...
View Article