Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


ubuntu_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ubuntu_notes [2015/03/07 08:22] juckinsubuntu_notes [2018/06/29 15:57] juckins
Line 1: Line 1:
 +==== Ubuntu Notes ====
 +[[http://howtoubuntu.org/how-to-install-lamp-on-ubuntu|LAMP install]]
 +
 +[[https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html|Firewall settings]]
 +
 +Release info:  
 +<code>
 +lsb_release -a
 +</code>
 +
 +----
 +
 +Ubuntu 18.04 LTS
 +  * After initial login, change preferences in terminal and remove undesired favorites
 +  * [[https://websiteforstudents.com/how-to-install-ubuntu-16-04-17-10-18-04-guest-machines-on-virtualbox/|VirtualBox installation notes]]
 +  * Allow Virtualbox guest additions:
 +<code>
 +sudo apt-get update
 +sudo apt-get install build-essential gcc make perl
 +sudo apt-get install vim
 +reboot
 +</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
 +  
 +  
 [[https://extr3metech.wordpress.com/2012/10/14/installing-ubuntu-12-04-lts-on-virtualbox-with-screenshots-for-beginners/|Installing Ubuntu 12.04 LTS on VirtualBox]] [[https://extr3metech.wordpress.com/2012/10/14/installing-ubuntu-12-04-lts-on-virtualbox-with-screenshots-for-beginners/|Installing Ubuntu 12.04 LTS on VirtualBox]]
   * Choose download updates while installing   * Choose download updates while installing
   * Choose to install 3rd party software   * Choose to install 3rd party software
 +  * At first load, unlock unnecessary icons from launcher
 +  * Use sudo -i instead of root
  
 Install VirtualBox Guest Additions Install VirtualBox Guest Additions
Line 10: Line 53:
 Install MyUnity to tweak fonts Install MyUnity to tweak fonts
   * https://apps.ubuntu.com/cat/applications/myunity/   * https://apps.ubuntu.com/cat/applications/myunity/
 +  * All 10 except for Monospace (11)
 +  * Show some icons on desktop
  
-Use sudo -i instead of root +If you cannot manage Network connections (grayed out):
- +
-Cannot manage Network connections (grayed out)+
   * Manage some network settings through the System Settings Menu   * Manage some network settings through the System Settings Menu
   * Edit /etc/NetworkManager/NetworkManger.conf   * Edit /etc/NetworkManager/NetworkManger.conf
Line 19: Line 62:
   * sudo service network-manager restart   * sudo service network-manager restart
  
-Install and configure vpnc packages +Install and configure vpnc packages 
-  *  +
-    * Precise (12.04 release) +
-      * Searched for "network-manager-vpnc" and installed +
-      * It then installed these 3 packages +
-        * http://packages.ubuntu.com/precise/network-manager-vpnc +
-        * http://packages.ubuntu.com/precise/net/network-manager-vpnc-gnome +
-        * http://packages.ubuntu.com/precise/vpnc +
-    * Lucid (10.04 release) +
-      * http://packages.ubuntu.com/lucid/net/network-manager-vpnc-gnome +
-      * http://packages.ubuntu.com/lucid/vpnc +
-      * http://packages.ubuntu.com/lucid/network-manager-vpnc+
   * In Ubuntu Software Center, choose All Software and search for network-manager-vpn   * In Ubuntu Software Center, choose All Software and search for network-manager-vpn
   * You should see network-manager-vpnc-gnome and network-manager-vpnc; install both.   * You should see network-manager-vpnc-gnome and network-manager-vpnc; install both.
     * If it can't find these packages, may need to check /etc/apt/sources.list     * If it can't find these packages, may need to check /etc/apt/sources.list
       * Example line to add: deb http://ubuntu.cs.utah.edu/ubuntu precise main universe       * Example line to add: deb http://ubuntu.cs.utah.edu/ubuntu precise main universe
 +      * sudo apt-get update
   * Now 3 vpn software packages should be installed:   * Now 3 vpn software packages should be installed:
     * network-manager-vpnc     * network-manager-vpnc
Line 42: Line 75:
   * In advanced options of VPN configuration, there is a setting called Transport and Security.  Set "NAT traversal" to Cisco UDP    * In advanced options of VPN configuration, there is a setting called Transport and Security.  Set "NAT traversal" to Cisco UDP 
   * Also changed line in /etc/nsswitch.conf from "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns 4 mdns" to "hosts: files dns" Probably not needed; located from http://ubuntuforums.org/showthread.php?t=1842371   * Also changed line in /etc/nsswitch.conf from "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns 4 mdns" to "hosts: files dns" Probably not needed; located from http://ubuntuforums.org/showthread.php?t=1842371
 +  * Precise (12.04 release)
 +      * Searched for "network-manager-vpnc" and installed
 +      * It then installed these 3 packages
 +        * http://packages.ubuntu.com/precise/network-manager-vpnc
 +          * If necessary, save this file and install manually.  It installs other needed files.
 +        * http://packages.ubuntu.com/precise/net/network-manager-vpnc-gnome
 +        * http://packages.ubuntu.com/precise/vpnc
 +    * Lucid (10.04 release)
 +      * http://packages.ubuntu.com/lucid/net/network-manager-vpnc-gnome
 +      * http://packages.ubuntu.com/lucid/vpnc
 +      * http://packages.ubuntu.com/lucid/network-manager-vpnc
  
 [[http://askubuntu.com/questions/248/how-can-i-show-or-hide-boot-messages-when-ubuntu-starts|Show Boot Messages]] [[http://askubuntu.com/questions/248/how-can-i-show-or-hide-boot-messages-when-ubuntu-starts|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.txt · Last modified: 2021/02/21 11:09 by juckins