deepin - 23 - 共通事項 - ツール・フォント

クラウディア 
1. 概要
2. システム更新
3. ツール
4. フォント

1. 概要

 基本的な操作、カスタマイズ、わたしの使用するツール・フォントのインストールや設定について記述します。

2. システム更新

 今回、一度、アップデートしないとリポジトリがまともになりませんでした。  「Conrol Center」を起動して。
「deepin 23」-「Conrol Center」「起動」

 「アップデート」

「deepin 23」-「Conrol Center」

 これは、アップデートした後ですが。
 「アップデートの確認」から「アップデート」を実行します。

「deepin 23」-「Conrol Center」「アップデート」

 次に、システムの更新。
 「root」ユーザ権限で。


apt update

apt upgrade -y

3. ツール

 わたしの使用するツール・フォントをインストール・カスタマイズ、しておきます。  インストール。  「root」ユーザ権限で。

apt install -y openssh-server vsftpd
 「root」ユーザ権限で。

systemctl enable ssh
systemctl start  ssh
 「deepin」では、「sshd」が、「ssh」になっているようです。  気持ち悪いのですが、仕方ない。  「vim」に対して、「行番号を表示」「ビジュアルモードを無効」という設定にします。  「bash」に以下の設定を行います。 ・rcs のチェックイン・チェックアウトのデフォルトをロックモードへ ・ls のデフォルトをドットファイル・カラー表示を基本に ・「vi」で「vim」を起動 ・上下の矢印キーでコマンド履歴の補完 ・プロンプトの形式を「ユーザ名@ホスト名 /カレントディレクトリ > 」へ  各ユーザで

mkdir -pv ~/.vim/after/indent
mkdir -pv ~/.vim/after/plugin

sh
cat << 'EOF' >> ~/.vim/after/indent/vim.vim
set number
set mouse-=a
EOF
exit

cp ~/.vim/after/indent/vim.vim ~/.vim/after/plugin/.

sh
cat - << 'EOF' >> ~/.bashrc

alias ci='ci -l'
alias co='co -l'
alias ls='ls -a --color'
alias vi='vim'

bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

export PS1='\u@\h $PWD > '
EOF
exit

source ~/.bashrc
 「ftpd」はインストールした時点で、起動していますが、アップロードできません。  「IPv4」を生かして、「IPv6」を無効化、アップロード可能にするには、「root」ユーザで

vi /etc/vsftpd.conf

# 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
 14行を「YES」へ、22行目を「NO」へ、31行目のコメントをはずして

service vsftpd restart

4. フォント

 以前は、「migmix」のフォントがリポジトリに存在したのですが、今回は、存在しないようです。  「Ubuntu」のものをダウンロードして、「dpkg」でインストールします。

curl http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-migmix/fonts-migmix_20200307-1_all.deb --output /tmp/fonts-migmix_20200307-1_all.deb
dpkg -i /tmp/fonts-migmix_20200307-1_all.debBashCopy
AbemaTV 無料体験
Amazonギフトカード
マイニングベース