相關內容移往
標籤
BAT
(38)
shell
(34)
Virtual Machine
(33)
Xubuntu
(29)
acfs
(25)
PHP
(24)
CentOS
(21)
Virtul Box
(20)
編輯器
(17)
資料庫
(15)
lubuntu
(13)
windows
(13)
CPP
(12)
ubuntu
(12)
chrome
(11)
laravel
(10)
Docker
(9)
Python
(9)
5A88
(7)
VMware
(6)
資料結構
(6)
Javascript
(5)
Node
(5)
Proxmox VE
(5)
公告系統
(5)
程式積木
(5)
Android Studio
(4)
ANN
(3)
OB2D2016x64
(3)
Xoops
(3)
clonezilla
(3)
samba
(3)
公文
(3)
其他
(3)
硬體
(3)
API
(2)
Android
(2)
AppInvent2
(2)
Html
(2)
Hyper-V
(2)
Nas
(2)
botnet
(2)
mbot
(2)
swift
(2)
wordpress
(2)
樣板
(2)
防火牆
(2)
AD的應用
(1)
Ansible
(1)
Arduino
(1)
CSS
(1)
GitLab
(1)
HA Proxy
(1)
LegoEV3
(1)
PowerShell
(1)
Scratch
(1)
VM
(1)
XenServer
(1)
kotlin
(1)
linuxmint
(1)
lxc
(1)
2021年2月15日 星期一
2017年4月1日 星期六
利用 iLo 管理 HP ProLian ML310e Gen8 v2 伺服器主機
1.伺服器內安裝好 Ubuntu 12.04 x64 並加裝好桌面環境,例如 lxde
2.在IE 8 瀏覽器網址輸入 https://伺服器iLo IP,例如: https://172.20.3.155
3.
參考文章
1.使用iLO遠程管理HP系列服務器
http://fanli7.net/a/JAVAbiancheng/JAVAzonghe/20130417/341188.html
2.HP ProLiant 伺服器 - 如何設定 iLO
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03527487
3.HP DL380 G8 iLO設定及使用Remote Cosole
http://solaris-note.blogspot.tw/2016/05/hp-dl380-g8-iloremote-cosole.html
4.HP的iLO(Integrated Lights-Out)遠端控制卡
http://ithelp.ithome.com.tw/questions/10027311
5.HP ILO安裝配置使用教程
https://xshell.net/linux/hp_ilo_setup.html
6.HPE iLO 4 用户指南
http://h20566.www2.hpe.com/hpsc/doc/public/display?docId=c03334055
7.HP ProLiant ML310e Gen8 v2 伺服器使用者指南
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03804825&DocLang=zh&docLocale=zh_TW
2.在IE 8 瀏覽器網址輸入 https://伺服器iLo IP,例如: https://172.20.3.155
3.
參考文章
1.使用iLO遠程管理HP系列服務器
http://fanli7.net/a/JAVAbiancheng/JAVAzonghe/20130417/341188.html
2.HP ProLiant 伺服器 - 如何設定 iLO
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03527487
3.HP DL380 G8 iLO設定及使用Remote Cosole
http://solaris-note.blogspot.tw/2016/05/hp-dl380-g8-iloremote-cosole.html
4.HP的iLO(Integrated Lights-Out)遠端控制卡
http://ithelp.ithome.com.tw/questions/10027311
5.HP ILO安裝配置使用教程
https://xshell.net/linux/hp_ilo_setup.html
6.HPE iLO 4 用户指南
http://h20566.www2.hpe.com/hpsc/doc/public/display?docId=c03334055
7.HP ProLiant ML310e Gen8 v2 伺服器使用者指南
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03804825&DocLang=zh&docLocale=zh_TW
2017年3月30日 星期四
如何在 HP ProLian ML310e Gen8 v2 伺服器主機安裝 ubuntu 12.04 x64
1.HP ProLian ML310e Gen8 v2 伺服器主機安裝Ubuntu 12.04
$sudo apt-get install lxde
安裝中文化所須套件
$sudo apt-get install fonts-arphic-bkai00mp fonts-arphic-bsmi00lp fonts-arphic-ukai
$sudo apt-get install fonts-arphic-uming fonts-wqy-microhei fonts-wqy-zenhei
$sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy fonts-droid
$sudo apt-get install language-pack-zh-hant language-pack-gnome-zh-hant
$sudo apt-get install language-pack-zh-hant-base language-pack-gnome-zh-hant-base
$sudo apt-get install language-selector-common language-selector-gnome
(3)修改servername
$sudo pico /etc/hostname
改成想要的名稱 ub1204x64
$sudo pico /etc/hosts
127.0.1.1 ub1204x64
(4)網路設定
$sudo pico /etc/network/interfaces
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.xxx
gateway 1xxx.xxx.xxx.xxx
dns-nameservers 8.8.8.8 168.95.1.1
(5)設定DNS
$sudo vim /etc/resolvconf/resolv.conf.d/head
nameserver 8.8.8.8
nameserver 168.95.1.1
執行設定結果
$sudo resolvconf -u
(6)建立 /home/webadmin/html 的軟連結
$cd /home/webdmin/
$mkdir html
$ln -s /home/webadmin/html /var/www/html
若 /var/www/ 有 html 目錄 需先更名
$cd /var/www/
$sudo mv html html2
(7)更改apache的根目錄
$sudo pico /etc/apache2/sites-enabled/000-default.conf
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
刪除 Options 後面的 Indexes
(8)校時工作
$sudo /usr/sbin/ntpdate time.stdtime.gov.tw
$sudo ntpdate time.stdtime.gov.tw
(9)更新系統
$sudo apt-get update
$sudo apt-get dist-upgrade -y
$sudo apt-get clean
$sudo apt-get autoremove
(10)ramdisk的設計
http://skjhmis.blogspot.tw/2017/03/acfs14043-sfs3ramdisk.html
(11)hosts.allow和hosts.deny
$sudo pico /etc/hosts.allow
內容 sshd: 163.23. ,192.168. ,172.20.
$sudo pico /etc/hosts.deny
內容 ALL:ALL
(12)下載亮哥防火牆程式
$wget http://163.23.89.100/pub/sfs_tool/ufirewall.N2.sh.txt
變更名稱
$sudo mv ufirewall.N2.sh.txt firewall.sh
變更為可執行
$sudo chmod 755 firewall.sh
查詢網卡名稱 確定網卡名稱為eth0
$ifconfig
編修防火牆內容
$sudo vim firewall.sh
內容:
EXT_IF="eth0" => 網卡名稱
OPEN_PORT="22 80" => 開放的通訊埠
########## 配合彰化縣 OpenID 主機 ######################
# iptables -I INPUT -p tcp -s 163.23.200.2 --dport 3306 -j ACCEPT
若要用OpenID,必須取消上行註解
將程式拷貝到系統執行目錄/bin內
$sudo cp firewall.sh /bin/
寫到開機自動執行檔內 /etc/rc.local
$sudo pico /etc/rc.local
在exit 0 之前加入 /bin/firewall.sh
啟動防火牆
$sudo /bin/firewall.sh
參考資料:
1.Hewlett Packard Enterprise 支援中心 http://h20564.www2.hpe.com/hpsc/swd/public/readIndex?sp4ts.oid=5379533&swLangOid=8&swEnvOid=4064
2.HP Proliant ML310 Gen8 First Start & Configuration
https://www.youtube.com/watch?v=ZVgCSp7G9R0&t=2s
3.You can install CentOS 6 5 in HP Proliant ML310e Gen8 v2 (without HP Intelligent Provisioning)
https://www.youtube.com/watch?v=tnOplcnbtfM&t=39s
4.HP Array Configuration Utility (ACU) - How to setup RAID1 on ML310e Gen8 Server
https://www.youtube.com/watch?v=3eL8YkGd33Y&spfreload=5
5.Ubuntu 14.04 ISO - 若 ProLiant Gen8 伺服器配置了 Smart Array B320i 或 Smart Array B120i 控制器,HPVSA 的安裝會失敗
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c04537545&lang=en-us&cc=us
6.ubuntu 12.04 更改sources.list
https://hack.idv.tw/phpbb/viewtopic.php?t=77
7.ubuntu 14.04 server 安裝lxde桌面環境顯示中文亂碼
http://skjhmis.blogspot.tw/2016/11/ubuntu-1404-server-lxde.html
8.從ubuntu 14.04 server開始
http://etplayinfo.blogspot.tw/2014/10/ubuntu-1404-server.html
不能安裝 Ubuntu 14.04 的原因,請點選下列網址:
2.HP ProLian ML310e Gen8 v2 伺服器主機初始設定
3.安裝Ubuntu 12.04後,我作了下列的事項:
(1)更改sources.list
a.備份原始的sources.list
$sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
b.使用正規表示法看看檔案內有沒有抓到需要更改的字串
$sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
b.使用正規表示法看看檔案內有沒有抓到需要更改的字串
$cat /etc/apt/sources.list | grep 'http:\/\/.*.ubuntu.com\/ubuntu'
c.更新sources.list
$sudo sed -i 's/tw.archive.ubuntu.com/ubuntu.stu.edu.tw/g' /etc/apt/sources.list
d.更新
$sudo apt-get update
$sudo apt-get upgrade
(2)安裝輕量型桌面lxde$sudo apt-get install lxde
安裝中文化所須套件
$sudo apt-get install fonts-arphic-bkai00mp fonts-arphic-bsmi00lp fonts-arphic-ukai
$sudo apt-get install fonts-arphic-uming fonts-wqy-microhei fonts-wqy-zenhei
$sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy fonts-droid
$sudo apt-get install language-pack-zh-hant language-pack-gnome-zh-hant
$sudo apt-get install language-pack-zh-hant-base language-pack-gnome-zh-hant-base
$sudo apt-get install language-selector-common language-selector-gnome
(3)修改servername
$sudo pico /etc/hostname
改成想要的名稱 ub1204x64
$sudo pico /etc/hosts
127.0.1.1 ub1204x64
(4)網路設定
$sudo pico /etc/network/interfaces
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.xxx
gateway 1xxx.xxx.xxx.xxx
dns-nameservers 8.8.8.8 168.95.1.1
(5)設定DNS
$sudo vim /etc/resolvconf/resolv.conf.d/head
nameserver 8.8.8.8
nameserver 168.95.1.1
執行設定結果
$sudo resolvconf -u
(6)建立 /home/webadmin/html 的軟連結
$cd /home/webdmin/
$mkdir html
$ln -s /home/webadmin/html /var/www/html
若 /var/www/ 有 html 目錄 需先更名
$cd /var/www/
$sudo mv html html2
(7)更改apache的根目錄
$sudo pico /etc/apache2/sites-enabled/000-default.conf
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
刪除 Options 後面的 Indexes
(8)校時工作
$sudo /usr/sbin/ntpdate time.stdtime.gov.tw
$sudo ntpdate time.stdtime.gov.tw
(9)更新系統
$sudo apt-get update
$sudo apt-get dist-upgrade -y
$sudo apt-get clean
$sudo apt-get autoremove
(10)ramdisk的設計
http://skjhmis.blogspot.tw/2017/03/acfs14043-sfs3ramdisk.html
(11)hosts.allow和hosts.deny
$sudo pico /etc/hosts.allow
內容 sshd: 163.23. ,192.168. ,172.20.
$sudo pico /etc/hosts.deny
內容 ALL:ALL
(12)下載亮哥防火牆程式
$wget http://163.23.89.100/pub/sfs_tool/ufirewall.N2.sh.txt
變更名稱
$sudo mv ufirewall.N2.sh.txt firewall.sh
變更為可執行
$sudo chmod 755 firewall.sh
查詢網卡名稱 確定網卡名稱為eth0
$ifconfig
編修防火牆內容
$sudo vim firewall.sh
內容:
EXT_IF="eth0" => 網卡名稱
OPEN_PORT="22 80" => 開放的通訊埠
########## 配合彰化縣 OpenID 主機 ######################
# iptables -I INPUT -p tcp -s 163.23.200.2 --dport 3306 -j ACCEPT
若要用OpenID,必須取消上行註解
將程式拷貝到系統執行目錄/bin內
$sudo cp firewall.sh /bin/
寫到開機自動執行檔內 /etc/rc.local
$sudo pico /etc/rc.local
在exit 0 之前加入 /bin/firewall.sh
啟動防火牆
$sudo /bin/firewall.sh
參考資料:
1.Hewlett Packard Enterprise 支援中心 http://h20564.www2.hpe.com/hpsc/swd/public/readIndex?sp4ts.oid=5379533&swLangOid=8&swEnvOid=4064
2.HP Proliant ML310 Gen8 First Start & Configuration
https://www.youtube.com/watch?v=ZVgCSp7G9R0&t=2s
3.You can install CentOS 6 5 in HP Proliant ML310e Gen8 v2 (without HP Intelligent Provisioning)
https://www.youtube.com/watch?v=tnOplcnbtfM&t=39s
4.HP Array Configuration Utility (ACU) - How to setup RAID1 on ML310e Gen8 Server
https://www.youtube.com/watch?v=3eL8YkGd33Y&spfreload=5
5.Ubuntu 14.04 ISO - 若 ProLiant Gen8 伺服器配置了 Smart Array B320i 或 Smart Array B120i 控制器,HPVSA 的安裝會失敗
http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c04537545&lang=en-us&cc=us
6.ubuntu 12.04 更改sources.list
https://hack.idv.tw/phpbb/viewtopic.php?t=77
7.ubuntu 14.04 server 安裝lxde桌面環境顯示中文亂碼
http://skjhmis.blogspot.tw/2016/11/ubuntu-1404-server-lxde.html
8.從ubuntu 14.04 server開始
http://etplayinfo.blogspot.tw/2014/10/ubuntu-1404-server.html
訂閱:
意見 (Atom)
在 Windows 10 x64 1909版,使用BAT快速安裝公文系統與人事服務網(自然人憑證)版
相關內容移往 https://skjhcreator.blogspot.com/2021/02/windows-10-x64-1909bat.html
-
下一篇: 只要會用滑鼠點兩下,快速產生一堆的印表機一鍵完成驅動安裝.BAT 使用說明: 以Brother T910DW為例,如何修改一鍵完成印表機安裝驅動BAT,來配合所屬單位的印表機 20200825 感恩頂番國小李清展老師的協助。 有的印表機需要設定列印喜好設定,希望能夠在安...
-
後篇: 只要用滑鼠點兩下,開啟五種不同瀏覽器瀏覽特定的網頁 讓Chrome瀏覽器自動開啟網頁 檔名:ChromeStart.bat 內容: @echo off start "C:\Program Files (x86)\Google\Chrome\A...
-
要利用Code::Blocks來完成APCS考試,又不想背太多程式碼。希望考試時,檢測環境能夠出現字體放大、程式碼自動提示與補完。所以就設定Code::Blocks。 1.字體放大 方法(1).按住Ctrl滾滑鼠滾輪,程式代碼的字體會隨你心意變大變小 方法(2)...
