Let’s Encrypt with Apache on Ubuntu

Clone the Let’s Encrypt repository sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt Access the letsencrypt directory cd /opt/letsencrypt Auto install all dependencies sudo -i ./letsencrypt-auto Generate certificates for your domains Execute the interactive installation and obtain a certificate for each domain. ./letsencrypt-auto certonly –webroot -w /var/www/faix/wordpress/ -d faix.cz -d www.faix.cz ./letsencrypt-auto certonly –webroot -w /var/www/zviretnik/wordpress/ -d zviretnik.eu … Read more

How to setup OpenVPN with bridging on Ubuntu 12.04

https://help.ubuntu.com/12.04/serverguide/openvpn.html http://ubuntuguide.org/wiki/OpenVPN_server # Setup your router to forward port 1194 to OpenVPN server or place server in DMZ (all incoming traffic is forwaded to OpenVPN server) # install OpenVPN and bridge utilities apt-get -y install openvpn bridge-utils # setup bridge br0 interface and modify primary interface eth0 (assign eth0 IP address to br0 interface) /etc/network/interfaces … Read more

Repair splash screen of Ubuntu or Linux Mint

Quick Tip: Fix for Ugly Plymouth themes in Ubuntu / Mint http://www.ubuntugeek.com/quick-tipplymouth-themes-in-ubuntu-10-04-lucid-lynx.html Quick tip for those having trouble with their splash screens in Ubuntu / Mint. To change the default splash screen: sudo update-alternatives –config default.plymouth sudo update-initramfs -u To fix the delayed loading of the splash: sudo -s echo FRAMEBUFFER=y >>/etc/initramfs-tools/conf.d/splash update-initramfs -u

Installing WordPress on Ubuntu

http://www.ubuntugeek.com/installing-wordpress-3-0-on-ubuntu-10-04-lucid-lynx.html Installation apt-get install apache2 libapache2-mod-php5 mysql-server php5-mysql php5-curl php5-gd libssh2-php cd /var/www/ wget http://wordpress.org/latest.tar.gz tar -zxvf latest.tar.gz ls -la chown -R www-data:www-data wordpress rm -f latest.zip Apache /etc/apache2/sites-available/wordpress.conf <VirtualHost *:80>         ServerAdmin my@email.com         ServerName www.example.org         ServerAlias example.org         DocumentRoot /var/www/wordpress         Redirect permanent / https://www.example.org/         ErrorLog /var/log/apache2/example.org-error.log         # Possible values include: debug, info, notice, warn, error, crit, … Read more

Installation of new computer

Installation Installation of new computer (Debian Testing) Installation images (Debian Testing) Installation images AMD64 (STABLE / unofficial / non-free / including-firmware) Installation images AMD64 (TESTING / unofficial / non-free / including-firmware) Create installation USB: dd if=firmware-9.3.0-amd64-netinst.iso of=/dev/sdX During installation, do NOT fill in root password, account will be disabled and new user will be member … Read more

Ubuntu Security

http://ubuntuforums.org/showthread.php?t=510812 Ubuntu Security In an effort to reduce the number of stickies, this sticky is what I consider “the basics” and if you are new to Security on Ubuntu / Linux you should start with this thread. Additional security related threads would include: Introduction to AppArmor – This thread will get you started using Apparmor. … Read more