Tag: Ubuntu
NGINX config update for PHP7.2 from 7.0 upgrade
After upgrading to 18.04LTS, discovered the following in LEMP stack serving: /etc/nginx/site needs to be updated in the even of PHP7.2 upgrade from 7.0 This is the case for Ubuntu … Read More
VirtualBox Ubuntu network NAT + host-only
VBOX Settings in preferences for host-only network VBOX Settings for Guest guest network settings EDIT: /etc/network/interfaces 12345678910111213141516171819source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # … Read More
Ubuntu HEADLESS screen resolution for VNC / TeamViewer
1234567xrandr –newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr –addmode VIRTUAL1 1920x1080_60.00 xrandr –output VIRTUAL1 –mode 1920x1080_60.00 xrandr –output LVDS1 –off Source: https://askubuntu.com/questions/679135/how-do-i-set-new-screen-resolution-for-a-headless-server-using-teamviewer-10
NextCloud on Ubuntu 16.04
SOURCE: https://bayton.org/docs/nextcloud/installing-nextcloud-on-ubuntu-16-04-lts-with-redis-apcu-ssl-apache/ Installing Nextcloud on Ubuntu 16.04 LTS with Redis, APCu, SSL & Apache Jun 1, 2017 A few weeks ago the self-hosted community witnessed the public launch of Nextcloud, … Read More
Skype indicator in Ubuntu 17.04
copy the application desktop file from /usr/share/applications/ to ~/.local/share/applications/, then edit the file and change the “Exec” line by adding “env XDG_CURRENT_DESKTOP=Unity” (without the quotes) immediately after “Exec=”. ** And … Read More
Linux Terminal – hardware drive info – Ubuntu
Get drive Manufacturer, Model number, serial number, etc..: If we are concerned with the first drive in the system (/sda): 1sudo hdparm -i /dev/sda To see what volumes exist: 1sudo … Read More
Ubuntu 16.04 ++ forces logout when trying to shutdown or reboot from menu – guilty party: PLANK dock
Source: http://www.linuxslaves.com/2016/06/fix-cant-shutdown-from-ubuntus-toppanel-after-install-plank.html Shutdown or Restart – forces Logout, then from main Lightdm screen shutdown/restart works. Problem is with PLANK dock. Open: Startup Applications Select: plank; for the ‘command’ enter: sh … Read More
Linux kill programs via terminal
get the process id of the application 1ps aux | grep [name of program to close] kill the application 1kill [process id] check process to ensure its gone 1rerun: ps … Read More