SA-MP Forums Archive
Help With Setting Up A SA-MP Server CP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help With Setting Up A SA-MP Server CP (/showthread.php?tid=283874)



Help With Setting Up A SA-MP Server CP - AustinJ - 17.09.2011


Overall Goal
My goal is to create a control panel to manage multiple SA-MP servers using PHP with SSH2. I also want to have the users have access to ftp with their given username and password. I am not planning on having very many accounts to manage servers. Just about 2-3 accounts with 2-3 servers running.


What Should I Use?
Web Server? What is the best web server software that would allow the proper functioning of my PHP & SSH2 functions.
FTP Server? What is the best ftp server software that would be the best for this application.



Information
I am not stupid. I am pretty experienced with php, and pawn along with many other languages. I have the basic knowledge needed to run the Linux server. I have access to the server via SSH connection using PuTTY. I am currently running Debian 6.0 on the box.




Re: Help With Setting Up A SA-MP Server CP - GeorgeChri - 17.09.2011

hello austin. you must know php+mysql to make a control panel. Also it isn't so easy as it hears :P.Instal apache to your debian or apache2(webserver). for ftp you can use whatever you want.(filezilla is the best, but i don't know if it has linux version). If you have done everything, you can start coding. take a look at some free control panels, and learn from them how to make ur own.. if you make one send it to me..xD

PS: If you want help PM me..

GeorgeChri


Re: Help With Setting Up A SA-MP Server CP - AustinJ - 17.09.2011

Well, you see I have already created a SA-MP control panel before by myself. The only thing is I couldn't get the ssh2 extension on the Linux box working correctly. The FTP I could set up manually but I was just wonder what was the best software for this and also easy to work with. I have also heard getting Apache to work with SSH2 was difficult compared to other web server software so I was wondering what would be better then Apache to run the control panel. Also I do not need MySQL for the SA-MP control panel. I am not a MySQL guy myself. I know how to work with it and all and how to use it but I just prefer saving these flat-file.


Re: Help With Setting Up A SA-MP Server CP - linuxthefish - 17.09.2011

Nginx/lighttpd would be a better bet for webserver, and vsftpd for FTP server. (filezilla is a FTP client!) Look at Westie's control panel PHP-SSH ideas...


Re: Help With Setting Up A SA-MP Server CP - AustinJ - 17.09.2011

Thanks that was the answer I was looking for. Although I already know how to use the ssh functions in php so no need to look at examples.


Re: Help With Setting Up A SA-MP Server CP - GeorgeChri - 18.09.2011

Linuxthefish there is filezilla server too....


Re: Help With Setting Up A SA-MP Server CP - AustinJ - 18.09.2011

For windows, Yes. For Linux, No.


Re: Help With Setting Up A SA-MP Server CP - GeorgeChri - 18.09.2011

kk.. i can help a bit as i know a little php.. if u want..also will u release it to forums?