I have written the an automatic installer for SolidCP which will download and setup all of the required features for each module.
It is still very much “work in progress”, but there is a section to install AwStats on your server.
Could you let me know a little more about your setup so I can point you in right direction?
- Is this server a new server with nothing else running on it or is it currently doing other tasks as well?
- What operating system are you using on the server?
- Is it in production?
- What language is the server OS and installation?
The main reason for asking is the script does many things and one of those things is hardening the server, but we are still ironing out a few issues with the hardening part around adding and revoking permissions from the server and the drive.
Thanks for your response.
Yes its is new server with fresh solidcp installation.Nothing else.
It is a windows 2012 os.
No it is not in production we are in testing phase
The english language.
Any other thing you need.Just let me know.I hope the information will help you to figure it out.
The automated installer script has been released as a BETA and can be downloaded from the following URL
The script is still work in progress, but the AwStats part is fully functional.
I would recommend running the script on a new server to make sure you do not encounter any issues, it has been tested on Server 2012 R2 although it should work fine on server 2008 R2 as that is when we started to script most of our installs.
Once you download the file from the link above you will need to right click on the file and go to properties, then click the Unblock button at the bottom (as the file has come from another computer).
You can then extract the file and run the SolidCP-Configuration.ps1 PowerShell file (right click and Run with PowerShell)
The script will load and you will be presented with a menu, Select option 5 to install an AwStats Server, then simply sit back and wait for the script to download and install all of the requirements for AwStats to work on SolidCP.
You may be required to reboot your server after completion and we would also recommend making sure ALL windows updates have been completed prior to running the script.
Please let us know how you get on with the script and if you encounter any issues.
First of all I will be very thankful to “DatatechUK” to providing us a very good powershell script for solidcp.
I successfully executed the script and installed awstats.
‘DatatechUK’ Thanks again for this distribution.
@Trabanom , You have to set the ‘statistics’ option in hosting plan under solidcp.Each site configuration file automatically created at back end in Awstats folder.
Thank you so much for the helpful script, btw i found a bug at line 2096:
(New-Object System.Net.WebClient).DownloadFile(“http://installer.solidcp.com/Files/stable/Tools/SolidCP-AWStatsViewer-$dSolidCPversion.zip”, “C:_Install FilesAwStatsSolidCP-AWStatsViewer-$dSolidCPversion.zip”)
Have to change to:
(New-Object System.Net.WebClient).DownloadFile(“http://installer.solidcp.com/Files/stable/Tools/SolidCP-AWStatsViewer.zip”, “C:_Install FilesAwStatsSolidCP-AWStatsViewer.zip”)
And second things is about “Function FixServer2012UAC()”, seem youre script only specific on C:, but mine is on D:, is the best if you can make an options to ask where the HostingSpaces located.
Anyway your script is marvelous, good job bro.
I have setup Awstat success, but when add service Awstat on SolidCP error.
Add New Service in Server
The expected version of the software is not found on your server.
Service group name:
AWStats Statistics Service
SmarterStats 5.x +
Did you install AWStats with the SolidCP Configuration Script (PowerShell) as the script sets everything up for you on the server?
Thanks for feedback, I was thinking of adding in an option if multiple drives are detected on the server to give you the option of which drive to install to.
Quite a lot of major changes have been made to the script recently as well as additional modules being added to it.
The latest script can be found at:-
Please keep the feedback coming, it is great to so know many of you are finding the script useful and enjoying the SolidCP project.
- Views3975 times
- Answers13 answers