2015年11月10日 星期二

CentOS/RHEL7 的 SELinux 運作說明與設定

章節目標:
  • SELinux 基本運作方式說明!
  • 說明 Centos 7 上的 SELinux 運作與設定方式!
SELinux 運作方式說明:
  • 設定檔:/etc/sysconfig/selinux
    • SELINUX=enforcing
    • SELINUX=permissive
    • SELINUX=disabled

網路設定方式

RHEL 7 網路設定方式:
  1. 圖形介面
    •  應用程式-->系統工具-->設定值-->網路
  2. 文字介面
    •  # nmtui-edit
  3. 檔案設定
    •  /etc/hostname
      • test.example.com
    •  /etc/resolv.conf
      • nameserver 168.95.1.1
    •  /etc/sysconfig/network-scripts/ifcfg-XXXX
      • IPADDR=192.168.1.10
      • GATEWAY=192.168.1.254
      • PREFIX=24

BTRFS 介紹

https://www.ibm.com/developerworks/cn/linux/l-cn-btrfs/

2015年9月14日 星期一

牛津線上字典

http://www.oxforddictionaries.com/definition/english/ubiquitous

2015年9月12日 星期六

Linux 語系設定

RHEL7 的語系設定
#localectl set-locale LANG=zh_TW.utf8

亦可在 /etc/locale.conf 檔案內設定:
#vim /etc/locale.conf
LANG="zh_TW.UTF-8"

2015年9月5日 星期六

Linux 系統資訊軟體--網路資源


Linux 常用的系統資訊軟體,可參考下列網址:

http://download.ithome.com.tw/article/index/id/2362

2015年9月2日 星期三

Qcow2 轉成 physical disk

Qcow2 轉成 physical disk 的方式:

http://unix.stackexchange.com/questions/30106/move-qcow2-image-to-physical-hard-drive

http://askubuntu.com/questions/195139/how-to-convert-qcow2-virtual-disk-to-physical-machine-and-reversely