I installed webmin on many servers under my control and decided to automate the job. Here is a shell script to automatically add WebMin repo to yum and install it. You can use "nano -w webmin_install.sh" to create a script somewhere, copy there the source, save, then allow execution using "chmod u+x webmin_install.sh" and then use "./webmin_install.sh" to execute it.
I have had webmin running previously but i just recently installed Unbuntu server and i am now trying to install webmin. after typing this to install webmin sudo apt-get install webmin it started doing its thing and then it halts.
Giving me the following message: "Package webmin is not available, but is referred to by another package. this may mean that the package is missing, had been obsoleted , or is only available from another source."
The first thing i did after installing webmin was edit the sources.list
Then i tpyed sudo nano sources.list I uncommented everything with "deb" in front of it
I also uncommented
deb cdrom:
I then typed this sudo wget [url]
After getting that i typed this apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
Can anyone here point me to a walk-through or discussion of how to use Webmin to set up port forwarding/NAT on a dual-NIC Centos 5.3 box? The layout will be simple:
Internet --- NIC1 [CentOS Box] NIC2 --- Switch to other PCs
We have a BUNCH of exposed services that are on special ports -- for example, to connect to one machine, you go in with [IP_Address]:12000, and to connect to another, [IP_Address]:12002, etc., etc. We're currently using OpenSuse 10.3 on this box, and YaST makes this criminally easy (you give it the incoming port number and the destination IP/port numbers and it just works). But OpenSuse 10.3 is nearing EOL, we're buying a new machine, and I'd like to use CentOS on the new one.
I've read the sparse Webmin documentation in their Wiki, and it leads one to believe that you simply insert a "NAT" rule. But there's obviously something they're leaving out. I *am* opening the ports in the firewall. But when I log in to [IP_Address]:port, it just times out. The port forwarding never occurs. The test in this case is SSH, and I know that SSHD is working properly because I can log into that machine just fine from another PC on the same internal subnet.
What's the consensus on the least hassle-prone method to do a bare metal install on multiple machines? I've just been handed a network with 20 identical servers (they're ~4 year old HP quad-Opteron machines with identical hardware configs). They're currently running a mishmash of stuff and I've been told I can re-purpose them. I'd like to create a generic kickstart and pave over them all with CentOS 5.4 with the only difference being the IP address for each machine. I have physical access to the machines and already know the MAC address for each one. Sadly, they are racked up and have no floppy or optical drive, but they DO have an exposed USB port on the front panel.
I encountered a a dependency issue when trying to install Webmin on Ubuntu Server Edition 10.04 Beta1.
When you try to install webmin, libmd5-perl is not available in any of the lucid repositories:
I resolved the dependency prob by adding the following repository to my /etc/apt/sources.list: deb [url]
Then I did a sudo apt-get update then sudo apt-get install and libmd5-perl installed fine along with webadmin. BTW. I got a GPG error when doing a apt=get update because I did not import the public key for the debian repos I used to get libdm5-perl, which doesn't matter to me as I commented out the repos once I got libmd5-perl installed.
I want to install some software which need PHP 5.2 to run but I currently run PHP 5.1 I have been going through this http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 but when I get to the bit that says
I just installed Webmin on this CentOS 5.5 client and would like to know if it's possible to remotely administer the Squid server. The one I'm using for webmin is different from the one where Squid proxy is running.
this might not be a Centos related issue, but since I'm using Centos I guess it doesn't hurt to ask; I've used Ubuntu before and haven't encountered this. So, I've just installed Centos and Webmin and now I'm trying to configure the server. Problem is that on the Apache configuration page I don't have the option (should be there) to configure the Apache modules. I've attached a file to show where the modules option should (as before) appeared.
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?
I am trying to set up an automated installation system for hardware testing and was wondering if anyone on here can point me in the right direction.I would like it to be compatable with a wide range of OS distros including Ubuntu, Red Hat, CentOS, Suse, Windows, Dos, FreeBSD, etc. If some custom scrypting is required thats fine, but flexibility is key.I am looking into Jumstart and Kickstart right now, but I am not sure if that is what I need.
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.
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.
I have been given a task to make a USB flash drive that you insert and it installs a specific iso (the iso: a customized installation of a debian distrubution cloned to a iso) to the hard drive.
i have a windows xp desktop machine that i've been using as a fileserver throguh sharing my 4 external usb drives attached to it. I want to replace this sytem with ubuntu (unless theres a different alternative for waht i want to do?). the problem is its not a standard install i can just do.
- first, the desktop has no keyboard mouse or monitor connected and i generally used vnc to control it.
- the computer right now is heavily infected with some kind of virus. disabld all my anti virus software, wont allow me to use new ones, etc.
my only option really is to wipe it clean and this time not xp, i want ubuntu. is there a way to configure an ubuntu install (or find a preconfigured install) to basically boot automatically from cd/usb drive when i restart my computer, do the install with no user intervention, and upon finalization install a vnc server on the install so i can get back in.
please remember this is my first time wiht ubuntu and while i know more than your average user about computers, id ratehr not muck around. i jsut want to be able to download a standard install, put a file on the installation cd or usb drive and let it install itself.another note, 4 of my external drives connected via usb are ntfs, and 1 is hfs. can ubuntu read/write to all of these systems? if not out of the box, can i later enable these filesystems somehow?
I'm trying to jump Ubuntu Server 10.04.1 x86_64 on an HP DL360 G5. After loading the modules for install, I'm greeted with an iSCSI prompt that cannot be bypassed. Hitting Finish brings me right back to the same iSCSI prompt.The issue seems to be identical to y kickseed file is as follows:
Code: #platform=x86, AMD64, or Intel EM64T # System authorization information
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.
I have installed LAMP. Configured acc. to documentation. I have installed webmin and able to access it. Configured Apache2 and able to access default website www.url.com from public network. But now when I am trying to run [URL] as alias, I am really confused because whenever I type [URL] in web browser, it shows me webmin file instead of GUI. I followed this documentation: [URL]. Anyone have webmin running as website?
I want to install Webmin on a dedicated remote server. I keep reading different blogs/tutorials etc about installing webmin on Ubunto server 10.10 but it seems too easy to be true. There is never any mention of requirements etc. I did read that even perl isn't needed pre install now and will install with webmin.But do i need to install lamp etc first or does it pull these in when Webmin its installed?
I am trying to install webmin on my Debian virtual machine and it is not working.
Here is what i am following [url]
I ad the 2 lines to /etc/apt/sources.list I ad the key ok But when i do apt-get install webmin it goes through everything ok as far as i can see, except when it gets to " **initializing cache. This may take a while **Setting up webmin (1.550) ... " It is like it just stops doing anything, it just hangs there.
If i reboot and try "dpkg --configure -a" it starts at the same place "Setting up webmin" but nothing is happening.
i m trying to modify an Ubuntu install CD for a (nearly) hands-off installation experience. I have almost everything working the way that I want except for one thing: Choosing the keyboard.
1) I can boot the CD 2) I am asked, via what looks like a grey GUI menu, which language I want.
Problem #1: I don't know how to bypass this and force the menu to accept "English". 3) I have added my own label to isolinux/txt.cfg for my installation, and it shows up on the install CD menu: "Install NIMBioS Enterprise"; and it's highlighted by default. 4) I press RETURN to begin the installation. Problem #2: For some reason, the installer displays the "Ubuntu installer main menu", with "Configure the keyboard" highlighted. During a regular, unmodified installation the installer automatically goes into the "Configure the Keyboard" without me having to select it from this menu. I'm not sure why this is the case. 5) I press RETURN to select "Configure the keyboard" Problem #3: I am then asked, "Country of origin for the keyboard". No matter what I try as a preseed argument in txt.cfg, I can't make this go away. 6) Press RETURN to accept "USA", and everything else goes on automatic. Here is the contents of my isolinux/txt.cfg file:
It there a way to enable automated mouse cursors in Fedora 12? About the only thing I miss from WinDoze is the animated hourglass cursor when I start an application by double-clicking its icon. With Fedora, I'll sometimes double-click an icon again, thinking that my first attempt didn't work, only to find that the program was loading and then I have two instances of the program.Yeah, it's a minor thing and, yeah, I can live without it, but it sure would be nice.
What would be the best way to have automated system backups? I'm trying to get it so my Xubuntu box automatically backs up the entire system including user settings on regular intervals, what would be the best way to do it? I have 2 hard drives with one that I do not use that I'd like to backup to.
I am trying to create a script to do the following.. Login to a ftp and download a with the following naming convention xmtvMMDDYY.xml.gzon a daily basis followed by extracting that file. which I can do easy enough with a static filename. but the variable filename is throwing me off. I was planning on doing a mget with wildcard to just grab the entire directory but this found to not be as clean as I had hoped. Mainly due to the admins of the ftp keeping multiple days of the above mentioned file on the site.
I am involved in a project where some regression tests are to be automated. Could you please tell me what are the testing tools that are available for doing automated GUI testing in Linux?