2018年10月7日 星期日

Ubuntu 16.04 設定遠端桌面RDP

安裝環境為Ubuntu 16.04 桌面版 安裝 # sudo apt-get update # sudo apt-get install xrdp xfce4 xfce4-goodies tightvncserver(也有人裝vnc4server) xfce4-goodies = Enhancement desktop environment (重要)在帳號的home目錄加入以下設定,指定遠端桌面使用的桌面環境 # sudo echo "xfce4-session" >~/.xsession 重啟 xrdp # sudo systemctl restart xrdp 從桌面環境開啟"Desktop Sharing" 位置:usr > share > applications 連線 在Windows 10環境下,可以打開遠端桌面,直接進行連線

2018年10月1日 星期一

ISMS

CIA 機密性(Confidentiality):確保只有經授權的人才可以取得資訊,避免資訊洩露。 完整性(Integrity):確保資訊不受未經授權的竄改與資訊處理方法的正確性。 可用性(Availability):確保經授權的使用者,在需要時可以取得資訊,並使用相關資產。

2018年9月25日 星期二

Change logwatch report 週期

$ /etc/logwatch/conf$ sudo vi logwatch.conf Range = between -7 days and -1 days" #To make Html the default formatting Format = html #Format = text Format = html $ mv /etc/cron.daily/00logwatch /etc/cron.weekly

2018年8月10日 星期五

yum have "is a duplicate with " message

執行 yum update 時出現 "is a duplicate"訊息

yum-unfinished  

System notify you can try to run some command , but not effective.
   # yum-complete-transaction (再執行yum update後仍 無效  )
   # yum-complete-transaction --cleanup-only  (再執行yum update後仍 無效  )


yum-duplicate








Solve the problem method

List duplicate packages
# package-cleanup –dupes
Delete duplicate packages
# package-cleanup --cleandupes

2018年8月9日 星期四

CentOS on Hyper-V boot miss shim.efi



  1. 載入CentOS 7 iso  , 從光碟開機
  2. 選擇 Troubleshooting 
  3. 選擇 Rescue
  4. 選擇1 continue
  5. 輸入 return 進入 shell 模式
  6. 輸入 chroot /mnt/sysimage
  7. 輸入 efibootmgr --create --label CentOS --disk /dev/sda1 --loader "\EFI\centos\shim.efi"



2017年10月1日 星期日

何謂IAAS

基礎結構即服務 (IaaS) 是透過網際網路部署及管理的立即運算基礎結構。視需求快速地相應增加及減少,並只需支付所使用項目的費用。
IaaS 讓您無須購買及管理自己的實體伺服器及其他資料中心基礎結構,避免其所產生的費用及複雜性。每個資源都作為獨立服務元件提供,而您只需要租用您所需要的項目,租用時間視您所需而定。當您購買、安裝、設定及管理自己的軟體 (包括作業系統、中介軟體與應用程式) 時,雲端服務提供者會管理基礎結構。


截錄自微軟
https://azure.microsoft.com/zh-tw/overview/what-is-iaas/

2017年3月2日 星期四

KMS Server Output all dlv info to TXT file


在KMS主機上,若同時提供多種作業系統的啟用服務,想要知道目前服務的啟用數,透由slmgr /dli all 會超出畫面無法顯示,故方由下列指令,將結果輸出至檔案.

cscript c:\Windows\System32\slmgr.vbs /dli all > c:\file.txt