Not used to DirectAdmin and have some questions about installing packages

Marcosi

Verified User
Joined
Apr 14, 2012
Messages
40
Location
Cyprus / Sweden
Hi,
I'm a newbie at DirektAdmin, but happy to learn. On my old server I had cPanel. All the articles I read about installing i.e modules for PHP or other packages. the description is to install direct on the OS with Unix commands.

I was hoping that one could easy make installation and activations direct in DirectAdmin?

I wanted to install PHP5-GeoIP, and also Awstats. Unfortunately I'm no good with Unix handling and installations on the server. I'm having Ubuntu as the OS on the server.

Thanks in advance for any help!
 
AWStats is already available in custombuild, so it is very easy to get. In the following path: /usr/local/directadmin/custombuild/options.conf - Just change to "yes" in the line:

Code:
awstats=[B]yes[/B]

Then in shell you do this:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build awstats

Then you will find AWStats in DirectAdmin control panel in the page under the link "Site Summary / Statistics / Logs"

You will probably have to wait until next time the tally is run to get any statistic in AWStats, that would most probably be ten minutes after midnight.
 
Thanks,
The small problem is that directadmin is not located in /usr/local/ so I have to find where the guy installed it did put it, and then I can try :)
 
Thanks and sorry for that. I don't know if I was tired or drunk when I didn't see that :D I turned on Awstats but it's not visible in DirectAdmin.

I guess it will be after a while?
 
For sure you need to wait at least 24h for have some data in it, but, you should be already able to see awstats at user level in statistics page.

Regards
 
Run the following code to update your stats. It might take some time to compute depending on your log sizes:

Code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
 
AWStats is already available in custombuild, so it is very easy to get. In the following path: /usr/local/directadmin/custombuild/options.conf - Just change to "yes" in the line:

Code:
awstats=[B]yes[/B]

Then in shell you do this:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build awstats

Then you will find AWStats in DirectAdmin control panel in the page under the link "Site Summary / Statistics / Logs"

You will probably have to wait until next time the tally is run to get any statistic in AWStats, that would most probably be ten minutes after midnight.


Done, I restarted DirectAdmin also, I couldn't find Awstats :confused:
 
Back
Top