elementary OS - 5.1.4 - 基本操作
- 1. 概要
- 2. 共通事項
- 3. カスタマイズ前後
- 4. システム更新
- 5. ツール・フォント
1. 概要
基本的な操作やカスタマイズ方法に関して、記述します。
2. 共通事項
「elementary OS」のデスクトップは、「Pantheon」です。
というより、「Pantheon」の普及のために「elementary OS」を作ったらしい。
プラットフォームによらず、「Pantheon」の共通的な操作やカスタマイズ方法に関しては「デスクトップ環境 - Pantheon - 共通事項」をご参照ください。
本プラットフォームでは、下記の項目を適用しました。
・初回ログイン時の設定
・画面キャプチャ
・メニュー
・ドック
・パネル
・スクリーンロック
3. カスタマイズ前後
デフォルトのデスクトップ・メニューです。
カスタマイズ後のデスクトップ・メニューです。

4. システム更新
「root」ユーザで
アップデート。
apt update
アップグレード。
apt upgrade -y
5. ツール
わたしの使用するツール・フォント、「sshd」「rcs」「ifconfig」「ftpd」「vim」・「migmix」をインストールしたり、設定したりします。
インストール。
apt install -y net-tools openssh-server rcs vim vsftpd fonts-migmix
「sshd(openssh-server)」「ifconfig(net-tools)」「rcs」は、特に設定をしなくてもそのまま使えます。
「vim」を「行番号を表示」「ビジュアルモードを無効」という設定にします。
mkdir -pv ~/.vim/after/indent
mkdir -pv ~/.vim/after/plugin
touch ~/.vim/after/indent/vim.vim
echo "set number" >> ~/.vim/after/indent/vim.vim
echo "set mouse-=a" >> ~/.vim/after/indent/vim.vim
cp ~/.vim/after/indent/vim.vim ~/.vim/after/plugin/.
「bash」の設定をカスタマイズします。
末尾に以下を記述して、下記の設定を行います。
・rcs のチェックイン・チェックアウトのデフォルトをロックモードへ
・ls のデフォルトをドットファイル・カラー表示を基本に
・上下の矢印キーでコマンド履歴の補完
・プロンプトの形式を「ユーザ名@ホスト名 /カレントディレクトリ > 」へ
cat - << EOF >> ~/.bashrc
alias ci='ci -l'
alias co='co -l'
alias ls='ls -a --color'
bind '"\\e[A": history-search-backward'
bind '"\\e[B": history-search-forward'
export PS1='\u@\h \$PWD > '
EOF
「vsftpd」の設定を変更します。
vi /etc/vsftpd.conf
わたしは、IPv4、書き込み可にしますので
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=YES
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
を
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=NO
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
へ変更します。
ドットファイルを表示したいので、末尾に1行追加します。
force_dot_files=YES
修正したら
service vsftpd restart
|
|