Use a specific network interface for kickstart
ksdevice=eth0 When your system has more than one network interface anaconda asks you which one you’d like to use for the kickstart …
ksdevice=eth0 When your system has more than one network interface anaconda asks you which one you’d like to use for the kickstart …
用下列檔案之後, 就可以直接 ssh xxx 機器短名 然後會帶入你要的帳號 # cat .ssh/config Host xxx Hostname xxx.liho.tw User root Host yyy Hostname yyy.liho.tw User root Host …
# mkdir -p /mnt/ramdisk # mkdir -p /exports/ramdisk # mount -t tmpfs -o size=32G tmpfs /mnt/ramdisk # mount –bind /mnt/ramdisk /exports/ramdisk # …
install on two glusterfs servers (g1, g2) # yum install centos-release-gluster # yum install glusterfs-server # mkfs.xfs -i size=512 /dev/sdb1 # mkdir …
$ cat handbrake.sh #/bin/bash /Applications/HandBrakeCLI -i $1 -o ${1%\.*}.m4v –preset=”AppleTV 3″ –srt-file=”${1%\.*}.eng.srt,${1%\.*}.cht.srt” –srt-lang=”eng,zho” –srt-codeset=”ISO-8859-1,UTF-8″ Reference : https://trac.handbrake.fr/wiki/CLIGuide, HandBrake CLI Downloads
Trying to create a 7TB partition using parted, but parted always complains as follows: “The resulting partition is not properly aligned for …
把塵封已久的 Raspberry Pi 拿出來玩 為了使 raspberry pi 連 wifi 我買了 EDIMAX EW-7811Un 無線網卡. 首先, 先把 raspberry pi 的作業系統安裝好. 我是下載 RASPBIAN JESSIE LITE …
這個範例是對學生群組限制他們登入某主機 首先 在 ldap 先建立 netgroup ou 在ldap 建立 netgroup students 群組 並加入學生帳號: user1 user2 加入 “account required pam_access.so” 這一行 到 /etc/pam.d/sshd …
1. 在正在執行的視窗 按 Ctrl + Z 2. 用 bg 指令派到背景 bg n 3. disown -h %n 這樣就可以關閉視窗工作不會停掉 範例 : # sleep 3600 …
# ssh-keygen -t rsa -b 2048 # ssh-keygen -e -f id_rsa.pub —- BEGIN SSH2 PUBLIC KEY —- bAAAB3Nzax1yc2EAAA3BIwAAAQEAx8xMS2x3x+Rx2xKxHxsxVxUxvxWxhx/xPxHxZx3xvE 6IJuidg+DxRWcu0Z4+zlP8lDfvQHox5y80qnK5LxQN4doae8mSxvNMuByxox5xTxnxaxGr bZLvKWauRRxIWF7AeEU3St3fCjUAxchHD0HDJFv10J4lyxfjLdBNdLKMPtlgD8vCgmfV4A T+6Lf7IA9jZxr68ZQEGESdhzMwtuxO8J467GQ5eU0L2HL5pwd7OujEqPW8Y5OnzhZCMd8S b7HiXZpeL2WLaNYSEggispn09UH7SSexUDxcxxDCppnJaxcQNr6UoIJ+/qQAMT2jUYxzaH …