1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Motif Window Manager (MWM) on CentOS 7 チートシート

Posted at
## パッケージインストール
sudo yum -y epel-release
sudo rm -frv /var/cache/yum
sudo yum -y install ansible git tigervnc-server

## SSH パス無し秘密鍵生成: Playbook 実行時に必要。
ssh-keygen -q -t ed25519 -N "" -f ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys
echo "StrictHostKeyChecking no" | tee ~/.ssh/config
chmod -v 0600 ~/.ssh/authorized_keys ~/.ssh/config

## Playbook ダウンロード
cd; pwd
mkdir -v roles
cd roles; pwd
git clone https://github.com/sb3f-ryo-sato/ansible-role-legacy-desktop.git

## 環境構築
cd ansible-role-legacy-desktop/installer; pwd
ansible-playbook setup-legacy-desktop.yml -i hosts.yml

## 設定ファイル初期化
cd; pwd
cp -aiv ~/.bashrc ~/.bashrc.`date +%Y%m%d`
cp -afv /etc/skel/.bashrc .
cp -afv /etc/skel/.Xresources .

利用方法は VNC 利用手順まとめ を参照すること。

どっとはらい。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?