Quote:
Originally Posted by k_oudom
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.