Generate certificate StartSSL for virtual hosts in Apache

Generate certificate StartSSL for virtual hosts in Apache openssl req -new -newkey rsa:2048 -nodes -out /etc/ssl/user.zviretnik.csr -keyout /etc/ssl/private/user.zviretnik.key -subj "/C=CZ/ST=cs/L=Praha/O=/CN=user.zviretnik.eu" chmod 640 /etc/ssl/private/user.zviretnik.key https://www.startssl.com/ copy StartSSL certificate to: touch /etc/ssl/user.zviretnik.cer Show content of CSR: openssl req -in user.zviretnik.csr -noout -text

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

Postfix satellite configuration

dpkg-reconfigure postfix /etc/mailname faix.homelinux.net /etc/aliases postmaster: root webmaster: root www-data: root jan: jan.faix@gmail.com wassana: fern.cht@gmail.com root: jan.faix@gmail.com newaliases /etc/postfix/relay_passwd mail.faix.cz mail:xxxxxxxx chown root:root /etc/postfix/relay_passwd postmap /etc/postfix/relay_passwd /etc/postfix/main.cf myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no myhostname = home-desktop alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination … Read more

Hosting multiple websites with Apache2

http://www.debian-administration.org/articles/412 http://fob.po8.org/node/289 If you are running multiple websites with Apache2 with mixed ports (usually http port 80, https port 443) change following configuration files. Variable NameVirtualHost should be only in file virtual.conf, find and comment it in other configuration files! FOB: I recently reported being stuck trying to set up multiple SSL name-based virtual hosts … Read more

Fix delay in SSH Login

http://www.unixmen.com/fix-delay-in-ssh-login/ /etc/ssh/sshd_config UseDNS no /etc/resolv.conf options single-request-reopen /etc/init.d/ssh restart

Přírodní recepty

Přírodní projímadlo (uchovávat max. 2-4 dny) 6-8 čerstvých fíků, miska Kasie sennové nebo úzkolisté (Cassia senna / angustifolia), 100 g cukru, 1 limetka vylouhovat kasii, scezený vývar rozmixovat s fíky hmotu přivést k varu se 100 g cukru, odstavit a smíchat s 1/2 limetkové šťávy Gel proti akné (uhovávat max. 6 týdnů) měsíček (calondola oficialis), … Read more

FreeNX remote desktop access

https://help.ubuntu.com/community/FreeNX FreeNX is a system that allows you to access your desktop from another machine over the Internet. You can use this to login graphically to your desktop from a remote location. One example of its use would be to have a FreeNX server set up on your home computer, and graphically logging in to … Read more

Firefox favorite addons and settings

WOT – Safe Browsing Tool Tab Mix Plus Firefox Sync FlashGot NoScript Cookie Monster Flagfox User Agent Switcher Google Hangouts Adobe – Flash Player: Settings manager – Global Storage Settings panel: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html Panopticlick tests your browser to see how unique it is: https://panopticlick.eff.org/ Multimedia plug-in for Gecko browsers aptitude install gecko-mediaplayer

Apache2 – WordPress & Gallery solutions

If Apache server status page http://zviretnik.eu/server-status error 403 page not found appear, the solution could be modification of .htaccess file of WordPress. Mode rewrite has to have following rule: # Stop Processing if you see server-info or server-status RewriteRule ^(server-info|server-status) – [L] # The Rewrite Condition below did not work # RewriteCond %{REQUEST_URI} !=/server-status Don’t forget, that … Read more