Month: November 2016

Check log file for interactive SSH logins

# failed attempt grep sshd.\*Failed /var/log/auth.log | less # successful attempts grep sshd.\*Accepted /var/log/auth.log | less

Posted in Ubuntu Tagged with:

Running a Reverse Proxy in Apache

http://www.apachetutor.org/admin/reverseproxies

Posted in Ubuntu

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

Posted in Ubuntu

Installing VMware Tools in an Ubuntu virtual machine

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022525 or better: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073803 sudo apt install open-vm-tools sudo apt install open-vm-tools-desktop

Posted in Ubuntu

Ubuntu updates via command line

Update: sudo apt-get update # Fetches the list of available updates sudo apt-get upgrade # Strictly upgrades the current packages sudo apt-get dist-upgrade # Installs updates (new ones) Clean up the system from old packages: sudo apt-get update && sudo

Posted in Howto, Ubuntu

Force Apt-Get to IPv4 or IPv6 on Ubuntu or Debian

You can force IPv4 with: apt-get -o Acquire::ForceIPv4=true update or IPv6: apt-get -o Acquire::ForceIPv6=true update To make this persistent,check this post out: https://www.vultr.com/docs/force-apt-get-to-ipv4-or-ipv6-on-ubuntu-or-debian

Posted in Howto

Ubuntu 16.04 – Mutiny Desktop layout first impressions

Ubuntu 16.04 – Mutiny Desktop layout first impressions

Posted in Howto

XRDP – How to install XRDP on Ubuntu 16.04 – Easy Way

Check here: XRDP – How to install XRDP on Ubuntu 16.04 – Easy Way sudo apt-get install xrdp sudo apt-get update sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon sudo sed -i.bak ‘/fi/a #xrdp multiple users configuration \n mate-session \n’ /etc/xrdp/startwm.sh sudo

Posted in Uncategorized

Building Visual Studio Code on a Raspberry Pi 3

http://www.hanselman.com/blog/BuildingVisualStudioCodeOnARaspberryPi3.aspx

Posted in Howto

How to install Mono on Ubuntu

sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo “deb http://download.mono-project.com/repo/debian wheezy main” | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update sudo apt-get install mono-runtime

Posted in Howto