LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2009, 03:00 AM   #1
k_oudom
Member
 
Registered: Aug 2009
Posts: 293

Rep: Reputation: 30
Virtualmin Prerequisite Installation


Hello LQ. Today I want to install Virtualmin on CentOS 5.3. I'm looking for how to install prerequisite services Can help me?
 
Old 10-09-2009, 05:25 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
I just read through the installation instructions, and it says they recommend
that you do an automated installation. For Red Hat and CentOS they write that
you must run "up2date" first. That is only true for versions of Red Hat before
5.0. For Red Hat since version 5.0 and for all versions of CentOS the up2date
command does not exist. Just run "yum upgrade" to make sure you have the
latest updates and that your depos are configured correctly. Then run the
automated installation script.
 
Old 10-09-2009, 05:39 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
1) Get the "Automatic install for Linux" , = Recommended method,
.. and CentOS is the recommended OS to use.
http://software.virtualmin.com/gpl/scripts/install.sh
> > install.sh ( 41.3 kB )

2) su
2a) sh install.sh

( Asked for hostname : ' example.com ' works. )

'sh install.sh' will use yum to get and install everything.
QUOTE :
"" INFO - Installing dependencies using command:
/usr/bin/yum -y -d 2 install <"required packages"> ""

.. or you can run yum beforehand to have everything ready :
Code:
yum -y install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay clamav-db

Last edited by knudfl; 10-09-2009 at 09:58 AM.
 
Old 10-09-2009, 02:21 PM   #4
SwellJoe
LQ Newbie
 
Registered: Jun 2007
Posts: 14

Rep: Reputation: 0
Have you looked at the docs?

Here: http://www.virtualmin.com/download

And here: http://www.virtualmin.com/documentation/installation
 
Old 10-11-2009, 11:54 PM   #5
k_oudom
Member
 
Registered: Aug 2009
Posts: 293

Original Poster
Rep: Reputation: 30
When I perform checking configuration require by Virtualmin GPL, Error message show up.

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

Can anyone who is excellent at scripting, analyze this automate install script and write a manual installation? You might ask me why I need that manual installation instruction. 1. I want to learn. I want understand what this script do to install Virtualmin. 2. I need to download require packages for offline installation. I prefer CentOS 5.3 Manual Installation Instruction because it is an OS for Server. Hope you will help if you have time.
Download install.sh
 
Old 10-12-2009, 11:40 PM   #6
SwellJoe
LQ Newbie
 
Registered: Jun 2007
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by k_oudom View Post
When I perform checking configuration require by Virtualmin GPL, Error message show up.

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

Can anyone who is excellent at scripting, analyze this automate install script and write a manual installation? You might ask me why I need that manual installation instruction. 1. I want to learn. I want understand what this script do to install Virtualmin. 2. I need to download require packages for offline installation. I prefer CentOS 5.3 Manual Installation Instruction because it is an OS for Server. Hope you will help if you have time.
Download install.sh
I've covered the details of what install.sh does (very little, mostly just figures out which a few packages to install and how to setup the yum repository) and what virtualmin-base does (most of the hard work) on many occasions in the Virtualmin forums. Google is your friend.

I would hate to see someone waste time answering your request, when the only person that really understands all of it (me) has already written quite a bit on the subject. It is not mysterious. The source is right there...read it; if you can't understand the script, you wouldn't understand what it's doing anyway, so why do a manual install when the automated one will actually get it right?

The specific configuration warning you've found is also well-documented on the Virtualmin.com forums, and, of course, would not happen if you simply installed using the install script. It means suexec on your system is configured to run scripts in /var/www, but in a virtual hosting system, scripts would be running in user home directories, which are in /home, and so suexec needs to be rebuilt. I've documented how to rebuild the httpd to get this configuration; again, in the Virtualmin.com forums. Google will find it, but you're just making your life harder than it needs to be.

install.sh isn't doing anything sneaky, nor is virtualmin-base. They're just installing a bunch of packages (mostly the OS-standard packages) and configuring them for use for virtual hosting.
 
Old 10-13-2009, 02:06 AM   #7
k_oudom
Member
 
Registered: Aug 2009
Posts: 293

Original Poster
Rep: Reputation: 30
The reason that I need manual instruction because I don't want to spend hours to download require packages again and again. I have spend a lot of time understand about manual instruction on how to install ISPConfig. So I might be able to understand your guide if you will make one.
 
  


Reply

Tags
virtualmin



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
a prerequisite greeting to you all ajoffe LinuxQuestions.org Member Intro 1 01-07-2007 05:52 PM
Prerequisite hello jhansonxi LinuxQuestions.org Member Intro 1 01-07-2007 05:52 PM
prerequisite for apache2 slackamp Slackware 2 09-18-2006 08:44 AM
question on prerequisite for package installation kylezhou Linux - Newbie 2 04-27-2005 12:09 PM
is this really a Prerequisite ? rvijay Linux From Scratch 2 01-01-2005 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:50 AM.

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