System administration: Difference between revisions

add a link to samba
Line 176: Line 176:
$ df -h
$ df -h
</syntaxhighlight>
</syntaxhighlight>
= OpenSSL =
== Creating self-signed certificates (usually for SSL connection) ==
<source lang="bash">
$ sudo a2enmod ssl
$ sudo service apache2 restart
$ sudo mkdir /etc/apache2/ssl
$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.pem -outform PEM
</source>


= Debian/Ubuntu-specific =
= Debian/Ubuntu-specific =