0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Lubuntu 24.04 初期設定

Last updated at Posted at 2025-01-14

Lubuntu 24.04 を使い始めたので初期設定について備忘録を残す。
サーバー用途ではなく、作業用ワークステーションとして整備することを目標とする。

日本語入力の有効化

sudo apt-get install fcitx-mozc --install-recommends -y

xdg-user-dirs-gtk の導入

sudo apt-get install xdg-user-dirs-gtk
# home 配下のディレクトリ群を英語化する
LANG=C xdg-user-dirs-gtk-update

UFW の有効化

# 一切の受信を拒絶する
sudo ufw defalut DENY
# HTTP の受信を許可する
sudo ufw allow 80
# HTTPS の受信を許可する
sudo ufw allow 443
# UFW を有効化する
sudo ufw enable

ClamAV の導入

インストール

sudo apt-get install clamav clamav-daemon clamtk
# ウィルス定義の更新
sudo systemctl stop clamav-freshclam
sudo freshclam
sudo systemctl start clamav-freshclam

設定ファイルの修正

/usr/bin/clamtk
# ウィルス駆除を有効化する。そのままだとマルチバイト文字の扱いに失敗して駆除できないらしい
# setlocale( LC_ALL, '' );
setlocale( LC_ALL, 'C' );
/usr/share/perl5/ClamTk/Scan.pm
# メールのスキャンを有効化する
# $directive .= ' --scan-mail=no';
$directive .= ' --scan-mail=yes';

GUI 上の設定変更

  1. ClamTk を起動する。
  2. Configuration > Settings
    1. Scan for PUAs を除く全項目にチェックを入れる。
  3. Updates > Update Assistant
    1. I would like to update signatures myself にチェックを入れる。
  4. Configuration > Scheduler
    1. スキャン実行時刻とウィルス定義の更新時刻を指定する。

Remote Desktop Client の導入

インストール

sudo apt-get install nscd remmina

接続の設定

  • プロトコル: RDP
  • 基本設定
    • サーバー: 接続先のコンピュータ名.local
    • 解像度: クライアントの解像度を使う にチェックを入れる。
  • 高度な設定
    • Audio output mode: 接続先サーバーマシンから音を出したい場合は ローカル
      接続元クライアントマシンから音を出したい場合は リモート を選択する。

Xsane の導入

# スキャナの Linux 向けドライバが提供されていなかった為、導入
sudo apt-get install sane xsane
0
3
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
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?