Lineage 1 Private Server Setup May 2026
Review: Lineage 1 Private Server Setup
Step 7: Create the startup script
Create a script to run the server with adequate memory:
sudo nano /opt/run_l1j.sh
Paste this:
#!/bin/bash
cd /opt/l1jserver
java -Xms512m -Xmx2048m -cp "libs/*:build" l1j.server.Server
Make it executable:
chmod +x /opt/run_l1j.sh
2. Managing the database (phpMyAdmin or Adminer)
Install a lightweight web interface for your SQL database: lineage 1 private server setup
sudo apt install apache2 php php-mysql -y
cd /var/www/html
wget https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1-mysql.php
mv adminer-4.8.1-mysql.php index.php
Now visit http://your.server.ip/index.php – log in as l1juser to edit NPC shops, spawn lists, item stats, and more.
Step 8: First launch and login server
Lineage 1 architecture has two components:
- Login Server (handles authentication, port 2106)
- Game Server (handles gameplay, port 2000)
Most L1J packages integrate both. Start the server: Review: Lineage 1 Private Server Setup Step 7:
cd /opt/l1jserver
./run_l1j.sh
You should see output like:
[LoginServer] Listening on 0.0.0.0:2106
[GameServer] Loading zone 0...
[GameServer] World loaded in 12.3 seconds.
[GameServer] Server ready for connections.
Do not close this terminal. For production, use screen or tmux:
sudo apt install screen -y
screen -S lineage
./run_l1j.sh
# Press Ctrl+A then D to detach
To reattach: screen -r lineage
7. Community and Player Management
- Website and Forum: Consider setting up a website and forum for your community to gather, report bugs, and get support.
- Rules and Regulations: Establish clear rules and guidelines for your server.
Features
Allow.Pet = true Allow.TeleportToGm = false AutoRestartTime = 240 # minutes (4 hours)
2. System Requirements & Architecture
Setting up a Lineage 1 server requires a fundamental understanding of client-server architecture typical of late-1990s MMORPGs. The system generally relies on a Login Server, a Game Server, and a Database Backend.