Skip to content

Installation

zJerino edited this page May 11, 2020 · 17 revisions

To install NamelessMC, make sure you have these things:

  • A web server running PHP 5.3+, with PDO, MySQLnd, mcrypt, GD and cURL modules installed
  • A MySQL database

If you wish to use NamelessMC to it's full extent, you can also install these optional things:

Infractions plugins:

Donation stores:

Installation Guide:

  1. Download NamelessMC from here and upload it to your web server. Please note, this must be installed in the root as this is a standalone package. (make sure the web server has write access by changing file ownership to apache:apache, www-data:www-data, or www:www depending on your operating system and web server software)
  2. Load the index page in your web browser, you will be redirected to the installer.
  3. Simply follow the installation.
  4. Done! Enjoy using NamelessMC.

Video tutorial

English: https://www.youtube.com/watch?v=aTcZ8MbBixs (v1.0.15 only) Spanish: https://www.youtube.com/watch?v=UlJTeYFHzA8 (v2-pre7)

Common Problems:

Error 1

Error: The requested URL was not found on this server

Meaning:

Your Apache webserver is not configured to allow .htaccess files

Fix:

Varies depending on the server configuration, however here is a guide for Ubuntu.

Error 2

Error: SQLSTATE[HY000] [2002] No such file or directory

Meaning:

Your web server can't use the /tmp/mysql.sock file, as it doesn't exist or has no permissions.

Fix:

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock If that doesn't work, try giving your web server access to that file.

Error 3

Error: No connection could be made because the target machine actively refused it.

Meaning:

Your MySQL information is incorrect, the MySQL database is on a different server and the IP is blocked by MySQL. then there are also the possibility that the firewall is blocking it. Finally it's listening on a different IP.

Fix:

Look at your MySQL information and fix the information if there is an information error. Else try to query this in

GRANT ALL ON *.* to user@localhost IDENTIFIED BY 'password';

Where you can change the user@ip and password

Else change

localhost

To

127.0.0.1