Youry's Blog

Youry's Blog

Ubuntu16/Windows2012/CentOS7 cheat-sheet (started 23 May 2016)

leave a comment »

CentOS7

  1. VMWare tools prereq: yum install perl gcc make kernel-headers kernel-devel -y
    http://www.ehowstuff.com/how-to-install-vmware-tools/
  2. aborted yum transactions should be cleaned up: yum-complete-transaction –cleanup-only
    http://forums.fedoraforum.org/showthread.php?t=270035
    http://idroot.net/tutorials/fix-yum-duplicate-packages-broken-dependencies/
    http://forums.fedoraforum.org/showthread.php?t=194254
  3. How to reboot headless server with passphrase? here there are 2 of the best ones I’ve managed to found so far (after spending lots of hours trying out multiple impossible configurations ¬¬):

    https://stinkyparkia.wordpress.com/2014/10/14/remote-unlocking-luks-encrypted-lvm-using-dropbear-ssh-in-ubuntu-server-14-04-1-with-static-ipst/

    https://github.com/chadoe/luks-triple-unlock/blob/master/install.sh

    After configuring the servers that way, one can decrypt the LUKS partition via SSH (using password or rsa-key) or an USB flash drive and let the system boot as usual. Quite useful in my case.

 

Ubuntu 16_04 64bit

  1. Static IP is not updated. Must restart server.

Windows 2012 R2 DC

  1. Firewall must be updated explicitly for the 3389 port to get remote desktop work.
Advertisements

Written by youryblog

May 23, 2016 at 10:11 PM

Posted in IT, UNIX/Linux tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: