• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    Welcome to the Admins Handbook


    This is indeed the IT administrators' handbook.
    You will not find long tutorials and guides here, only the commands to get the job done.

    You properly know how to do things; you just need a little "hint" now and then.

    The handbook have 184 posts

    Configuring SSL on Debian nginx

    July 20th, 2016

    /etc/nginx/ssl
    openssl req -new -newkey rsa:2048 -nodes -keyout *.mydomain.com.key -out *.mydomain.com.csr

    Inside config:
    /etc/nginx/sites-available/default

    ssl on;
    ssl_certificate /etc/nginx/ssl/*.mydomain.com.crt;
    ssl_certificate_key /etc/nginx/ssl/*.mydomain.com.key;
    ssl_trusted_certificate /etc/nginx/ssl/chain.crt;
    ssl_dhparam /etc/nginx/ssl/dhparam.pem;

    chain.crt:
    AlphaSSL SHA-256 R1 Intermediate Certificates (DER64)

    dhparam.pem:
    openssl dhparam -out dhparam.pem 4096


    Disable greylisting – emails from Office 365

    March 8th, 2016

    Office 365 sends emails from a lot of mailservers. retrys are often from a new IP.
    Then you have delays of 5 min + 5 min etc…

    Office 365 uses this IP’s:
    https://technet.microsoft.com/en-us/library/dn163583

    In your Mailscanner, you can Whitelist Office 365 Exchange IP’s by adding them to this:
    /etc/sqlgrey/clients_ip_whitelist.local

    /etc/init.d/sqlgrey restart


    Windows 2012 commands

    February 9th, 2016

    Install telnet client:
    dism /online /Enable-Feature /FeatureName:TelnetClient

    Disable firewall:
    netsh advfirewall set allprofiles state off


    Windows 2012 – Enable F8 (boot into safe mode)

    February 9th, 2016

    Boot on Windows 2012 install media
    Choose Troubleshoot and in a command prompt type:
    bcdedit /set {bootmgr} displaybootmenu Yes
    bcdedit /set {bootmgr} timeout 10
    Enables the bootmenu
    Now you can use “safe mode”.