宜蘭縣教育支援平台 會員登入 會員註冊 我的i教書 發表新文章

參考網站:
CentOS 7 : Configure iSCSI Initiator(CentOS) : Server World
CentOS 7 安裝 iSCSI Server

1. 安裝 iscsi-initiator-utils 套件
# yum -y install iscsi-initiator-utils

2. 修改 /etc/iscsi/initiatorname.iscsi 設定檔
# vim /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.2017-04.tces.test:linux-pc

3. 修改 /etc/iscsi/iscsid.conf  設定檔
# cp /etc/iscsi/iscsid.conf /etc/iscsi/iscsid.conf.$(date +%F)
# vim /etc/iscsi/iscsid.conf

#node.session.auth.authmethod = CHAP
#node.session.auth.username = username
#node.session.auth.password = password
修改成
node.session.auth.authmethod = CHAP
node.session.auth.username = username
node.session.auth.password = password

 (閱讀全文)

參考網站:
CentOS 7 : Configure iSCSI Target : Server World
CentOS 7 安裝 iSCSI Server
Configure iSCSI Target & Initiator on CentOS 7 / RHEL7

1. 安裝 targetcli 套件
# yum -y install targetcli

2. 建立目錄
# mkdir /iscsi_disks

 (閱讀全文)


直接下載最新版本安裝
Windows
x86
http://ftp.mozilla.org/pub/firefox/releases/55.0.2/win32/zh-TW/Firefox%20Setup%2055.0.2.exe

x64
http://ftp.mozilla.org/pub/firefox/releases/55.0.2/win64/zh-TW/Firefox%20Setup%2055.0.2.exe

Mac
http://ftp.mozilla.org/pub/firefox/releases/55.0.2/mac/zh-TW/Firefox%2055.0.2.dmg

參考網頁:
Changing a forgotten root password on an ESX/ESXi host (1317898) | VMware KB
How to Reset Forgotten VMware ESXi Root Password with Ubuntu Live CD

如果忘了 ESXi root 密碼




依官方的說法,唯一的方式是重新安裝。

 (閱讀全文)

參考網站:
ghettoVCB 還原 ESXI Guest OS

1. VM 備份檔的位置


2. 刪除 VM






 (閱讀全文)

1. 備份 /var/spool/cron/crontabs/root/vmfs/volumes/ST500G/crontabsroot
[root@esxi:~] cp /var/spool/cron/crontabs/root /vmfs/volumes/ST500G/crontabsroot

2. 進行修改
[root@esxi:~] cat /vmfs/volumes/ST500G/crontabsroot
#min hour day mon dow command
1    1    *   *   *   /sbin/tmpwatch.py
1    *    *   *   *   /sbin/auto-backup.sh
0    *    *   *   *   /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5  *    *   *   *   /bin/hostd-probe.sh ++group=host/vim/vmvisor/hostd-probe/stats/sh
00   1    *   *   *   localcli storage core device purge
30   1    *   *   *   /opt/ghettovcb/bin/ghettoVCB.sh -g /opt/ghettovcb/ghettoVCB.conf -f /vmfs/volumes/ST500G/ghetto.lst > /dev/null 2>&1

 (閱讀全文)

參考網站:
ghettoVCB 備份 ESXI Guest OS
ESXi 5.1 / 5.5 定期排程備份線上VM;NFS、sendmail-ghettoVCB | Mr. 沙先生
Backing up VMware ESXi VMs with ghettoVCB – Miscellaneous Knowledge

虛擬機器不用先關機,ghettoVCB.sh 會先為虛擬機器建立快照,然後進行備份,當備份完成之後會刪除快照。

1.下載 ghettoVCB

2. 上傳到 資料存放區


3. 開啟 ESXi 伺服器可安裝非原廠的額外套件
[root@esxi:~] esxcli software acceptance set --level=CommunitySupported
Host acceptance level changed to 'CommunitySupported'.

4. 進行安裝 ghettoVCB,似乎沒有進行第 3 步驟,也可以進行安裝
[root@esxi:~] esxcli software vib install -v /vmfs/volumes/ST500G/vghetto-ghettoVCB.vib  -f
Installation Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed: virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0
   VIBs Removed:
   VIBs Skipped:

檔案安裝位置
[root@esxi:~] ls -l /opt/ghettovcb/bin/*
-r-xr-xr-x    1 root     root         17555 Jan 11 14:31 /opt/ghettovcb/bin/ghettoVCB-restore.sh
-r-xr-xr-x    1 root     root         65458 Jan 11 14:31 /opt/ghettovcb/bin/ghettoVCB.sh

 (閱讀全文)

在 Photon OS 中是採用與 yum 相類似的套件管理程式 tdnf。
# which tdnf
/usr/bin/tdnf

列出比較常用的參數用法:
移除套件
# tdnf erase package
# tdnf remove package
# tdnf remove nano

Removing:
nano                                                                                x86_64                         2.5.2-2.ph1                                                        1.81 M

Total installed size: 1.81 M
Is this ok [y/N]:

安裝套件
# tdnf install package
# tdnf install nano

Installing:
nano                                                                                x86_64                         2.5.2-2.ph1                                                        1.81 M

Total installed size: 1.81 M
Is this ok [y/N]:y

Downloading:
nano                                    737468    100%
Testing transaction
Running transaction

Complete!

 (閱讀全文)

1. 搜尋
[root@docker ~]# docker search b2d
INDEX       NAME                                       DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
docker.io   docker.io/matthewlmcclure/javahelloworld   See https://github.com/matthewlmcclure/to-...   0                    [OK]
docker.io   docker.io/ols3/ob2d                        For OB2D Linux container.                       0
docker.io   docker.io/smothiki/qemu-b2d                                                                0
docker.io   docker.io/smothiki/ubuntu-b2d                                                              0

2. 下載
[root@docker ~]# docker pull docker.io/ols3/ob2d
Using default tag: latest
Trying to pull repository docker.io/ols3/ob2d ...
latest: Pulling from docker.io/ols3/ob2d

0cb4bcf975cb: Pull complete
14cb4b14bf3d: Pull complete
467076336f48: Pull complete
38b2f86c4e61: Pull complete
Digest: sha256:89c5fbe1533f43f5bf5abc0a26f5fefb898bd5c0525d2c5ccf8df44da668f1db

 (閱讀全文)


 (閱讀全文)
1 2 ... 162 163  下一篇»