LinuxOS: Unterschied zwischen den Versionen

Aus Wiki - Jochen Hammann
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 86: Zeile 86:




== Zertifikate (Root CA) importieren ==
== Root CA Zertifikat importieren ==


Entsprechend der Beschreibung [https://askubuntu.com/a/94861 hier] müssen folgende Punkte ausgeführt werden.
Entsprechend der Beschreibung [https://askubuntu.com/a/94861 hier] müssen folgende Punkte ausgeführt werden.




Given a CA certificate file foo.crt, follow these steps to install it on Ubuntu:
Given a CA certificate file <code>foo.crt</code>, follow these steps to install it on Ubuntu:


# Create a directory for extra CA certificates in /usr/share/ca-certificates:<br/><code>sudo mkdir /usr/share/ca-certificates/extra</code>


# Copy the CA .crt file to this directory:
1. Create a directory for extra CA certificates in <code>/usr/share/ca-certificates</code>:


sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
  sudo mkdir /usr/share/ca-certificates/extra
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
2. Copy the CA <code>.crt</code> file to this directory:
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
  sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
 
 
3. Let Ubuntu add the <code>.crt</code> file's path relative to <code>/usr/share/ca-certificates</code> to <code>/etc/ca-certificates.conf</code>:
 
  sudo dpkg-reconfigure ca-certificates
 
: To do this non-interactively, run:
 
  sudo update-ca-certificates
 
 
In case of a <code>.pem</code> file on Ubuntu, it must first be converted to a <code>.crt</code> file:
 
  openssl x509 -in foo.pem -inform PEM -out foo.crt

Aktuelle Version vom 28. Oktober 2020, 14:09 Uhr


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)

(Entommen hier und hier)

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