summaryrefslogtreecommitdiff
path: root/guides/sysadmin/opensuse.org
blob: 5ea173ccd4e630762e0c223a4ed95caff138860a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
* Packages
… that took me more than one minute to find.
** spell-checking
- hunspell
- myspell-fr_FR
* HOWTO
** Open ports
#+begin_src sh
$ firewall-cmd --add-port=8000/tcp
$ firewall-cmd --add-service=mdns
#+end_src
To make permanent, either:
- run the command with =--permanent=, and restart ~firewalld~ for
  immediate application,
- run the command /a second time/ with =--permanent=,
- run ~firewall-cmd --runtime-to-permanent~.
** Auto-mount second disk under =$HOME/media=
#+begin_example
$ lsblk --fs
[…]
nvme0n1
└─nvme0n1p1 xfs                […UUID…]
$ sudo $edit /etc/fstab
[… add:
UUID=[…UUID…]   […$HOME…]/media         xfs     user,exec       0  0
…]
$ mkdir ~/media
$ mount ~/media
#+end_example