LinuxOS
Version vom 28. Oktober 2020, 14:09 Uhr von Jochen (Diskussion | Beiträge) (→Zertifikate (Root CA) importieren)
Festplattenplatz anzeigen
df --total
Liste installierter Anwendungen
apt -l | more
apt -l | grep <regex>
LibreOffice deinstallieren
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove
Windows Namensauflösung (WINS)
sudo apt-get install winbind
sudo apt-get install libnss-winbind
/etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4
sudo /etc/init.d/winbind restart
Prozess finden, der einen bestimmten Port belegt
(Entommen hier)
Beispiel:
$ lsof -i :8000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
squid3 1289 proxy 15u IPv6 14810490 0t0 TCP *:8000 (LISTEN)
$ ps -fp 1289
UID PID PPID C STIME TTY TIME CMD
proxy 1289 1 0 09:48 ? 00:00:00 /usr/sbin/squid3 -N -f /etc/squid-deb-proxy/squid-deb-proxy.conf
Bluetooth Konfiguration
(Entnommen hier)
sudo apt-get install pulseaudio-module-bluetooth
pactl load-module module-bluetooth-discover
Bluetooth Konfigurations- und Audio-Probleme beheben
sudo service bluetooth restart
pulseaudio --kill
pulseaudio --start
Root CA Zertifikat importieren
Entsprechend der Beschreibung hier müssen folgende Punkte ausgeführt werden.
Given a CA certificate file foo.crt, follow these steps to install it on Ubuntu:
1. Create a directory for extra CA certificates in /usr/share/ca-certificates:
sudo mkdir /usr/share/ca-certificates/extra
2. Copy the CA .crt file to this directory:
sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
3. Let Ubuntu add the .crt file's path relative to /usr/share/ca-certificates to /etc/ca-certificates.conf:
sudo dpkg-reconfigure ca-certificates
- To do this non-interactively, run:
sudo update-ca-certificates
In case of a .pem file on Ubuntu, it must first be converted to a .crt file:
openssl x509 -in foo.pem -inform PEM -out foo.crt