Difference between revisions of "Installation:website"

From NeutronAdmin
Jump to: navigation, search
(Перевод на русский язык)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=== Installing NeutronAdmin's web portion ===
 
=== Installing NeutronAdmin's web portion ===
  
* Выложите файлы "Web files" в файле neutronadmin-complete.zip в директорию на вашем Веб-хостинге, /admin, /apanel, /panel, или /neutronadmin. Это ваш выбор и повилияет это только на вашу сслыку,к примеру "ww.yourdomen.com/webadmin/index.php".
+
* Drop the files from "Web files" in the neutronadmin-complete.zip into a directory on your webserver, preferrably /admin, /apanel, /panel, or /neutronadmin. It's your choice, but you want to make the panel easily accessible for all your admins / moderators.
*В файле config.php измените данные на вашу Mysql базу.
+
* Configure the config.php file to match your MySQL database credentials
 
* On your webhosts controlpanel you need to whitelist all your Garry's Mod servers' IPs in "Remote MySQL connections", if you're using NFO this is done by ticking "Allow external connections"
 
* On your webhosts controlpanel you need to whitelist all your Garry's Mod servers' IPs in "Remote MySQL connections", if you're using NFO this is done by ticking "Allow external connections"
* Сейчас идите на ваш домен,пример которого был приведён выше.
+
* Now navigate to http://yourdomain.com/neutron/ or wherever you installed it and append install.php to the URL.
* Заполните строки установки.
+
* Fill in the installation form
  
 
===== Blank Page (Redirect Error) =====
 
===== Blank Page (Redirect Error) =====
If you get redirected to a blank page, you haven't followed the steps above or you have to contact us via [[nmscripts.com]]. This could happen on XenForo and Hostinger website hosting.
+
If you get redirected to a blank page, you haven't followed the steps above or you have to contact us via [[gmodstore.com]]. This could happen on XenForo and Hostinger website hosting.
  
 
====== Windows ======
 
====== Windows ======
Этот шаг только для Windows!
+
The next step is for Windows only!
* Создайте cache/auto файл
+
* Create the cache/auto folder
* Правой кнопкой по ней -> Properties -> Security and make дайте разрешение писать всем пользователям.
+
* Right click on it -> Properties -> Security and make sure guests have access to write to the directory
  
 
====== Linux ======
 
====== Linux ======
* Создайте cache/auto файл
+
* Create the cache/auto folder
* Правая кнопка по файлу cache/auto в filezilla/WinSCP и дайте 0777 chmod разрешение.
+
* Right click on the cache/auto folder in filezilla/WinSCP and give it 0777 chmod permissions
* Правая кнопка по cache библиотеке в filezilla/WinSCP и дайте 0777 chmod разрешение ''recursively''
+
* Right click on the cache folder in filezilla/WinSCP and give it 0777 chmod permissions ''recursively''
 
* (Alternatively just run the SSH command ''sudo chmod 0777 cache/* ''whilst in the Prometheus working directory)
 
* (Alternatively just run the SSH command ''sudo chmod 0777 cache/* ''whilst in the Prometheus working directory)
'''Both'''(Альтернатива,запустите команду SSH ''sudo chmod 0777 cache/* '' на дериктории.)
+
'''Both'''
  
Если страница Error,пожалуйста найдте PHP error log и отправьте нам [[nmscripts.com]] сам error log.  
+
If the blank page issue persists, please find a PHP error log and submit a ticket over at [[gmodstore.com]] with the error log. It's likely you are missing a depdendency.
Это, скорее всего, вам не хватает depdendency.
+
  
'''Done'''
+
=== IF YOU USE NGINX (VERY IMPORTANT) ===
  
 +
Make sure to make your cache folder inaccessible to the public through nginx.conf or your website's config. You can do this by adding a new location block:
 +
 +
<pre style="color: red">
 +
location ~ /path/to/neutronadmin/cache {
 +
        deny  all;
 +
}
 +
</pre>
 +
 +
'''Done'''
  
Вы установили веб-часть NeutronAdmin в. Переходите к разделу Установки [[Installation:lua|lua part]]
+
You have now installed NeutronAdmin's web part. Move on to installing the [[Installation:lua|lua part]]

Latest revision as of 19:08, 5 January 2020

Installing NeutronAdmin's web portion

  • Drop the files from "Web files" in the neutronadmin-complete.zip into a directory on your webserver, preferrably /admin, /apanel, /panel, or /neutronadmin. It's your choice, but you want to make the panel easily accessible for all your admins / moderators.
  • Configure the config.php file to match your MySQL database credentials
  • On your webhosts controlpanel you need to whitelist all your Garry's Mod servers' IPs in "Remote MySQL connections", if you're using NFO this is done by ticking "Allow external connections"
  • Now navigate to http://yourdomain.com/neutron/ or wherever you installed it and append install.php to the URL.
  • Fill in the installation form
Blank Page (Redirect Error)

If you get redirected to a blank page, you haven't followed the steps above or you have to contact us via gmodstore.com. This could happen on XenForo and Hostinger website hosting.

Windows

The next step is for Windows only!

  • Create the cache/auto folder
  • Right click on it -> Properties -> Security and make sure guests have access to write to the directory
Linux
  • Create the cache/auto folder
  • Right click on the cache/auto folder in filezilla/WinSCP and give it 0777 chmod permissions
  • Right click on the cache folder in filezilla/WinSCP and give it 0777 chmod permissions recursively
  • (Alternatively just run the SSH command sudo chmod 0777 cache/* whilst in the Prometheus working directory)

Both

If the blank page issue persists, please find a PHP error log and submit a ticket over at gmodstore.com with the error log. It's likely you are missing a depdendency.

IF YOU USE NGINX (VERY IMPORTANT)

Make sure to make your cache folder inaccessible to the public through nginx.conf or your website's config. You can do this by adding a new location block:

location ~ /path/to/neutronadmin/cache {
        deny  all;
}

Done

You have now installed NeutronAdmin's web part. Move on to installing the lua part