General :: Automated Remote Installs Of Ubuntu Using Kickstart?
Apr 18, 2010
I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.
How do I create the boot CD (or USB)?
How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?
View 4 Replies
ADVERTISEMENT
Aug 9, 2010
I am trying to put together a customized automatic installation of Ubuntu 9.10 Desktop for a set of computers I manage at work. Since there are other servers in my department that are Red Hat based, I was introduced to Kickstart so I have been using that exclusively.
I have almost my entire installation automated using Kickstart with the exception of the partitioning, which is as follows:
My problem that I am asking for help on is that the Kickstart automates everything until the clearpart, where it then asks 2 questions which I would like to figure out how to automate the answers to (preferably within my Kickstart script)
The first question is the install process telling me about my currently configured partitions and mount points. Asking me if i want to "Undo changes to partitions" or "Finish Partitioning and write changes to disk" which I of course want to finish partitioning.
The second question is telling me if I continue the changes listed will be written to the disks, and asks if I want to "Write changes to disks?" which I want to select Yes for automatically.
Like I mentioned before I have searched the web and this forum for any potential way of doing this, but so far have come up with nothing, so I figured I would ask the experts out here and see what suggestions come up. I realize the Kickstart is not completely implemented in Ubuntu, however since I have everything written in Kickstart already I would prefer to stay within the Kickstart script to fix this.
View 1 Replies
View Related
Jan 25, 2010
I want to install Red hat based custom OS in a complete automated mode.I ll have my kick start file inside the CD rom and when I boot with that ISO or CD.The OS should start installing by taking parameters from the kick start file without having to specify the path of the kick start file inside the CD.like "linux ks=<path>".Is it possible to achieve this by writing any script or something so that when the CD boots the kick start path is passed automatically to the anaconda installer.
View 5 Replies
View Related
Jul 21, 2011
I'm confronted with a problem and haven't been able to find a solution using Google and the likes. I have created a netinstall image based on CentOS 5.6 with kickstart which works great while pointing to the HTTP / NFS repository in isolinux.cfg like this:Code:label publisherkernel vmlinuz append initrd=initrd.imgks=http://192.168.0.198/kickstart/ks.cfg cdncontentpublisherThe problem however is that the location of the kickstart file and repository/ies might vary and I don't want to create a separate ISO for each and every location.
View 5 Replies
View Related
Feb 1, 2010
CentOS 5.3 32bit
I'm having trouble trying to copy files from an nfs mounted remote machine during the the post install with kickstart.
My post install:
%post
mkdir /mnt/foo
mkdir /mnt/foo/downloads
mount 206.xx.xx.xxx:/downloads /mnt/foo/downloads
ln -s /mnt/foo/downloads /downloads
sed -i '$ afoo:/downloads /mnt/foo/downloads nfs exec,dev,suid,rw,bg,soft,rsize=8192,wsize=8192 1 1' /etc/fstab
%end
%post --nochroot
cp -r /downloads/thirdparty/importantFolder /mnt/sysimage/opt
%end
View 11 Replies
View Related
Apr 17, 2010
What's the current best practice for automounting a remote drive for automated backup? I want to use Back in Time and maintain snapshots but it can't do that remotely so I have to mount a folder outside of Back in Time. I have used sshfs from this howto in the past and it works mostly but seems to lose connection and not reconnect a lot. [URL]. Is there a more "modern" way? NFS is horribly unreliable and dog slow for me so it's OUT unless it's changed in the last year.
View 1 Replies
View Related
May 25, 2010
I have a machine on my network and that machine is a mass storage server that I will eventually use as a media server (to stream movies, videoclips and music on my home theater system). I use slackware 13 on ALL of my machines.
I am trying to automate the backup of the "/home" folder of my laptop onto the mass storage server. I currently use rsnapshot and it works great, but I would like to automate the whole process, even if I am not home or in front of my machines...
Here's what I imagined (in pseudo code):
1) Poll if server is active (up);
1.1) If not:
1.1.1) Wake up the server (WOL);
1.1.2) Wait for the server to boot;
1.1.3) Confirm the server has made it to the login prompt (normal boot);
1.1.3.1) If not, send an alarm via email;
[Code].....
View 14 Replies
View Related
Aug 28, 2010
Rsnapshot is a software written in Perl to make backup of local and remote file system. The well proven rsync is behind this utility. rsnapshot does not need root user intervention to restore the data of a normal user. It does not take much space in your Backup server. It can be easily automated (scheduled) to make life easier. Just setup once and forget it configuration. Basically it takes snapshot of file system (or a part of) in regular interval such as hourly, daily, weekly and monthly.
This can be configured easily through a simple text based configuration file. The above task can be setup in a few easy steps in a few minutes. Two major tasks are configuring rsnapshot and openssh automatic login. To make the backup automatically, we need to automate the remote login in a secured way. This can be done through openssh tools. This scenario depicts backup of desktop (assuming that IP address is 192.168.0.100) data to a backup server. My desktop runs on Ubuntu 10.04 and backup server runs on Debian Squeeze. [URL]
View 2 Replies
View Related
Sep 27, 2010
This is my first post and I am a linux newbie.. took on the challenge of setting up an ubuntu server with proxy and firewall with vpn access as well.. sounds good? While messing with things, I installed ebox server, know called Zentyal and perform backups, however, when performing a full restore, following instructions and all it does not restore correctly. I ran many attempts with verious configurations and still allways got some errors, such as eboc-ebackup failing to start, etc. most noteably wa sthe ldap error, which i figured out how to fix by restarting once logged into and then rebooting.
I say the Clonezilla options for a full backup, and it sounds great, but does require me to perform a full abckup, while bring the server down to perform. What I wanted to know, was what do you recommend for performing a full backup (possibly to NTFS partition or USB key with FAT32) with automation or even if i had to perform the trigger, just without needing to bring the server down, so when i go into production i dont have any issues backing up anytime?
View 2 Replies
View Related
May 21, 2011
I am making some scripts to automaticly install linux-software.gcc,kernel,binutils, etc.) I have made a command to extract the packages, but how can I check if I can re-use my already extracted source-archives?
View 3 Replies
View Related
Feb 6, 2010
how to automate user's loggin ?can we do something like the user get automatically looged in without displaying the welcome screen..?
View 6 Replies
View Related
Aug 20, 2009
So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`
This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`
The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit
View 4 Replies
View Related
Sep 16, 2010
I am a complete newbie to linux. I am currently taking a course at Devry university called netw240. I am in my 2nd week of class and am required to turn in a paper at the end of the coures were I write an automated shell script. I am currently using Fedora 12 on a Vmware player and want to try to write a script that automates the process of Logging user login activity to detect unauthorized remote access attempts.I am looking for pointers on were to start, examples, ect.. anything that can get me started. Also, is this type of script to much for a beginner?
View 11 Replies
View Related
Apr 6, 2011
I am using Kde 4.5 in Debian and I get some notifications after start that I need to update something. How can I disable it (I often don't want to waste bandwidth for such things)? I am using Debian Wheezy and Kde 4.5
View 1 Replies
View Related
Nov 18, 2009
While I have been using Linux for many years (Slackware), I have found myself facing a special need that I can't quite figure out.I work at a club where I use iMovie on my Mac to create a DVD that plays on all of our TV's displaying our upcoming lineup of bands.In order to save on DVD's, I would like to create a very small form factor PC running Linux with the following requirements: the computer must boot into Linux and log itself in, the computer will boot up with a thumb drive attached containing a movie file of the most Linux compatible video format. After booting up and logging itself in, the video on the thumb drive must start playing automatically in full screen mode and in a continuos loop.So the whole thing needs to be automated from boot to playing movie; only the power button should ever need to be touched.
View 3 Replies
View Related
Mar 22, 2011
I am learning PHP to take information submitted in a web-form and store it in a MySQL database, but I also need it to automatically print to the laser printer I have setup. So that a notice or printout is produced of the information.
My question is... what route do I go to automate printing from web-based information in a PHP/MySQL database?
Is it PERL ? or does PHP have a feature to do this?
View 2 Replies
View Related
Oct 12, 2010
Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar script?
View 1 Replies
View Related
Jun 13, 2011
I'm using Ubuntu 11.04. I'm searching for an automated way of installing the latest version of Flash for Firefox. We are using our machine as a testing server and it would be nice to be assured we always have the latest version of Flash instead of having to manually update it whenever Adobe comes out with an incremental update.
View 6 Replies
View Related
May 26, 2011
I just finished set up a PXE server, and was wondering is it possible to automated save/redirect files from the client into server? Basically, test will be running on client, and wanted to save the result(text file) into server after done testing.
View 1 Replies
View Related
Feb 9, 2011
I learnt that there is a way where we can automate the installation of Red Hat using a kickstart script. However, everywhere they talk about doing that from bootable floppy image. I have a single DVD of Red Hat (RHEL5). Can anyone tell how can I kickstart the installation using the kickstart script, i.e., where do I place the ks.cfg file on the disk and what command should be given at the boot prompt? (Kickstart from DVD and not from any network.)
View 1 Replies
View Related
May 6, 2010
I accidentally chowned my whole filesystem to nobody:nogroup.Stupid, I know.I'm wondering if apt keeps a copy of the perms it set during installs like RPM does?If not, is there any other way to restore the perms easily?If not, does anyone have a quick screenshot of their root level perms on Debian Hardy? I can at least start with a chown -R of the top level dirs and see how close that gets me.
View 2 Replies
View Related
Apr 15, 2010
I have been trying to install linux on my HP pavillion 511w for several days. The first I tried to install was debian, it didn't freeze but it kept saying unable to mount cdrom drive. (This may have been from an incorrect jumper setting that I later changed.) I haven't tried debian since changing the jumper.
I next tried ubuntu 10.04 beta 2, all it did was go to a ubuntu flash screen that never stopped cycling these small round "lights".
I then tried the "stable" ubuntu 9.10. This went to a screen with several options for installing ubuntu, checking the disk etc. No matter what I selected it would just freeze. Since this is my first install I wasn't sure if this was normal or not so I waited several hours and still nothing, after enough time I concluded it must have been frozen. But before I continue wasting time waiting for hours can someone tell me... when installing these linux versions is there a sign that it is loading, booting, or installing the OS? I figure it must have a status bar or something, but want to make sure.
I next tried linux mint 8. It did the same thing, went to a sceen with several options and when I select something it says "loading" at the bottom with a blinking cursor, but of course it never loads anything, just sits there. This one throws me off a bit because it says its loading and the cursor blinks but it just doesn't seem like it is actually doing anything.
I have also downloaded ubuntu 8 which I plan to try next. I've tried changing the boot/install options by pushing F6 or whatever it was.
The computer is an older system that I never use because its so slow running XP. I thought linux would run faster and I could get some use out of it while learning/experimenting with linux. I always have to have projects to keep my mind working, but constantly failing at the starting line is not much fun.
View 14 Replies
View Related
Jun 25, 2011
I have four hard drives in my machine with several different O/S installs.
I have a couple of Linux distros, win xp, and win 7.
I'm wanting to view all my files in a file manager such as Dolphin but it only shows the Pardus that I am running and the other Windows installs.
My other Linux installs do not appear.
I've recently switched from Windows where I am used to seeing all the different Windows installs on windows explorer.
Is this not possible to do in Linux?
I am wanting to move some files from one system to the other and this is frustrating not being able to see them.
View 4 Replies
View Related
Feb 23, 2011
I am working on a few different Linux related self-education projects, and I'm trying to stump myself as much as possible so I can learn as quickly as possible. Using VMWare, I have several Linux and Windows flavors I am using for various purposes. To the point, I have an Ubuntu server (text only) and a Fedora desktop installed, and I need to figure out how to map a drive on the Fedora VM so that I can access it on the Ubuntu server VM. I have installed Samba on both, and I can send a ping from one to the other with no problems. I guess I just need some help with the command line syntax?
On a related note, I have NOT been able to figure out how DNS works in a setup like this, so when I say I can ping them, it is by IP address only. I'll work on the DNS stuff soon, but for right now, I just need access to my Fedora VM, unless for some reason you can ONLY set this up via DNS.
Ubuntu server 192.168.28.133
Fedora desktop - 192.168.28.130
Folder I need to access: [Fedora desktop]/home/[username]/downloads/
View 5 Replies
View Related
Mar 21, 2010
BACKGROUND: After years of having an idle machine with Linux on it, I want to use it everyday. My preferred distro is Debian Lenny. It is running on a 1999 Compaq that I want to use for testing. So far, configuration has been logical and steady.
PROBLEMS: So far, only Suse will install completely on my newer machine.
Fedora and Knoppix were also tried, and did not work.Where should I look to begin to troubleshoot this? This is not a rush job. I have time to do one or two things per day.
View 12 Replies
View Related
Apr 29, 2010
I am currently trying to add a new user on a linux box in the %post section of the kickstart file. The user however doesn't get created after I reboot the box after install. Am I missing anything ?Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!
View 4 Replies
View Related
Jun 21, 2010
Does anyone know of any benchmark I could use to compare kickstart with WDS?Apart from like saying that windows takes 15mins to deply a system comapared to Kickstart.What else can i really use and put figures to it?
View 1 Replies
View Related
Feb 18, 2010
Anyone who have idea on difference between Jumpstart and Kickstart?
View 1 Replies
View Related
Jan 26, 2011
I have downloaded and installed programs and cannot find them. today it was k3b and k9copy. i even reinstalled them just in case. synaptic completes the process, but i can't find the programs on any menu. my command-line skills (though improving) are lacking. i've used ubuntu numerous times before and the programs of that type would always show on the 'sound & video' menu automatically. i'm considering the possibility that my installation is faulty.
View 2 Replies
View Related
Apr 6, 2009
I'm trying to do a red hat Advanced server 4 update 7 install using a kick start file on the network. The server with the kickstart file and dvd contents is on the same subnet as the server receiving the install. We have done it before in the past just fine using:linux nofb text ks=http://serverip/path at the boot/install screen. After that the ip address info is entered manually and the kickstart does its thing. When doing this with update 7, the install acts like a regular install. When i check the http access logs on the other server, it shows no access from the server receiving the install.I have tried adding an ip address to the install command. Such as:
View 2 Replies
View Related