AinsLord Posted February 8, 2017 Posted February 8, 2017 where should i put the flux CP files in my VPS?? and any guide for installing it?? sorry kinda newbie with this
0 Akkarin Posted February 8, 2017 Posted February 8, 2017 You put them in the html directory. On a linux VPS it's usually in /var/www/
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 do i need to create a sub folder after www?
0 srhmike Posted February 8, 2017 Posted February 8, 2017 Only if you want to, or put in that directory
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 (edited) all this files sir?? Edit : i already edited the application and server php i created folder after /www/ Edited February 8, 2017 by whodhell
0 Akkarin Posted February 8, 2017 Posted February 8, 2017 Did you install apache and php on your VPS?
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 yes sir im trying to input the IP still the apache is showing
0 Akkarin Posted February 8, 2017 Posted February 8, 2017 Your directory structure should look like this: /var/www/addons/ /var/www/config/ /var/www/data/ /var/www/lang/ Etc. If you've installed it to a subdirectory instead, you'll need to put your IP in your address bar followed by the name of your subdirectory, like http://ip.add.re.ss/fluxcp
0 Sryx Posted February 8, 2017 Posted February 8, 2017 (edited) Try to open ( http://<your vps ip/<folder name of your newly created folder> Quote i created folder after /www Edited February 8, 2017 by Sryx
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 (edited) thnx ill try this EDIT: is this correct?? this is my folder structure now and i tried IP/foldername no show do i need to do something else? Edited February 8, 2017 by whodhell
0 Hurtsky Posted February 8, 2017 Posted February 8, 2017 just to make we all clear, your VPS, are you already setup apache/nginx server in your VPS? normally you need to setup apache server first when youre using VPS, this is different if youre using shared hosting which already have cpanel, and you can just put the fluxcp file into /public_html
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 (edited) and yea i already have apache installed in my VPS EDIT: it will show like this if you have apache installed ryt?? Edited February 8, 2017 by whodhell
0 Hurtsky Posted February 8, 2017 Posted February 8, 2017 then just paste the fluxcp file into /var/www/html/ after you set up the db user and password inside the server.php
0 AinsLord Posted February 8, 2017 Author Posted February 8, 2017 (edited) lemme try this sorry akkarin im having net issue i dunno i posted 2 bumps im suppose to edit my latest post EDIT: is this correct??? i made a sub folder in var/www/http or i just paste the whole fluxCP file inside HTTP folder??? Edited February 8, 2017 by whodhell
0 Hurtsky Posted February 8, 2017 Posted February 8, 2017 no need folder, just paste whole file inside html, im pretty sure youre not check your apache server is running fine or not first https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
0 AinsLord Posted February 9, 2017 Author Posted February 9, 2017 (edited) this is what is shown after configuring server.php and the application did is do something wrong?? Edited February 9, 2017 by whodhell
0 AinsLord Posted February 9, 2017 Author Posted February 9, 2017 (edited) sorry for double posting accidentally clicked the submit button Edited February 9, 2017 by whodhell
0 Hurtsky Posted February 9, 2017 Posted February 9, 2017 (edited) fix permission of your file, sudo chown -R www-data: /var/www/html sudo chmod -R 755 /var/www/html Edited February 9, 2017 by Hurtsky
0 AinsLord Posted February 9, 2017 Author Posted February 9, 2017 (edited) this is shown after i typed those commands ive tried it with sudo still same Edited February 9, 2017 by whodhell
0 Hurtsky Posted February 9, 2017 Posted February 9, 2017 (edited) lol. line by line, don't copy all and put all together, don't use sudo because youre already root user ignore the sudo Edited February 9, 2017 by Hurtsky
0 AinsLord Posted February 9, 2017 Author Posted February 9, 2017 yea thats what i did 1st this one said it was invalid spec : 'www-data:' chown -R www-data: /var/www/html 2nd this one nothing follows after i typed that chmod -R 755 /var/www/html
0 Sryx Posted February 10, 2017 Posted February 10, 2017 Try sudo chmod -R 755 /var/www/html/newRO/data/* If didn't work. sudo chmod -R 755 /var/www/html/newRO/data/tmp sudo chmod -R 755 /var/www/html/newRO/data/logs
0 Hurtsky Posted February 10, 2017 Posted February 10, 2017 chmod -R 755 /var/www/html this should solve the permission (your website should work after this fix permission)., just for security reasons, you are encourage to change the user of the folder to www user,
0 AinsLord Posted February 10, 2017 Author Posted February 10, 2017 5 hours ago, Hurtsky said: chmod -R 755 /var/www/html this should solve the permission (your website should work after this fix permission)., just for security reasons, you are encourage to change the user of the folder to www user, nothing follows after i typed that command well thnx for all your help guys ill try to figure this thing up ill bump here sometime if i got some more questions
Question
AinsLord
where should i put the flux CP files in my VPS??
and any guide for installing it??
sorry kinda newbie with this
25 answers to this question
Recommended Posts