Difference between revisions of "Base Linux"

From PSC IT Wiki
Jump to navigation Jump to search
Line 5: Line 5:
*Make sure you have a static IP set.  <pre>cat /etc/network/interfaces</pre>
*Make sure you have a static IP set.  <pre>cat /etc/network/interfaces</pre>
*Below is what the end of the file should look similar too.  Please any '''X'''s with correct information for this server.  You may have to change DHCP to static
*Below is what the end of the file should look similar too.  Please any '''X'''s with correct information for this server.  You may have to change DHCP to static
<pre>iface ens'''XX''' inet '''static'''
<pre>iface ensXX inet static
         address 192.168.2.'''XXX'''
         address 192.168.2.XXX
         netmask 255.255.255.0
         netmask 255.255.255.0
         gateway 192.168.2.244
         gateway 192.168.2.244

Revision as of 23:25, 24 May 2016

  • Install the latest LTS from Ubuntu
  • During Software Selection Make sure to select the OpenSSH server
  • After the install is done update the repos and make sure all the apps are up to date.
sudo apt-get update && sudo apt-get upgrade
  • Make sure you have a static IP set.
    cat /etc/network/interfaces
  • Below is what the end of the file should look similar too. Please any Xs with correct information for this server. You may have to change DHCP to static
iface ensXX inet static
        address 192.168.2.XXX
        netmask 255.255.255.0
        gateway 192.168.2.244
        dns-search psc.horizon.com pscnaturalfoods.com
        dns-nameservers 192.168.2.225 192.168.2.226 8.8.8.8
  • Run the lines before to add PBIS (PowerBroker Identity Services) repository
wget -O - http://repo.pbis.beyondtrust.com/yum/RPM-GPG-KEY-pbis|sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
sudo apt-get update