Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


ubuntu_notes

This is an old revision of the document!


Ubuntu Notes

LAMP install

Firewall settings

Release info:

lsb_release -a

Ubuntu 18.04 LTS

  • After initial login, change preferences in terminal and remove undesired favorites
  • Allow Virtualbox guest additions:
sudo apt-get update
sudo apt-get install build-essential gcc make perl
sudo apt-get install vim
sudo apt install gnome-software
sudo apt-get install openssh-server
reboot

26 Jan 2019

Logging into Desktop GUI only gives a blank screen:

  • Tried updating VirtualBox Guest Additions to v5.2-5.2.24 but no change
  • Tried updating packages using commands below

Use these commands to update packages, as it allows interactive use to answer questions:

sudo apt update
sudo apt upgrade

Very slow using Ubuntu GUI now - check Speeding up Ubuntu

Installing mysql: <code> sudo apt install mysql-client-core-5.7 sudo apt install mysql-server </code?


Ubuntu 14.04.5 LTS Notes

  • sudo apt-get install linux-headers-generic
  • sudo apt-get install apache2
  • sudo apt-get install mysql-server
  • sudo apt-get install php5 libapache2-mod-php5
  • sudo apt-get install gufw
  • sudo apt-get install php5-mcrypt
  • sudo apt-get install openssh-server openssh-client

Edit php.ini to include the following line:

extension=mcrypt.so

Restart apache:

sudo /etc/init.d/apache2 restart

Installing Ubuntu 12.04 LTS on VirtualBox

  • Choose download updates while installing
  • Choose to install 3rd party software
  • At first load, unlock unnecessary icons from launcher
  • Use sudo -i instead of root

Install VirtualBox Guest Additions

  • sudo apt-get install linux-headers-generic
    • Still reports current running kernel headers not installed
  • Guest Additions installed okay

Install MyUnity to tweak fonts

If you cannot manage Network connections (grayed out):

  • Manage some network settings through the System Settings Menu
  • Edit /etc/NetworkManager/NetworkManger.conf
    • Change line to managed=true
  • sudo service network-manager restart

Install and configure vpnc packages

Show Boot Messages

Install periodic updates:

  • You may be able to right-click a little icon in the upper right hand corner of the screen that looks like a gear cog. It should indicate status of pending updates.
  • From the command line, use: sudo apt-get update
  • Then a little icon called “Update Manager” will appear in left sidebar
  • Choose the files to update through that GUI

Download and install a .deb package:

  • Save the .deb file to some folder
  • sudo apt install ./name.deb
ubuntu_notes.1548521511.txt.gz · Last modified: 2019/01/26 11:51 by juckins