Jump to content

Recommended Posts

Posted

This is tutorial about running greenhope l2j server pack on linux machine.

After following this tutorial you will have dedicated Lineage 2 C3 server.

I want to say if someone find some bugs, or mistakes please notify me.

Im also apologize for my english, but its not my native.

Attention this tutorial is not finished. It will be in next few hours.

table of contents

1. collecting tools

2. installing software

3. seting up network

4. services

5. accounts

6. preparing for starting server

7. last things

8. security

I think that you have two machines: a server and your PC with a game connected by network.

 

1. First collect all necessary tools.

A linux distro, choose what you want:

RedHat Fedora Core - http://fedora.redhat.com

OpenSuse Linux - http://www.opensuse.org

Mandriva - http://www.mandriva.com

and others...

if you want more look at: http://distrowatch.com

I think u are able to install linux, if not there are a lot of guides how to do this.

Sugest visit above links for appropriate distribution.

phpmyadmin - http://www.phpmyadmin.net

greenhope server pack - http://forum.ragezone.com/f113/how-to-make-a-c3-server-in-5-minutes-70987/

heh a windows system for unpack server pack (exe)

i think it could be usefull : Total Commander http://www.ghisler.com (yes for windows)

 

2. Select software what we need to install (during linux installation)

Almost programs or tools are included in linux distribution.

TIP: these packages will be installed when you choose Server type setup.

- httpd - aka Apache - its a web server, (not necessary but very usefull)

- mysqld - MySQL server - you really need it

- webmin - very usefull tool - with it you can manage your server remotely throw web page

- iptables - if you have some hack problems - this is very good firewall

- sshd - you can control ypur machine remotely but only in shell

- mc - check this it should be installed - its like old norton commander :P

Please dont install X-Window system, nor K desktop env. or gnome

 

3. So we have working linux operating system

After booting your system u will see:

code:

localhost login: (type here 'root')

password : (write pass what you enter during installation)

 

now we have prompt

code:

[root@localhost:~]#_

 

during installation you should configure your network cards so check the connection:

write this:

Code:

ping google.com [enter]

 

if you have message : network is not unreachable - you dont have properly configured it.

but check your connection with your PC :

code:

ping (your ip here) [eneter]

 

you should see something like this

code:

PING 10.1.9.9 (10.1.9.9) 56(84) bytes of data.

64 bytes from 10.1.9.9: icmp_seq=0 ttl=128 time=0.408 ms

64 bytes from 10.1.9.9: icmp_seq=1 ttl=128 time=0.584 ms

64 bytes from 10.1.9.9: icmp_seq=2 ttl=128 time=0.398 ms

64 bytes from 10.1.9.9: icmp_seq=3 ttl=128 time=0.764 ms

64 bytes from 10.1.9.9: icmp_seq=4 ttl=128 time=0.416 ms

 

now pres CTRL+C

Code:

--- 10.1.9.9 ping statistics ---

5 packets transmitted, 5 received, 0% packet loss, time 4001ms

rtt min/avg/max/mdev = 0.398/0.514/0.764/0.142 ms, pipe 2

 

4. setup your services

in fedora type setup and choose services (or somethig simmilar)

and check this servises: httpd, iptables, mysqld, network, sshd, vsftpd (or sth. else), and if you installed webmin

press OK and exit.

in suse its tool named yast, and in madrake its drakconf

use that tool what you have.

5. adding users.

default we have one account what we can use its root, but its not very security.

So we create a special account for our server,

in promt write:

Code:

adduser l2jserver

 

now set a password for this:

code:

passwd l2jserver

 

now type it two times.

Why creating a user for server? If someone could hack our server, (i think in java it is not possible) take a control of our server (not only l2j but whole machine) but what can do if server only have rights to connecting players, operating and using database?

Now we have our user with will run server.

greenhope created some install scripts for win32 platform (studying greenhope's bat files can learn a lot), so some ppls dont know what to do step by step, so we need to create a special user in MySQL database.

let's go:

code:

mysql --user=root mysql

 

if it will return access denied write this:

code:

mysql --user=root mysql -p

 

and type your root password

now we are in mysql command shell

type this:

code:

GRANT ALL PRIVILEGES ON *.* TO 'l2jserver'@'localhost' [enter]

IDENTIFIED BY 'your_password_for_this user' WITH GRANT OPTION; [enter]

exit [enter]

 

6.

so we are prepared for running server, but we need java runtime enviroment.

You can download it from java.sun.com - need linux version of course.

please download files named jre-1_5_0_05-linux-i586.bin

now if you download this in your windows PC you can upload this file using Total Commander

choose FTP and type IP of server and as accoun name type l2jserver and your very secret password.

and send this file.

Now we install java.

as root (if we are root we see in prompt '#')

we can connect to server using putty terminal. http://www.chiark.greenend.org.uk/~s.../download.html

now after login run mc (just type mc in promt)

using UP and DOWN arrow and Enter navigate to place where you uploaded java installer.

press enter when you find this file, after that you will se two options, select one : INSTALL

after some time you can check if java is installed.

just type java, maybe you will need relogin.

So almost all things are done.

Very easy operation unpack greenhope's server pack, and pack it again with Total Commander using tar, and again (this tar) pack it with gzip.

u should have file simmlar server.xxx.tar.gz !

Uplad this file with TC or any other FTP client. An unpack it with mc.

After unpacking it (in directory eg. /opt ) u will have a identical directory structure like on windows.

We are interested in directory : l2j

 

I Hope I helped you

 

Credits To kobeshoot

Posted

What???Spammer Just press Prin Screen SysRq and then it asks save or not

Post is c/p you dont have idea of linux and you just post it is little difficult?

Posted

What???Spammer Just press Prin Screen SysRq and then it asks save or not

Post is c/p you dont have idea of linux and you just post it is little difficult?

 

wtf? 1st if its c/p like you say where is the prob? I wrote that i make it alone? 2nd you are the spamer because you send junk posts 3rd Who said to you that i dont know about linux? 4th Look my posts and tell me if I need to spm

5th I want to help people who dont know it if you know about this topic post a better

 

plz stop the spaming

 

/is off

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Lineage2 Freya High Five @ Reshade with fog and rain etc @ Gracia final epilogue atmosphere   this reshade will eat lots of GPU power 50% or more of an RTX 3060 so be carefull depending on what effects are activated and their settings will eat even more GPU recomended 60hz monitor settings and via nvidia panel in Lineage2 game profile vsync settings to on effects are set up till film deck and the rest are not used but still working again this can eat alot of GPU Don't overheat GPU this is for freya high five but might work on others too copy in the  System  folder the folder  reshade-shaders  and the files  d3d9.dll  ReShade.ini  ReShadePreset.ini  ReShade.log  CccDddCcc.ini insert opens the menu and delete is on and of some settings need  ctrl + left click  to be changed   making another profile will reset the not activated effects to their default values so just copy the profile  CccDddCcc  and rename if needed also something needs to be closed from settings in game menu, the blur at distance and advanced shaders but keeping the advanced water effects all reflections   for those that don't like the h5 look of the sky and the red fog and rain and ambien red at night on all maps well if we want the cool gracia final epilogue back then we need to do this rename the  Maps  folder to Mapsretail or whatever copy the  Maps  folder from gracia final epilogue to h5 also we need the  L2_Skies.utx  from gracia final epilogue  Textures  folder to be replaced and also we need to do the same to the files  timeenv0.int  timeenv1.int  timeenv2.int  timeenv3.int  found in  system  folder   another setting that will probably be needed but not really tested out is to open file  option.ini  from  system  folder and add cachesize like this   [FirstRun] FirstRun=2   [Engine.GameEngine] CacheSizeMegs=512   also maybe is good to change those to 4.000000   [ClippingRange] Terrain=4.000000 Actor=4.000000 StaticMesh=4.000000 StaticMeshLod=4.000000 Pawn=4.000000       sorry bad english   https://mega.nz/file/aRNXxDrQ#mbxrNERBtW0XEEezK6w8-86oZWuX1k6NgtR6RZWKRVM   the compression on the video is kinda bad but meh    
    • Thanks, tho if possible let's lock the topic. I decided to finish up myself as I only created this to save up my time, but seems that while waiting for prop dev. finished myself.
    • Plus he have Discord where using Celestine, Nightwolf and others names to ensure that he is legit, what a looser, that's why mxc have bad reputation, coming here is like 50/50 get scammed.
    • Greetings, MaxCheaters community! We are the development team behind projects like AdenLand, Classic GvE, TinyEssence, PvPEssence, and several others. Over the years of managing high-traffic servers, we’ve built our own ecosystem of tools for datapack and client editing, simply because standard software often failed to meet our production needs or was too slow. Today, we are opening access to these professional solutions for our colleagues in the dev scene. You can explore our suite of editors and utilities here: 👉 https://la2.tools/ Why choose our tools? Battle-Tested: This software is used daily to maintain and update our own live projects. Efficiency: Designed to automate routine tasks that usually take hours or even days. Stability: Built to handle complex client/server structures where generic tools often crash. We are ready to provide consultations on integrating these tools into your development workflow to make your process faster and more secure.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..