#author("2020-05-04T01:36:27+09:00","default:regex","regex") *ファイルサーバ(trivia)のUBUNTU20.04LTS化(作業メモ) [#v16f67df] 0.rufusでないと、UEFIブートのUSBメモリは作れない!(補)~ SetUpPackとして、各種必要ファイルをUBUNTU18.04LTS版からとっておき、USBメモリに入れてあります。~ すべてのUSB-HDDを抜いて、インストール~ ~ *リモートデスクトップ関係 [#n1bf40d6] $ gsettings set org.gnome.Vino require-encryption false 設定→共有から画面の共有をセットする。~ ~ *言語設定 [#p7d323b1] 設定から入り、自動的に出る言語のインストールを済ませる。~ Mozc関係のツール軍が動くようになる~ ~ *アップデートを済ませる [#k978dbf7] $ sudo apt update $ sudo apt upgrade ~ *Samba関係 [#xc837ab0] fstab入れ替え、マウントポイント整備、USB-HDD組付け再起動~ SAMBAインストール~ ~ $ sudo apt install gawk $ sudo apt install samba /etc/samba/smb.conf、/etc/samba/dfree.sh入れ替え。~ $ sudo chmod 777 /etc/samba/dfree.sh $ sudo service smbd restart $ sudo service nmbd restart ~ *ファイヤウォール [#i3aa5e03] $ sudo ufw enable $ sudo ufw default DENY for vnc $ sudo ufw allow 5900 for wizd $ sudo ufw allow 8000 Samba $ sudo ufw allow Samba $ sudo ufw reload ~ *takaofontへ(対Wine) [#x219365e] $ sudo apt install fonts-takao $ sudo fc-cache -fv ~ *conky [#q73714be] $ sudo apt install conky-all $ chmod +x ~/.conky/conky20 setuppackから.conky,.conkyrc,.luaをホームへ 自動起動で/home/mifjpn/.conky/conky20 $ conky ※でテスト・・・一部 hwnom 1ではtempがないため、hwmon 2で解決した。 ◎Wizd(コンパイルしないで良い模様) setuppackから、wizdを/optへ $ sudo chmod 755 /opt/wizd/* /etc/systemd/system/wizd-0.12.service 設置 $ sudo chmod 755 /etc/systemd/system/wizd-0.12.service /etc/default/wizd-0.12 設置filemodは644設定に。さらに $ sudo chmod 755 /etc/default/wizd-0.12 テスト $ sudo systemctl start wizd-0.12.service $ ps -ax|grep ./wizd $ sudo systemctl stop wizd-0.12.service $ ps -ax|grep ./wizd 起動時設定 $ sudo systemctl enable wizd-0.12.service 再起動後確認 $ sudo systemctl status wizd-0.12.service $ sudo gedit /opt/wizd/wizd.conf /filetankと古いルートのため直した ◎chrony $ sudo apt install chrony $ sudo cp /etc/chrony/chrony.conf /etc/chrony/chrony.conf.bak /etc/chrony/chrony.conf設置 $ sudo service chrony restart $ chronyc sources ◎smartctlのためにsmartmontoolsをインストールする $ sudo apt install smartmontools ◎wine-stableインストール $ sudo dpkg --add-architecture i386 $ sudo apt update Next, to install Wine we need to install both wine64 and wine32 Windows API implementation packages. To do so execute the following command: $ sudo apt install wine64 wine32 Onec the installation is completed confirm the wine installation by checking for the wine version: $ wine --version wine-5.0 (Ubuntu 5.0-3) このままだと、0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.が出ます。 $ sudo apt-get install winbind ◎Windows版Adobe airのインストール firefoxで、ダウンロード $ cd ~/ダウンロード $ wine AdobeAIRInstaller.exe ◎エアー版radikoのインストール firefoxで、ダウンロード nautilusでダブルクリック ◎U1804-180626 UBUNTU18.04Ltsでibus-mozcのキーバインドを変える https://mifmif.mydns.jp/pcpc/index.php?U1804-180626 VinoはHankaku-Zenkakuを通さないので、直す。 ◎補・・・sambaがv1.0の接続をリジェクトするようになった。ClonezillaのときV2.0を選ぶ必要あり