LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-26-2020, 03:46 AM   #1
fusion1275
Member
 
Registered: Jul 2007
Location: Knaphill, Surrey
Distribution: Linux Mint
Posts: 310

Rep: Reputation: 36
Linux Template


Hey all,

So I have just been approached by a company who want to interview me for a good role but one of the criteria is that I have knowledge in building a new Linux server and then creating a template for all future builds??

If these were virtual I would understand but I am kind of stuck on what would be the best practice for this. How do you create a template on bare metal builds in corporations these days? Not done that before.

I have read about REAR (Relax and Recover) but I dont think that is used in mainstream businesses? Or is it?

I would appreciate your comments on this so I know what study for.

Thanks all
 
Old 02-26-2020, 04:31 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
There are bare metal provisioning tools like Cobbler or Crowbar. Your interviewer may also thing of systems like Ansible.
 
Old 02-26-2020, 10:41 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,228

Rep: Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345Reputation: 2345
I'm never laid hands on a server, but duckduckgo suggested pages like
https://www.linuxtechtips.com/2013/1...-in-linux.html
https://www.ibm.com/support/knowledg...te_server.html
so I suspect the answer is out there.
 
Old 02-26-2020, 11:29 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,603

Rep: Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139
Quote:
Originally Posted by fusion1275 View Post
Hey all,
So I have just been approached by a company who want to interview me for a good role but one of the criteria is that I have knowledge in building a new Linux server and then creating a template for all future builds??

If these were virtual I would understand but I am kind of stuck on what would be the best practice for this. How do you create a template on bare metal builds in corporations these days? Not done that before. I have read about REAR (Relax and Recover) but I dont think that is used in mainstream businesses? Or is it?
There is little difference between a virtual and a 'real' server in this context, aside from getting the OS spun up. Sure, a virtual server can be a blank already-installed OS that you need to copy over/activate/tweak, but aside from doing a manual load from PXE/DVD/USB/Whatever to the 'real' server, the differences end there. You begin with a configured Linux server.

I'd ask what these Linux servers are going to be DOING, rather than them just being servers. I typically will recommend building RPM's of custom-deployment things, and using an internal repository. Need a postfix box? Here's the RPM we created internally (and *KEEP UP TO DATE*), that has the configs, databases, and a set of firewall rules. Same for a web server, DHCP, or whatever else. Once you get the internal repository centralized, the rest is easy. If you need to change your active postfix config for a new relay host lets say, you change and test the config file on ONE box, and once it works, RPM-ize it, and shove it into the repository. Your other servers will pick it up, and apply it, along with a service restart. Let the package managers do the heavy lifting.

This also lets you control things, since using something like svn or git to push files to the repository gives you a trail, and lets you do version control. However, every company is different...I'd start by asking what infrastructure they have in place already to handle such things, and if they're satisfied with it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resume creator - export options : template vs non-template approach vharishankar Programming 1 12-07-2011 11:11 PM
from django.template import Template, gives output firedancer Linux - Newbie 0 11-30-2007 02:08 PM
Template class with a template member... Nicholas Bishop Programming 3 02-21-2005 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration