Creating your own minecraft server. Setting up a connection to the Minecraft server without third-party applications


How to create a minecraft server? Find the answer in this article!

Today we will study create a minecraft server. There is nothing complicated about this, but each business has its own subtleties and rules that raise a lot of questions for beginners; this article will help even those who know the computer at the level of the ON/OFF button to understand.


So, the easiest way to create a server on Winodws. In order to create a server on your home computer, we need to download a special software, it is available at this link. This is the simplest and most adapted common man version. It consumes a little more resources than its console counterpart, but it’s convenient. This server build is perfect for those who decide to play minecraft with friends on local network.


To create such a server, we need to place it in separate folder(for convenience) and run the downloaded exe file. After that, the process of creating and generating a map, as well as setting the spawn location, will take about 5-10 minutes maximum.


After the creation of the kata is completed, the server will display the following message: " Done (179079161647ns)! For help, type “help” or “?”” and the server window will look like this.



A folder with a map and minecraft server configuration files will also be created in the folder. In order to do it right create a minecraft server you must understand the file and folder structure of the server.



  • Banned-ips.txt– a file in which banned IP addresses are stored. (Everyone banned from new line)

  • Banned-players.txt– a file in which banned player logins are stored. (Same rules as in banned-ips.txt)

  • Ops.txt– list of server operators. They can ban, kick players, and also create things certain commands.

  • Server.txt– server log file.

  • Server.properties– server settings file. It will be described in more detail below.

  • White-list– a white sheet, or a list of people who are allowed to enter the server (Optional if the white-list is disabled on the server, each new login from a new line).



  • Now let's understand the server.properties file.



  • level-name=world(World folder name)

  • allow-nether=true(Allow or disable nether. Allow = true. Disable = false)

  • view-distance=10(View range as standard)

  • spawn-monsters=true(Allow or disable the appearance of monsters. Allow = true. Disable = false)

  • online-mode=true(If set to true, the server is available only to license holders; if set to false, the server is available to everyone)

  • spawn-animals=true(Allow or disable the appearance of animals. Allow = true. Disable = false)

  • max-players=20 (Maximum amount players on the server. Standard 20)

  • server-ip=(IP address of the server; after the first start, you must fill in this field and restart the server. To do this, you need to find out your external IP. You can find it out using services or from your provider)

  • pvp=true(Allow or disable PVP on the server. True = allow, False = disable)

  • level-seed=(This parameter is not needed for amateurs, but who cares, if you install the same seeds on different servers, the same map will be generated, if you do nothing, a random map will be generated)

  • server-port=25565(Server ports, standard 25565)

  • allow-flight=false(Allow or disable Fly mods)

  • white-list=false(Allow or disable white-list)



  • After editing all the fields and setting the parameters that you like, you can start the server and enjoy the game. That's it, now you know how to create a minecraft server.

    Whatever one may say, a beginner cannot create a high-quality Minecraft server. Yes, he may be good, but he will be far from quality. You will have to develop the project long and hard before it becomes like this. And you may need to go through several projects before a good, unique idea appears that people will like and gather its own regular audience. Because there are a lot of subtleties and diversity in this matter, but it wasn’t created > promoted. Players are becoming more impudent and more demanding; nothing will surprise them. Competitors are also constantly fussing. New versions, new plugins, new mods are coming out. You need to keep up with the times and be aware of events.

    Newbies don't like being pushed around. After all, experience does not guarantee great knowledge and many skills, some remain stupid. You can figure it all out and create good project the first time as a newbie. And it is true.

    You can prepare very well for the launch by experimenting for a long time and in detail at home. But to check everything, we need live players. And their interests also need to be taken into account. The configuration of a home PC and a purchased server will be different, something may not work there. In general, improvements will be required after the start.

    Experience is a really important thing. If there are convolutions of the correct form, it turns into valuable knowledge and skills.

    Creating a server: action plan

    Stage 1: idea

    To do this, you will need to play on a dozen servers and read descriptions of hundreds more, chat on forums (preferably RB). To be aware of what types of servers there are.

    After that you need to come up with something of your own. In no case imitating another server!

    For example, Health Bar is popular. Moreover, they are too lazy to customize it and it looks the same on dozens of servers. We need to fix this! Or don't use it at all.

    Stage 2: idea development

    Coming up with an idea is not enough. This is just the basis, something like a slogan. In order for it to take on a finished form, it needs to be worked on. It is necessary to think through in detail the entire world of the server, all the interactions of the players.

    The economy must be especially thought out. It can make the game too easy or too difficult. Not only the desire to acquire depends on it paid service, but also love for the server, spending time on it.

    Stage 3: implementation of the idea

    Most important stage! It is here that you can turn a brilliant idea into slag and rotten meat into a masterpiece.

    Team Recruitment

    It is highly advisable to have assistants, because one person cannot do everything. Even if he doesn't study or work, it will still be difficult. There must be faithful comrades with assigned roles.

    And these should be people who will play often! Because players regularly ask for help. If no one is online, you can lose money or create anarchy.

    Creating an Assembly

    Pick up necessary plugins, customize them, translate. It will take a lot of time. After all, they all must carefully interact with each other, creating a holistic game world.

    What assembly is the same server.

    Construction

    The bigger and more beautiful the spawn, the better. There should be a lot of entertainment on it, because this is the capital of your server. At the same time, it should not be too built up and confusing: it is not uncommon to encounter such creations from which players cannot find a way out.

    Testing

    This is the moment when the assembly and buildings become full-fledged. Shortcomings are clarified only during the game. And a player familiar with the matter finds holes better than usual!

    Website creation

    Now it is fashionable to tie it with the server so that there is a single authorization. And this thing is really convenient.

    The site will have a detailed FAQ, various news, etc. helpful information. Must be detailed description servers with pictures and preferably videos.

    We also need a forum so that players can fully communicate with each other.

    Security development

    Now we need to think about security and fault tolerance. This includes: restarting the server in the event of an emergency shutdown; protecting accounts from password guessing; protection against bot attacks (special plugins, connection limit).

    Stage 4: starting the server

    The hour has come when strangers will see the server. Now it has become publicly available.

    Everything should be completely ready by the time of launch. The worst case scenario is when the assembly changes frequently. Players really don't like instability.

    You will still have to make some adjustments, the main thing is that they are minor.

    Server support

    After the server has lived its life, it needs constant care.

    Moderation

    Someone from the ruling team must always be in the game. So that such situations do not arise when no one is there all day. Otherwise, this leads to permissiveness of the players.

    The worst consequence is that good people leave. Those for whom no one helped in time or did not respond to the desire to buy a paid service. Not all of them prefer to look for other means of communication than game chat.

    Repelling attacks

    Whatever one may say, there will still be some kind of attack. Nowadays, attacks by bots are common, causing mass registration heavy load, clog the slots.

    There will be DDoS of the site and attempts to hack administration nicknames. We must be prepared.

    Constant development

    New ones coming out Minecraft versions and plugins, new ideas appear. You have to keep up with all this, otherwise the server will die. The number of antique lovers is very small.

    All players Minecraft games thought about: - “How to create a Minecraft server?” , "How to open ports on a computer?", "How to start a minecraft server?" Everyone wants to feel the power of the administration over the server players, or simply finding a suitable server to play with friends is not so easy. Since not every player can afford to rent expensive hosting for a minecraft server. we will look at options for running a server on a computer. We will discuss these and a few more questions in part in this article.

    Features of kernels for minecraft

    To run the server, the developers created server cores. They are our main part of the server, which determine the version of the server.
    We have created where the most common versions of cores for the minecraft server are located with download links from the site and a description of each core and its features. You can choose the right kernel for you.
    We will consider from the most simple kernels for the minecraft server to the most difficult.

    Description of the core for the Minecraft server

    Vanilla

    Vanilla Core- this is the very first kernel that is released after the version of the game itself is published, then assemblies of other kernels are created on its basis. You cannot install mods or plugins for Minecraft on the Vanilla core. It can be downloaded from the official website

    CraftBukkit

    CraftBukkit - aims to make it easier for developers to create plugins, since CraftBukkit can support plugins that are written only for this core.

    Spigot

    Spigot core created on the basis of the CraftBukkit core and is designed to replace the “big brother” with stability and performance as it allocates even less random access memory. In addition, all plugins written for CraftBukkit will also work on Spigot, but Spigot also has its own plugins that are not available to CraftBukkit.

    PaperSpigot

    PaperSpigot core is a third-party improvement to the Spigot core that requires even less RAM and is perfect for installing plugins on it. All plugins designed for Spigot will install perfectly on PaperSpigot.

    MCPC plus

    MCPC plus core is a server modification which, unlike its older brother (MCPC) which was created on the basis of Bukkit, MCPC plus is written from scratch, and allows you to install mods and plugins on the minecraft server without any porting.

    Cauldron

    Cauldron Core is a server modification based on MCPC plus which is created for installing both mods and plugins on the server. Minecraft is already built into it, and installing mods with this core will not be difficult. This kernel was developed by combining the efforts of the Swedish developers of server server kernels Spigot, Cauldron and Bukkit.

    Choosing a kernel for creating a server

    This is one of the most important issues when creating a server. First, you must select the version of your server, then will this server have mods, or will it only have plugins.

    For a server with only plugins, server cores such as PaperSpigot, Spigot, CraftBukkit, and of course Vanila are excellent.

    For a server with mods, you can use the Cauldron and MCPC plus kernels.

    You can find all server cores

    1) Create a folder future server and go to it.
    2) Download your chosen server core
    3) In the same folder we create Text Document, and call it starter.bat(you can name the file whatever you want, the main thing is that it has an extension .bat)
    4) Click right click mouse over the file and click "Change". It is better to use an editor to edit server files

    5) Write the value in the file -

    @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" java -Xincgc -Xmx1G -Dfile.encoding=UTF-8 -jar paperspigot-1.11.2.jar

    where paperspigot-1.11.2.jar is the name of your kernel.. Save the file

    6) Launch our created file double click left mouse button.

    The server console should appear, and after a while it should close so that you can agree to the rules EULA.

    7) Several folders have appeared in the folder with our server, we now need a file called eula.txt. Open it and change the value false on true. Then save the document and close.

    8) We launch ours again starter.bat. The console should appear and the server should boot completely.
    We write in English letters in the console stop And press Enter thereby stopping the server.

    After which the server will save all files and the console will close.

    Approximately the same folders and files will appear in the server folder as in the screenshot below.

    9) Now in the folder with the server, open our main server settings file - server.properties, and immediately change the value online-mode=true on online-mode=false, thus we will be able to access the server with pirated versions minecraft. Save the file.

    generator-settings- sets the template for generating a superflat world;

    allow-nether- determines the possibility of transition to the Lower World. By default, this setting is set to true. If set to false, then all players from the Nether will be moved to the normal one;

    level-name- the name of the folder with map files that will be used during the game. The folder is located in the same directory where the server files are located. If there is no such directory, the server automatically creates new world and places it in a directory with the same name;

    enable-query- at set value true enables the GameSpy4 protocol to listen to the server;

    allow-flight- allows flights on Minecraft world. The default value is false (flights are prohibited);

    server-port- indicates the port that will be used by the game server. Standard port for Minecraft - 25565. It is not recommended to change the value of this parameter;

    level-type- determines the type of world (DEFAUT/FLAT/LARGEBIOMES);

    enable-rcon- opens remote access to the server console. By default it is disabled (false);

    level-seed- input data for the level generator. To be able to create random worlds, this field must be left blank;

    force-gamemode- sets the standard game mode for players connecting to the server;

    server-ip- indicates the IP address that will be used by players to connect to the server;

    max-build-height- indicates maximum height buildings on the server. Its value must be a multiple of 16 (64, 96, 256, etc.);

    spawn-npcs- allows (if set to true) or prohibits (if set to false) the appearance of NPCs in villages;

    white-list- enables and disables use whitelist players on the server. If set to true, the administrator will be able to create a white list by manually adding player nicknames to it. If the value is false, then any user who knows its IP address and port can access the server;

    spawn-animals- allows automatic spawning of friendly mobs if set to true);

    snooper-enabled- allows the server to send statistics and data to developers;

    hardcore- enables Hardcore mode on the server;

    texture-pac- texture file that will be used when the player connects to the server. The value of this parameter is the name of the zip archive with textures, which is stored in the same directory as the server;

    online-mode- includes verification of premium accounts of users connecting to the server. If this parameter is set to true, only premium account holders will be able to access the server. If account verification is disabled (set to false), then any users can access the server (including, for example, players who have faked their nickname), which creates additional security risks. When checking is disabled, you can play Minecraft over a local network, without access to the Internet;

    pvp - allows or denies players to fight with each other. If this parameter is true, then players can destroy each other. If set to false, players cannot deal direct damage to each other;

    difficulty- sets the difficulty level of the game. Can take values ​​from 0 (easiest) to 3 (most difficult);

    gamemode- indicates which Game Mode will be installed for players entering the server. Can take the following values: 0 - Survival, 1-Creative, 2-Adventure;

    player-idle-timeout- inactivity time (in minutes), after which players are automatically disconnected from the server;

    max-players- maximum allowed number of players on the server (from 0 to 999);

    spawn-monsters- allows (if set to true) the generation of hostile mobs;

    generate-structures- enables (true)/disables (false) the generation of structures (treasuries, fortresses, villages);

    view-distance- regulates the radius of updated chunks to be sent to the player; can take values ​​from 3 to 15.

    10) Start the server again by running starter.bat.

    After the server is fully loaded, you will be able to log into the server. Using an IP address 127.0.0.1 or localhost. This local addresses your computer, and at this address you will be able to connect to the server that is running only from your computer.

    To make the most of your server, you need to give your nickname an OP. The easiest way to do this is to write in the running server console
    op VashNick Everything in the console is written in Latin (English) letters.
    For example, my nickname in the game SyRauk
    So in order to register the op I need to register in the console
    op SyRauk You need to write without "/" (slash)

    After entering the command, press ENTER

    The case does not matter. (You can write with either a small or a capital letter)

    Article extracted from site article

    Minecraft Admin Commands

    /clear [object number] [additional data]- Clears the specified player's inventory of all items or specific IDs.

    /debug- Starts debug mode or stops it.

    /defaultgamemode- Allows you to change the default mode for new players on the server.

    /difficulty- Changes the difficulty of the game, 0 - peaceful, 1 - easy, 2 - normal, 3 - difficult.

    /enchant [level]- Enchant an item in your hands to the level specified in the command.

    /gamemode [target]- Changes the game mode for the specified player. Survival (survival, s or 0), Creativity (creative, c or 1), Adventure (adventure, a or 2). For the command to work, the player must be online.

    /gamerule [value]- Allows you to change several basic rules. The value must be true or false.

    Rules:

    doFireTick- if false, stops the spread of fire.
    doMobLoot- if false, mobs do not drop drops.
    doMobSpawning- when false, prohibits mob spawning.
    doTileDrops- if false, objects do not fall out of destructible blocks.
    keepInventory- if true, after death the player does not lose the contents of his inventory.
    mobGriefing- if false, mobs cannot destroy blocks (creeper explosions do not spoil the landscape).
    commandBlockOutput- if false, the command block does not output anything to the chat when executing commands.

    /give [amount] [ Additional Information] - Gives the player an item specified by block ID.

    /help [page | team] ? [page | team]- Displays a list of all available console commands.

    /publish- Provides access to the world via a local network.

    /say- Shows a message in pink to all players.

    /spawnpoint [target] [x] [y] [z]- Allows you to set the spawn point for the player at the specified coordinates. If coordinates were not specified, the spawn point will be your current position.

    /time set- Allows you to change the time of day. Time can be specified in numerical value, where 0 is dawn, 6000 is noon, 12000 is sunset and 18000 is midnight.

    /time add- Adds the specified amount of time to the current one.

    /toggledownfall - Allows you to enable or disable precipitation.

    /tp , /tp- Makes it possible to teleport a player specified by name to another or to the entered coordinates.

    /weather- Allows you to change the weather to certain time, specified in seconds.

    /xp- Gives a specific player the specified amount of experience, from 0 to 5000. If you enter L after the number, the specified number of levels will be added. In addition, levels can be lowered, for example -10L will reduce the player's level by 10.

    /ban [reason]- Allows you to block a player’s access to the server by nickname.

    /ban-ip- Allows you to block a player’s access to the server by IP address.

    /pardon- Allows you to unblock the specified player from accessing the server.

    /pardon-ip- Removes the specified IP address from the blacklist.

    /banlist- Allows you to see a list of all players blocked on the server.

    /op- Gives the specified player operator privileges.

    /deop- Takes away operator privileges from the player.

    /kick [reason]- Kicks the specified player from the server.

    /list- Displays a list of all players online.

    /save-all- Forcefully saves all changes to the server.

    /save-on- Allows the server to make automatic saves.

    /save-off- Prevents the server from performing automatic saving.

    /stop- Shuts down the server.

    /whitelist list- Displays a list of players in the whitelist.

    /whitelist- Adds or removes a player to the whitelist.

    /whitelist- Enables or disables the use of a whitelist on the server.

    /whitelist reload- Reloads the whitelist, that is, updates it in accordance with the white-list.txt file (can be used when white-list.txt is modified manually).

    Even more commands for the minecraft server have been written

    How to open ports for a minecraft server

    If you have ever used Skype or torrent or creating game server on your computer, then you encountered the problem of opening ports on the router and setting up a firewall or firewall. If in the case of programs like Skype or for example uTorrent it is much simpler, since they themselves configure and open ports in automatic mode using UPNP (Universal Plug And Play) technology - Universal automatic setting network devices., and add themselves to the firewall exclusion list themselves, then setting up a game or web server requires the user to do all this manually.

    Before moving directly to practice, let's define the terminology:

    Port- application address to local computer. It is tied to the IP address of your computer and it looks something like this: 192.168.1.7:80 . IN in this case 192.168.1.7 this is the IP address, and what remains after the colon is the port, that is 80 . Ports are needed in order to determine for which program the information received from the network was intended. There are 65,536 ports in total, which is two to the sixteenth power. Some of them are reserved. For example, port 80 is used by servers to work with HTTP and port 444 is used to work with HTTPS. If you need to create your own own web server, then you will need to open both of these ports for incoming and outgoing connections. By the way, the ports are used by two TCP protocols and UDP and the difference is that TCP allows you to create a connection in which all data is checked and reaches the recipient guaranteed, without errors. And UPD transmits data without integrity checks and does not guarantee delivery, which is not entirely good. But due to unreliability UDP protocol the load on the server is reduced, so it is very often used in online games, where a lot of players play at the same time, and for transmission streaming video For example Skype program. Sometimes ports are used by viruses to remote connection and transferring user data to attacker servers, for this there are programs for filtering ports, they can be called differently Firewall, firewall, firewall, and so on. But they have the same goal - to prevent viruses from working normally, and vice versa - to do everything possible to regular programs worked correctly. For example, if your computer is connected to the Internet through a router, and this router has a firewall, and you have a firewall installed on your computer and the rules of these firewalls It is forbidden to accept and receive traffic, for example, on port 5000, then until you configure both of these filters, your program that uses this port will not work correctly.
    I hope now you understand more or less what a port is and what a firewall is used for. And now you can move on to the most interesting and useful thing, the settings.

    Video instruction.

    Information for this article was taken from the news site

    Every Minecraft player wants to play with his friends on servers, but it is very difficult to find a decent server, and you want to be the admin yourself, so you can create your own Minecraft server. We wrote this article and filmed a video in which they sorted out everything that relates to the server and after it, you are unlikely to ask the question how to create a Minecraft server on Windows.

    Video instruction:


    There are many Minecraft server cores, we will tell you about the four most popular ones.


    Vanilla- official core from the developers. Pros: Released immediately after release new version; Cons: Not many plugins; Low optimization of resource use; You will have to install Forge separately if mods are needed.


    Bukkit- Core based on Vanilla. Pros: Highly optimized compared to the standard kernel; Many written plugins from third party developers. Cons: You will have to install Forge separately if mods are needed; The project was completely closed at version 1.6.4, there is no support on the official website. Exists now along with Spigot.


    Spigot- More optimized core based on Bukkit. Pros: Many improvements over bakkit; All plugins written in Bakkit work smoothly on this kernel. Cons: For a beginner, installation may seem complicated; You will have to install Forge separately if mods are needed.


    Cauldron(previously MCPC+) - A core based on Spigot that includes Forge pre-installed. Pros: Since Forge is already pre-installed, if you want to install mods, you don’t need to install it yourself; All plugins written in Bakkit work smoothly on this kernel. Cons: New versions of Minecraft have to wait quite a long time for the build, since first the developers are waiting for the release of the updated Spigot.

    Now you need to decide for what purposes you need a server and, based on this, choose the kernel on which you will develop the server. We will show the creation of a server using the example of each core.

    1) First, download the server itself of the version you need:

    (downloads: 6707)

    (downloads: 6845)

    (downloads: 30307)


    (downloads: 233)

    (downloads: 20231)

    (downloads: 14446)

    (downloads: 799)

    (downloads: 16740)

    (downloads: 215)

    (downloads: 683)

    (downloads: 336)

    (downloads: 101)

    (downloads: 191)

    (downloads: 104)

    (downloads: 9476)

    (downloads: 7580)

    (downloads: 11945)

    (downloads: 312)

    (downloads: 178)

    (downloads: 162)

    (downloads: 169)

    (downloads: 506)

    (downloads: 205)

    (downloads: 470)

    (downloads: 3932)

    (downloads: 4478)

    (downloads: 206)

    (downloads: 267)

    (downloads: 223)

    (downloads: 1320)

    (downloads: 962)

    (downloads: 227)

    (downloads: 159)

    (downloads: 1566)


    2) Create a separate folder for the server and copy the downloaded file.


    3) Launch the server file (for a file with the *.jar extension, you need to right-click on the file -> Open with -> Java) and the console window will immediately close (* for versions above 1.6), eula.txt false on true. Save the modified file.


    4) We start the server again, wait a few seconds and see that many files have appeared in the folder, including the world folder, which means the server has started normally. But you won’t be able to log in yet (unless you have a license, of course), to log in from a pirated site, open the file " server.properties" and find the parameter " online-mode=" and change the value from true on false.


    5) You can enter the game in network game, add new server, you can use IP "127.0.0.1" (Without quotes) or "localhost".



    1) Download the server version you need:

    (downloads: 35987)


    (downloads: 231)

    (downloads: 18320)

    (downloads: 13919)

    (downloads: 702)

    (downloads: 1265)

    (downloads: 14882)

    (downloads: 562)

    (downloads: 217)

    (downloads: 8387)

    (downloads: 6813)

    (downloads: 385)

    (downloads: 175)

    (downloads: 381)

    (downloads: 180)

    (downloads: 249)

    (downloads: 6427)

    (downloads: 6085)

    (downloads: 230)

    (downloads: 348)

    (downloads: 1748)

    (downloads: 1533)

    (downloads: 145)

    (downloads: 1685)

    (downloads: 299)

    (downloads: 254)


    2) Create a separate folder for the server and copy the downloaded file there. Create a file start.bat(The simple .txt file must be renamed with the extension start.bat) with the following content:
    @echo off
    java-jar spigot.jar
    pause

    Download this file, if you don’t understand exactly how to create:

    (downloads: 90592)

    2.1) Next, copy this file to the server folder.
    Attention: Be sure to replace the line in the file spigot.jar to your server name, for example spigot-1.8.8-R0.1-SNAPSHOT-latest.jar !
    To edit a file start.bat, you need to: right-click -> "Edit".


    3) Launch our " start.bat", you should see the following (* for server versions higher than 1.6):


    A couple of new files have appeared in the server folder, we are interested in " eula.txt", which you need to open and change the value false on true. Save the modified file.
    What kind of file is this? This Terms of use between Mojang and you, by setting the value to true you agree to all the terms of this agreement.


    But you won’t be able to log in yet (unless you have a license, of course), to log in from a pirated site, open the file " server.properties" and find the parameter " online-mode=" and change the value from true to false.


    What kind of online-mode parameter is this? He is responsible for checking the license of the player trying to connect to the server; if the player logs in from a pirated client, the server will not let him through.

    5) Go to the game, to the network one, add a new server, entering as IP - " localhost" (Without using quotation marks).


    1) Download the version of the server on which you want to play:

    (downloads: 206232)

    2) Unpack the downloaded archive into a separate folder.

    3) Run the file start.bat and you will see the following (* for version above 1.6):


    A couple of new files have appeared in the server folder, we are interested in " eula.txt", which you need to open and change the value false on true. Save the modified file.
    What kind of file is this? This is a user agreement between Mojang and you, by setting the value to true you agree to all the terms of this agreement.

    4) Start the server again. We wait for the launch to complete and see the word “Done” at the end, which means everything is ok.

    I probably wouldn’t have written a single article on this topic if it weren’t for too frequent requests to tell how to make your own server for a website. That is turn ordinary home computer to the server, where you can host your websites and where people from anywhere in the world can access. This task is very difficult, but I will try to briefly describe the procedure.

    Before you think about your server, you need to understand whether your computer satisfies minimum requirements? Here is their list:

    • Static IP. It depends on the provider, as a rule, they require static IP address money.
    • Good speed . The minimum permissible speed is 10mbps. I can safely say that such a speed is this moment- this is a rarity even for Moscow, I’m already silent about the regions where they still often use modems. In general, the norm is 100mbps, which only a few have, and even in Moscow is very, very expensive.

    From these two requirements it becomes clear that it will be cheaper and easier to rent physical server . This is what I always write about to all those who want.

    But for those who do not want to entrust server maintenance to others and for whom both requirements are met, for those I will write what needs to be done:

    1. Install Unix system. For example, Linux. Indeed, it is possible to Windows do everything, but I would recommend it Unix system for the server.
    2. Install Apache. About installation Apache There's plenty of material on the Internet. There is nothing complicated in the installation: download the archive, unpack it using command line and then run the installation (again via the command line).
    3. IN /etc/httpd/conf/httpd.conf(configurations Apache) you need to write: listen 80:Your_IP.
    4. Open port 80 to enter the Firewall. How to do this depends on the specific OS, which you choose.

    Now when you enter address bar: http://your_ip, - must open Apache. You can also change the root directory for sites in httpd.conf.

    If you want the site to be accessible not only via IP, but also by domain, then you need to raise DNS.

    You can also install more PHP and MySQL, and PHPMyAdmin. If you plan to have access from another computer, you will also need FTP server.

    Installing each of these elements is a separate article, and quite a large one at that. Therefore, think again whether you really need create your own server for the site? If yes, then look at the sequence of actions from this article and, using search engine, learn more about each stage and put it into practice.

    And, finally, do not forget that the computer must always be turned on, otherwise your sites will be inaccessible.





    

    2024 gtavrl.ru.