Free Windows VPS 2024 - How to Set Up a FiveM Server
In this tutorial, I'll guide you through obtaining a free VPS (Virtual Private Server) and setting it up to host a FiveM server. We'll cover both a one-day and a seven-day trial plan, which can be extended or renewed as needed. Follow the steps below carefully to ensure a smooth setup process.
Step 1: Creating a VPS Account
Access the VPS Service Website:
- Go to the CPS Server website.
- Click on the green button that says "Start VPS Trial."
Sign Up:
- Fill in your details to create an account.
- Verify your email address by clicking the activation link sent to your inbox (check your spam folder if you don’t see it in your primary inbox).
Step 2: Setting Up the VPS
Login to Your Account:
- Once your account is activated, log in to the CPS Server website.
Create a VPS:
- Choose a server location closest to your desired region (for Europe, choose Amsterdam).
- Select the operating system. For this tutorial, we'll use Windows Server 2019 (you can also choose Windows Server 2022 for the latest features).
Select VPS Specifications:
- For a free trial, select the plan with 8 GB of RAM, 8 CPUs, and 160 GB of storage.
- Click on the next step and proceed without changing any default settings.
Confirm Trial Period:
- Choose the 7-day free trial option (if available). If prompted, you might need to pay a small amount (e.g., one cent) to activate the trial.
Wait for VPS Creation:
- The VPS creation process may take up to 20 minutes. You will receive an email with the VPS details once it's ready.
Step 3: Connecting to the VPS
Remote Desktop Connection:
- On your Windows PC, search for "Remote Desktop Connection" and open it.
- Enter the VPS IP address provided in the email.
Login Credentials:
- Use the username and password provided in the email to log in.
- If you haven't received the password, check the VPS management dashboard for the default credentials.
Step 4: Configuring the VPS
Initial Setup:
- Once logged into the VPS, disable Internet Explorer Enhanced Security Configuration to allow downloading necessary files.
- Download and install Google Chrome or your preferred browser.
Installing Required Software:
- Download and install XAMPP for the web server environment.
- Download and install Visual Studio Code for editing configuration files.
Step 5: Setting Up the FiveM Server
Download the FiveM Server Base:
- Join the Discord channel provided in the tutorial description to download the free SX base for FiveM.
Prepare the Server Files:
- Extract the SX base files to a folder on your VPS.
- Open the
server.cfg
file in Visual Studio Code and configure it according to your server specifications.
Step 6: Configuring FiveM Keys and Database
Obtain a FiveM Server License Key:
- Go to FiveM Keymaster.
- Log in and create a new key for your server. Copy this key and paste it into your
server.cfg
file.
Configure the Database:
- Open XAMPP and start Apache and MySQL services.
- Go to
http://localhost/phpmyadmin
in your browser. - Create a new database and import the SQL file provided in the SX base.
Step 7: Running the FiveM Server
Set File Paths:
- Ensure that the file paths in
run.bat
or equivalent startup script match the locations of your server files.
- Ensure that the file paths in
Start the Server:
- Double-click on the
run.bat
file to start your FiveM server.
- Double-click on the
Conclusion
You have now successfully set up a free VPS and configured it to host a FiveM server. This VPS can be used for various purposes, such as running a website or testing applications safely. If you have any questions or need further assistance, leave a comment or join the Discord server linked in the tutorial description. Enjoy your new server setup!
Nenhum comentário:
Postar um comentário