ShivaGupta Posted September 27, 2013 Share Posted September 27, 2013 today i installed Debian GNU/Linux 6.0 (Squeeze), 64-bit in vps.. then installed php with this commond apt-get install php5 thrn i got this result on my browser with my. ip ...http://83.xxx.xxx.1xx/ It works! This is the default web page for this server. The web server software is running but no content has been added, yet. but here i dont know how to uplode my php file in my server..... plz help me out... Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/ Share on other sites More sharing options...
Ch0cu3r Posted September 27, 2013 Share Posted September 27, 2013 How are you connecting to your vps via ssh? Isnt sftp or scp setup? Thats how you'll upload files to your vps. By fault on debian Apache serves files from /var/www folder. This can be changed via apaches configuration in /etc/apache/sites-available/default. Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451480 Share on other sites More sharing options...
ShivaGupta Posted September 27, 2013 Author Share Posted September 27, 2013 plz help me i never used vps its my first vps and i dont know how to upload file and i dont found any cpanel their............. Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451481 Share on other sites More sharing options...
ShivaGupta Posted September 27, 2013 Author Share Posted September 27, 2013 How are you connecting to your vps via ssh? Isnt sftp or scp setup? Thats how you'll upload files to your vps. By fault on debian Apache serves files from /var/www folder. This can be changed via apaches configuration in /etc/apache/sites-available/default. i am using puty to conect via ssh............ Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451483 Share on other sites More sharing options...
Solution kicken Posted September 27, 2013 Solution Share Posted September 27, 2013 You can transfer your files using SFTP or SCP. On windows a good client to handle this is WinSCP. For other OS's, do some google searching and you'll find a solution. Beyond just uploading the files though, you need to learn how to actually configure apache so it knows where to find the files, how to process them, etc. This is not something to learn via a simple forum post, you need to google for some tutorials on how to manage a LAMP server. CPanel is a piece of software that you'd have to buy and install to manage your server. Unless you paid for it when you bought the VPS, it will not be available to you. You'll have to do everything manually via the command line. Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451484 Share on other sites More sharing options...
Ch0cu3r Posted September 27, 2013 Share Posted September 27, 2013 (edited) Ignore.. shutting up now Edited September 27, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451485 Share on other sites More sharing options...
ShivaGupta Posted September 27, 2013 Author Share Posted September 27, 2013 (edited) You can transfer your files using SFTP or SCP. On windows a good client to handle this is WinSCP. For other OS's, do some google searching and you'll find a solution. Beyond just uploading the files though, you need to learn how to actually configure apache so it knows where to find the files, how to process them, etc. This is not something to learn via a simple forum post, you need to google for some tutorials on how to manage a LAMP server. CPanel is a piece of software that you'd have to buy and install to manage your server. Unless you paid for it when you bought the VPS, it will not be available to you. You'll have to do everything manually via the command line. verry verry thanks sir Edited September 27, 2013 by ShivaGupta Quote Link to comment https://forums.phpfreaks.com/topic/282486-plz-help-with-debian-gnulinux-60-squeeze-64-bit/#findComment-1451487 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.