nbx909
May 10th, 2006, 06:41 PM
Like my previous how to (http://www.ubuntuforums.org/showthread.php?t=147148) this will let you 'upgrade' to Ubuntu Center Alpha 1 if you use xampp, if you use any other httpd look at this and it may help you install it.
1st download the source from here (https://files.bountysource.com/file/download/136/ubuntucenter-alpha-01-source.tar.gz)
If you are upgrading you can skip the following part
If you are installing for the 1st time then
cd /home/
sudo su
mkdir Shared
cd Shared
mkdir Incoming
mkdir Music
mkdir Pictures
mkdir Uploads
chmod 777 /home/Shared/
*Now for everbody*
Now do
sudo apt-get install id3v2 imagemagick
Untar the source and copy everything but the var folder to /
Now copy var/www/center to your lampp directory
sudo su
(when cded to center-source)
If upgrading rm the center folder or rename it before doing this step
cp var/www/center /opt/lampp/htdocs/
Now go to http://yourip/center/install.php and follow the instuctions
Now edit the 1st line of /opt/lampp/htdocs/center/.htpasswd to read AuthUserFile /opt/lampp/htdocs/center/.htpasswd
Now if you can the nice ubuntu center menu with no errors you are set but for me the sql database did not get created so i had to use phpmyadmin to delete the center database and import the sql database manually from /opt/lampp/center/install/
Also in order to get torrentflux working make sure you edit the config from ubuntu center by click on the admin interface after your in the download section and replaceing every
/var/www/center/
with
/opt/lampp/htdocs/center/
and don't forget to edit the queue settings the same way or else you'll get pissed off at torrentflux in middle of writting a how to and attempt to commit suicide with a rubber knife while listening to emo music. ](*,)
or maybe that was just me minus the emo music... anyway that should be it. If it's not i'll edit it and if you have troubles post it here...
EDIT 1: Told you I would have to update as I played with it more...
in order to get the http downloader working you need to change a line in /opt/lampp/htdocs/center/dl_config.php
Change the line that says
$logfile_path = "/var/www/center/downloads/log/";
to
$logfile_path = "/opt/lampp/htdocs/center/downloads/log/";
EDIT 2: Nevermind travis screwed up on this one there is no folder named log in downloads so therefor it won't work anyway but i'll keep edit 1 since it needs to be changed anyway.
1st download the source from here (https://files.bountysource.com/file/download/136/ubuntucenter-alpha-01-source.tar.gz)
If you are upgrading you can skip the following part
If you are installing for the 1st time then
cd /home/
sudo su
mkdir Shared
cd Shared
mkdir Incoming
mkdir Music
mkdir Pictures
mkdir Uploads
chmod 777 /home/Shared/
*Now for everbody*
Now do
sudo apt-get install id3v2 imagemagick
Untar the source and copy everything but the var folder to /
Now copy var/www/center to your lampp directory
sudo su
(when cded to center-source)
If upgrading rm the center folder or rename it before doing this step
cp var/www/center /opt/lampp/htdocs/
Now go to http://yourip/center/install.php and follow the instuctions
Now edit the 1st line of /opt/lampp/htdocs/center/.htpasswd to read AuthUserFile /opt/lampp/htdocs/center/.htpasswd
Now if you can the nice ubuntu center menu with no errors you are set but for me the sql database did not get created so i had to use phpmyadmin to delete the center database and import the sql database manually from /opt/lampp/center/install/
Also in order to get torrentflux working make sure you edit the config from ubuntu center by click on the admin interface after your in the download section and replaceing every
/var/www/center/
with
/opt/lampp/htdocs/center/
and don't forget to edit the queue settings the same way or else you'll get pissed off at torrentflux in middle of writting a how to and attempt to commit suicide with a rubber knife while listening to emo music. ](*,)
or maybe that was just me minus the emo music... anyway that should be it. If it's not i'll edit it and if you have troubles post it here...
EDIT 1: Told you I would have to update as I played with it more...
in order to get the http downloader working you need to change a line in /opt/lampp/htdocs/center/dl_config.php
Change the line that says
$logfile_path = "/var/www/center/downloads/log/";
to
$logfile_path = "/opt/lampp/htdocs/center/downloads/log/";
EDIT 2: Nevermind travis screwed up on this one there is no folder named log in downloads so therefor it won't work anyway but i'll keep edit 1 since it needs to be changed anyway.