Difference between revisions of "VirtualMin Specific Configuration"
(New page: in order to make AWBS and Virtualmin work on the same IP, you need to: 1. Enter Webmin (If you're using virtualmin theme you will have to click on Webmin) 2. Go to Servers->Apache Webser...) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ''Note: AWBS supports Virtualmin PRO and GPL versions.''<br /> | |
+ | |||
+ | Configure your server group(s), servers, package types, and packages as per [[Hosting_Modules#Hosting_Configuration_-_Read_First.21|Hosting Configuration - Read First!]] | ||
+ | |||
+ | |||
+ | |||
+ | In order to make AWBS and Virtualmin work on the same IP, you need to: | ||
+ | |||
1. Enter Webmin (If you're using virtualmin theme you will have to click on | 1. Enter Webmin (If you're using virtualmin theme you will have to click on | ||
− | Webmin) | + | Webmin)<br /> |
− | 2. Go to Servers->Apache Webserver | + | 2. Go to Servers->Apache Webserver<br /> |
− | 3. Click on "Module configuration" | + | 3. Click on "Module configuration"<br /> |
− | 4. in the dropdown, choose "System Configuration" | + | 4. in the dropdown, choose "System Configuration"<br /> |
− | 5. Find a line "Command to apply configuration" | + | 5. Find a line "Command to apply configuration"<br /> |
6. By default, it is set to restart server. change it to "Use apachectl or HUP | 6. By default, it is set to restart server. change it to "Use apachectl or HUP | ||
signal", or (as I did) - enter custom command - "/etc/rc.d/init.d/httpd | signal", or (as I did) - enter custom command - "/etc/rc.d/init.d/httpd | ||
− | graceful" | + | graceful"<br /> |
7. Save | 7. Save | ||
Line 15: | Line 22: | ||
− | + | How to run AWBS on Virtualmin GPL:<br /> | |
− | How to run AWBS on Virtualmin GPL: | + | |
When creating a host, AWBS will complain | When creating a host, AWBS will complain | ||
− | that "/usr/libexec/webmin/virtual-server/modify-limits.pl is not found". | + | that "/usr/libexec/webmin/virtual-server/modify-limits.pl is not found".<br /> |
Although the virtual host will be created in Virtualmin, AWBS will not mark | Although the virtual host will be created in Virtualmin, AWBS will not mark | ||
− | the job as complete and wont remove the job from queue. | + | the job as complete and wont remove the job from queue.<br /> |
− | + | The workaround solution is to simply create the file. | |
− | vi /usr/libexec/webmin/virtual-server/modify-limits.pl | + | vi /usr/libexec/webmin/virtual-server/modify-limits.pl |
+ | |||
+ | And put into it: | ||
+ | ############################################ | ||
+ | #!/usr/bin/perl | ||
+ | |||
+ | |||
+ | print "Just a dummy output. Nothing is done.\n"; | ||
+ | exit(0); | ||
+ | ############################################ | ||
− | + | The file seems to be responsible for upgrading packages and adding addons. So AWBS will not be able to upgrade packages automatically. | |
− | + | ||
− | + | ||
− | + | The tricky thing is to synchronize package features in AWBS and | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | The tricky thing | + | |
Virtualmin. It may sound obvious, but if the module is not installed in | Virtualmin. It may sound obvious, but if the module is not installed in | ||
Virtualmin and is set to "true" in AWBS package configuration - error will be | Virtualmin and is set to "true" in AWBS package configuration - error will be | ||
− | raised and account not created. | + | raised and account not created.<br /> |
In particular, it is true for antivirus, antispam features (the features are | In particular, it is true for antivirus, antispam features (the features are | ||
− | not available in GPL version probably) | + | not available in GPL version probably). |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 15:39, March 9, 2009
Note: AWBS supports Virtualmin PRO and GPL versions.
Configure your server group(s), servers, package types, and packages as per Hosting Configuration - Read First!
In order to make AWBS and Virtualmin work on the same IP, you need to:
1. Enter Webmin (If you're using virtualmin theme you will have to click on
Webmin)
2. Go to Servers->Apache Webserver
3. Click on "Module configuration"
4. in the dropdown, choose "System Configuration"
5. Find a line "Command to apply configuration"
6. By default, it is set to restart server. change it to "Use apachectl or HUP
signal", or (as I did) - enter custom command - "/etc/rc.d/init.d/httpd
graceful"
7. Save
This way each time virtual host is created, apache will not restart, but just apply configuration.
How to run AWBS on Virtualmin GPL:
When creating a host, AWBS will complain
that "/usr/libexec/webmin/virtual-server/modify-limits.pl is not found".
Although the virtual host will be created in Virtualmin, AWBS will not mark
the job as complete and wont remove the job from queue.
The workaround solution is to simply create the file.
vi /usr/libexec/webmin/virtual-server/modify-limits.pl And put into it: ############################################ #!/usr/bin/perl print "Just a dummy output. Nothing is done.\n"; exit(0); ############################################
The file seems to be responsible for upgrading packages and adding addons. So AWBS will not be able to upgrade packages automatically.
The tricky thing is to synchronize package features in AWBS and
Virtualmin. It may sound obvious, but if the module is not installed in
Virtualmin and is set to "true" in AWBS package configuration - error will be
raised and account not created.
In particular, it is true for antivirus, antispam features (the features are
not available in GPL version probably).