Installation
Step 1
Once you download the nubiles_tubescript.zip from the
Nubiles.net webmaster area,
extract the files, and upload all the .php files that were extracted
in binary mode (check your ftp client for necessary settings). The site can be uploaded to the root of your domain,
or a subdirectory. An alternative is to upload the whole .zip file
and extract on the server using SSH client.
Step 2
Before beginning installation you will need to create a new mysql database for the
Nubiles Tube Script.
If you do not know how to do this, contact your web hosting company.
Step 3
Before running setup.php, you need to set permissions on some files/directories to 777.
Change permissions for all required files - chmod -R 777 config/con_db.class.php config/settings.php view.txt vid thumbs genfiles templates statichome.php statichome_mobile.php mobile/templates ads
config/con_db.class.php - configuration file for connecting to MySQL Server.
config/settings.php - cached settings storage
view.txt - temporary storage of view stats.
vid - directory of channel contents including all local videos and images.
thumbs - directory of the default images of the category.
thumbs/channel - directory of the channel images.
genfiles - directory and all the files inside this dir for cached links (friends/paysites).
genfiles/genthumbs - directory
templates - directory and all the files inside this dir for choosing template in the admin.
statichome.php - cached homepage storage
statichome_mobile.php - cached homepage for mobile storage
mobile/templates - directory and all the files inside this dir for choosing the mobile template in the admin.
ads - directory for the homepage break ads
Step 4
Next start the
setup.php located in the root of where you uploaded/extracted the files, then click
on next, it will check the tools needed for Nubiles Tube Script.
Then click on Next, it will prompt for the MySQL information. Then click on
Proceed
to continue installing.
MySQL USERNAME - MySQL username, this user must have privileges to add, edit, delete... using the user root
is not recommended.
MySQL PASSWORD - MySQL Password, password is recommended
Database Server Url - In most cases you should leave host at it's default value localhost,
unless your mysql database is on a different server in which case you should enter
the host name of that server.
Database Name - put the name of the database you will use for your Tube Site, a new empty database is recommended.
Click proceed, if you see any database errors you will need to check your username, password, db name, and server URL.
Step 5
After
Step 4 successfully completes, it will prompt again for site specific settings.
Site Name - Enter your Site Name that you want, e.g. MyTube
Domain - www. or http:// or just mytube.com
Path - Full server path to root directory of the tube install. Script will attempt to auto fill but double check it.
Ffmpeg Path - Path to ffmpeg binary.
FLVTool2 Path - Path to FLVTool 2 binary.
Wget Path - Path to Wget binary.
Then click finish, upon completing the setup, the script will provide your default login.