Webmin installation on openfiler

 

Download the latest Webmin RPM to openfiler from this page: (You want "RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux")
http://www.webmin.com/download.html
Copy the link from the webpage to download the correct RPM file and download it on Openfiler using the following command. If you are downloading a more updated copy of Webmin then replace the "webmin-1.510-1.noarch.rpm" with the correct filename:
wget "http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.510-1.noarch.rpm"
After it's downloaded in the root users home directory you need to convert the RPM to CPIO format to extract it, do this with the following command. (Once again replacing the "webmin-1.510-1.noarch.rpm" with the correct filename") :
rpm2cpio ~/webmin-1.510-1.noarch.rpm > ~/webmin.cpio
Now extract the CPIO file using (BE SURE YOU'RE IN THE ROOT HOME FOLDER WITH "CD ~" BEFORE RUNNING THIS COMMAND) :
cpio -idmv < ~/webmin.cpio
This will create two folders called "etc" and "usr" that need to have some of these files copied to the correct location. The "usr" folder contains all of Webmin's innards while files in the "etc" folder control it's startup and such. We will only copy two files from the "etc" folder, but everything in the "usr" folder will be moved.
Copy the files from the "etc" folder using the following commands:
cp ~/etc/init.d/webmin /etc/init.d/
cp ~/etc/pam.d/webmin /etc/pam.d/
Move the Webmin application using the following commands:
mv ~/usr/libexec/webmin /usr/libexec/
*IF YOU ARE UPDATING TO A NEW VERSION OF WEBMIN* Instead of the above command use:
"cp -R –reply=yes ~/usr/libexec/webmin /usr/libexec/"
chmod 777 -R /usr/libexec/webmin/ <- This is a messy patch up, but just to ensure that everything in the folder can be executed
And now finally to configure Webmin and get it started:
/usr/libexec/webmin/setup.sh
After completing the install script you should have a working Webmin installation on Openfiler!
Src: https://forums.openfiler.com/index.php?/topic/3464-installing-webmin-on-openfiler/
Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.