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
**That includes the information to get DNS information from PSC DNSes servers.
<pre>iface ensXX inet static
<pre>iface ensXX inet static
         address 192.168.2.XXX
         address 192.168.2.XXX
Line 14: Line 15:
**If its not a VM its more likely using '''eth'''X You shouldn't need to change that part just the DHCP to static.
**If its not a VM its more likely using '''eth'''X You shouldn't need to change that part just the DHCP to static.
<pre>iface ethX inet static</pre>
<pre>iface ethX inet static</pre>
*Run the lines before to add PBIS (PowerBroker Identity Services) repository
===Adding to Domain===
<pre>wget -O - http://repo.pbis.beyondtrust.com/yum/RPM-GPG-KEY-pbis|sudo apt-key add -
So the idea here, is to add the server to the domain.  The point being you will be able to login using AD credentials.
sudo wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
**Its not really needed but its make it nice and unified.  This would also give Horizon access.  I used the instructions from http://www.kiloroot.com/add-ubuntu-14-04-server-or-desktop-to-microsoft-active-directory-domain-login-to-unity-with-domain-credentials/
sudo apt-get update</pre>

Revision as of 16:20, 25 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
    • That includes the information to get DNS information from PSC DNSes servers.
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
    • If its not a VM its more likely using ethX You shouldn't need to change that part just the DHCP to static.
iface ethX inet static

Adding to Domain

So the idea here, is to add the server to the domain. The point being you will be able to login using AD credentials.