Měsíc: Červen 2016

  • Instalace Ubuntu mail server

    Instalace balíků pro mailserver apt-get install postfix apt-get install postfix-mysql dovecot-mysql dovecot-core dovecot-imapd postgrey apt-get installamavis clamav clamav-daemon spamassassin apt-get installphp5-imap apt-get install spamass-milter apt-get install clamav-milter apt-get install arj bzip2 cabextract cpio file gzip jlha-utils lzop nomarch p7zip pax unrar-free rpm zip zoo apt-get install libnet-dns-perl pyzor razor apt-get install dovecot-sieve dovecot-managesieved Konfigurace Postfixadmin…

  • Let’s Encrypt

    Let’s Encrypt důvěryhodný certifikát pro vaši doménu zdarma. Platnost certifikátu od Let’s Encrypt je jen tři měsíce, ale je možnost prodloužit certifikát scriptem automaticky z cronu. Klient a návody na https://certbot.eff.org/ Instalace Debian: /etc/apt/sources.list.d/ deb http://ftp.debian.org/debian jessie-backports main apt-get update sudo apt-get install python-certbot-apache -t jessie-backports Použití: certbot –apache // dialog pro které weby vystavit…

  • Instalace Ubuntu internet server

    Změna hostname serveru nano /etc/hostname a /etc/hosts file Instalace ssh sudo apt-get install ssh Změna ip adresy z dhcp na statickou sudo nano /etc/network/interfaces auto eth0 iface eth0 inet dhcp na auto eth0 iface eth0 inet static address 192.168.1.200 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 sudo vi /etc/resolv.conf nameserver 192.168.1.1 sudo apt-get remove…

  • Statická IP adresa Raspbian Jessie

    Nepoužívá se již /etc/network/interfaces ale sudo vi /etc/dhcpcd.conf na konec souboru přidat řádky interface eth0 static ip_address=192.168.1.141/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 Restart Pi a hotovo!