Post by Raheem on Jan 7, 2016 1:30:53 GMT
Hello Guys, Hope you are all fine. I will help you to install AMXBANS on your server you don't need site or domain name. We will need VPS that you host your server on or Deteciated Server Whatever i mean where you host your game server. If you rent game server so this topic won't be useful for you.
I'll explain on linux [CentOS 6]. If you use another system it's easy to find the comands on google so don't worry and keep reading.
We will Install:
Installing Apache:
Then starting it
Installing MySQL:
Then starting it
★Set Password for Database.
Installing PHP:
Then Restarting Apache (Must Restart so PHP work).
What i have explaind all not more than commands you give to your VPS. You can search and you will find many sites have those things and many videos that explain how this done in all systems.
My explain is a light you must go on so AMXBANS lately will works.
In brief: Whatever your VPS system is, you need to install 3 things Apache, MySQL, PHP
What will we use those programs in?
═► Apache will be used as Web Hosting Server.
═► MySQL As Database.
═► PHP Reading PHP files Which important for AMXBANS.
•Installing AMXBANS.
Download AMXBANS
After downloading extract the files then you will get 2 folders 1-Plugin 2-Web
We will work now with 2-Web and installing it first.
1-Rename Web folder to amxbans
2-Open it (amxbans) then open include folder then smarty folder then create a folder and name it templates_c
Ok now open filezella and access to your SFTP and go to var/www/html and upload amxbans folder
Now after uploading amxbans folder we will open it on filezella then open include folder then smarty folder after that we will click with right mouse button on templates_c and choose the last thing name file permissions then we will found a number we will change it to 777 and then save
Then go to http://YourVPSIPHERE/amxbans/ in any browser you will find this page
Now click on i agree and then click next.
Next step click next.
In this step we will do something like what we have done before follow me. This photo show what appears to you
You remember what we do with templates_c to make it writeable? go back and see you will do it with those folders
1-include folder (will find in amxbans folder)
2-temp folder (will find in amxbans folder)
3-files folder (open amxbans folder then include folder you will find in include folder)
4-backup folder (the same like 3)
I'll show you one example on pic.
And do the rest like this one. Ok after finishing this you need to click on Re-check.
Then you can click on next
Now we are in step number 4 the database info you will enter the following data
Host: 127.0.0.1
Username: root (Your SFTP user name)
Password: The password you set when installing MySQL (REMEMBER!)
Database: mysql
Table Prefix: amx
Then click on check access data. Then on next.
In this step number 5 make username and password for you so you can log into your amxban list and manage your amxbans pages.
And write your E-mail address. Then click on check data. Then next.
In step number 6 i advice you to save all things in this page in txt so you can back to it when forget something. Now click on finish. and click on go to AMXBANS.
Now you can see all things. And can log in with data we enter in step number 5.
Installing Plugins:
Very easy. Like any other plugin but we will edit the amxbans.cfg Follow me
Change this to 1 to load admins from users.ini
And you can discover the rest and do them as you want.
After uploading plugins and data, config folders you need to add in plugins.ini those
plugins-amxbans.ini You can enable any thing from those plugins in this file as you like.
Restart your server and go.
You read all those? Thanks for reading.
Any Problem you may face post it above.
I'll explain on linux [CentOS 6]. If you use another system it's easy to find the comands on google so don't worry and keep reading.
We will Install:
- Apache
- MySQL
- PHP
Installing Apache:
sudo yum install httpd
Then starting it
sudo service httpd start
Installing MySQL:
sudo yum install mysql-server
Then starting it
sudo service mysqld start
★Set Password for Database.
/usr/bin/mysqladmin -u root password 'Password Here'
/usr/bin/mysqladmin -u root -h Yourhostnamehere password 'Password Here'
Example my hostname Arab-Server.net then it should be like:
/usr/bin/mysqladmin -u root -h Arab-Server.net password 'Password Here'
Installing PHP:
sudo yum install php php-mysql
Then Restarting Apache (Must Restart so PHP work).
sudo service httpd restart
What i have explaind all not more than commands you give to your VPS. You can search and you will find many sites have those things and many videos that explain how this done in all systems.
My explain is a light you must go on so AMXBANS lately will works.
In brief: Whatever your VPS system is, you need to install 3 things Apache, MySQL, PHP
What will we use those programs in?
═► Apache will be used as Web Hosting Server.
═► MySQL As Database.
═► PHP Reading PHP files Which important for AMXBANS.
•Installing AMXBANS.
Download AMXBANS
After downloading extract the files then you will get 2 folders 1-Plugin 2-Web
We will work now with 2-Web and installing it first.
1-Rename Web folder to amxbans
2-Open it (amxbans) then open include folder then smarty folder then create a folder and name it templates_c
Ok now open filezella and access to your SFTP and go to var/www/html and upload amxbans folder
Now after uploading amxbans folder we will open it on filezella then open include folder then smarty folder after that we will click with right mouse button on templates_c and choose the last thing name file permissions then we will found a number we will change it to 777 and then save
Then go to http://YourVPSIPHERE/amxbans/ in any browser you will find this page
Now click on i agree and then click next.
Next step click next.
In this step we will do something like what we have done before follow me. This photo show what appears to you
You remember what we do with templates_c to make it writeable? go back and see you will do it with those folders
1-include folder (will find in amxbans folder)
2-temp folder (will find in amxbans folder)
3-files folder (open amxbans folder then include folder you will find in include folder)
4-backup folder (the same like 3)
I'll show you one example on pic.
And do the rest like this one. Ok after finishing this you need to click on Re-check.
Then you can click on next
Now we are in step number 4 the database info you will enter the following data
Host: 127.0.0.1
Username: root (Your SFTP user name)
Password: The password you set when installing MySQL (REMEMBER!)
Database: mysql
Table Prefix: amx
Then click on check access data. Then on next.
In this step number 5 make username and password for you so you can log into your amxban list and manage your amxbans pages.
And write your E-mail address. Then click on check data. Then next.
In step number 6 i advice you to save all things in this page in txt so you can back to it when forget something. Now click on finish. and click on go to AMXBANS.
Now you can see all things. And can log in with data we enter in step number 5.
Installing Plugins:
Very easy. Like any other plugin but we will edit the amxbans.cfg Follow me
// AMXBans tries to get the address from the server automatically.
// You can set a different one here - ex. "<ip>:<port>"
amxbans_server_address "your server ip here"
Change this to 1 to load admins from users.ini
// How AMXBans should handle the admins
// 0 = SQL, 1 = users.ini, 2 = load no admins
amxbans_use_admins_file 1
And you can discover the rest and do them as you want.
After uploading plugins and data, config folders you need to add in plugins.ini those
amxbans_main.amxx
amxbans_core.amxx
and disable or delete admin.amxx plugin if you don't do don't worry it will be automaticly disabled.plugins-amxbans.ini You can enable any thing from those plugins in this file as you like.
Restart your server and go.
You read all those? Thanks for reading.
Any Problem you may face post it above.
This Thread made by me Raheem For All ZPPV MEMBERS
HAVE FUN
HAVE FUN