Posts

Showing posts from June, 2020

Device Manager for Linux

Device Manager for Linux install hardinfo sudo apt install hardinfo

Samba Users Group

Samba Users Group Useful information for Samba smb.conf https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html http://www.samba.gr.jp/project/translation/3.5/htmldocs/manpages-3/smb.conf.5.html 最初日本語ページ見つけてそのあと英語ページ見つけました。 英語があれば、日本語いらんかった。 SambaによるWindowsファイルサーバ構築 smb.conf -samba2.0 http://www.samba.gr.jp/doc/samba2.0_and_linux.html

Ubuntu Software in Ubuntu 20.04 LTS version

Ubuntu Software in Ubuntu 20.04 LTS version To install Ubuntu software, run in the terminal: sudo apt install ubuntu-software To remove Snap store package: sudo snap remove snap-store Reference: https://askubuntu.com/questions/1231557/how-do-i-reinstall-ubuntu-software-in-ubuntu-20-04-lts-version

Samba Recycle Bin

Recycle Bin Function ごみ箱機能 Samba日本語版には、ごみ箱機能と呼ばれる機能が用意されています。この機能を使用すると、ユーザーが削除したファイルを所定のフォルダに保存しておくことができます。このため、ユーザが誤って削除したファイルを復活させることが可能です。 ごみ箱機能を使用するためには、共有サービスに"recycle bin"パラメータを追加します。 [DEVELOP] path = /var/samba/development writeable = Yes recycle bin = .recycle この設定により、ユーザが共有サービス上のファイルを削除したときに、 /var/samba/development/.recycleディレクトリにファイルが移動します。 ただし、.recycleディレクトリ内のファイルは削除されずに 残ったままとなりますので、定期的にcronなどで古くなった ファイルの削除などを実施するほうが良いでしょう。 次の設定を行うと、ユーザのホームディレクトリごみ箱用としてrecycleフォルダが作成されます。 [homes]     comment = %S's Home Directories writeable = Yes     browseable = No     recycle bin = recycle Reference: https://users.miraclelinux.com/technet/document/samba/samba0013.html

netplan networkd network-manager

netplan networkd network-manager https://ubuntu.com/server/docs/network-introduction https://ubuntu.com/server/docs/network-configuration https://netplan.io/reference https://www.linux.com/topic/distributions/how-use-netplan-network-configuration-tool-linux/ https://vitux.com/how-to-configure-networking-with-netplan-on-ubuntu/ Install networkmanager with sudo apt-get install network-manager https://askubuntu.com/questions/1031439/am-i-running-networkmanager-or-networkd     # Let NetworkManager manage all devices on this system network:   version: 2   renderer: NetworkManager Static IP Address Assignment To configure your system to use static address assignment, create a netplan configuration in the file /etc/netplan/99_config.yaml. The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the addresses, gateway4, and nameservers values to meet the requirements of your network. network:   versio...