How to install L2j on linux?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
elmarkivo
Posts: 34
Joined: Sun Mar 11, 2007 4:12 pm

How to install L2j on linux?

Post by elmarkivo »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

hi, i'm trying to move my server to Debian, but i'm having some problems with JDK, i wonder if anyone have a HOW TO or know some about installing l2j on debian.
if the how to is for x64 architecture better!

Thanks
User avatar
elmarkivo
Posts: 34
Joined: Sun Mar 11, 2007 4:12 pm

Re: How to install L2j on linux?

Post by elmarkivo »

thanks for the reply, it help a lot!.
Kedon
Posts: 34
Joined: Sat Aug 02, 2008 9:41 am

Re: How to install L2j on linux?

Post by Kedon »

i install it in 6 Steps. Don't know if there is a bether way but works fine :)

1 Download

Link 1 : jre 6 Update 14
Link 2 : jre 6 Update 14 64x

1. command: wget link
2. command: chmod u+x file ( chmod u+x jre-6u14-linux.bin )
3. command: start the file ( ./jre-6u14-linux.bin )

after this i move the package to /usr/lib/

4. command: mv jre1.6.0_14 /usr/lib/
5. command: update-alternatives --install /usr/bin/java java /usr/lib/jre1.6.0.14/bin/java 100
6. command: update-alternatives --config java

Enter the Number where the java version "1.6.0_14" is and DONE !
If you are not sure write: java -version to see wich version u use currently

So hope this can help some newb`s :)

and ps: Google Power :P
ha0ck
Posts: 7
Joined: Mon Jul 20, 2009 9:59 am

Re: How to install L2j on linux?

Post by ha0ck »

Hi all,

Lolz, i know this post is a "little" old. I was wondering if there is any specific reason you guys used the debian linux distro? I'm almost sure i can use any linux distro within reason, as long as i have the support of Java & SQL included.

I've been looking into virtualisation and i have a Fedora virtual pc setup and yes it's running in a GUI mode (and i do know full well how to boot up without the GUI to cut resource use down)

I guess my questions here are:

Which linux distro's have you guys found are compatitble with L2J?

&

Of these what is the better linux distro to use? (i.e. Benefits)

Thanks for your time

ha0ck
User avatar
rocoder
Posts: 66
Joined: Thu Feb 04, 2010 8:52 am

Re: How to install L2j on linux?

Post by rocoder »

qwll, if you bother a little. you will notice that any Linux is compatible with Java and MySQL, so this is not the problem. Anyway I recommend you Debian or CentOS, Fedora is ok too.
Image
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install L2j on linux?

Post by Vapulabe »

Any linux distro is compatible as the tools are available for all linux distro...

From my own experience :

1) Expert in Linux
You know the place for all config files, already created your own sendmail.cf file, the shell is your second language,...

A good choice is Debian. You may do a text-mode only install, with only the minimal needed services. Debian is free, complete and updates are good. You may even set it up to stable/... instead of woody/..., lenny/..., and so on. this means that when a new distribution will be out, you'll be automagically upgraded to it...

You install the needed services one by one, tweak them, ...

2) Good Linux knowledge
You can use the shell and are not afraid with the command line. tools like wget are your best friends

Good choices will be Fedora, Debian, Mandriva, Ubuntu, ... About any distribution will be fine. You won't probably tweak your config for best performance. Be sure that the hardware is supported by your distribution

3) Nearly no linux knowledge
Then, the best move is to install Mandriva + PLF and use the graphic tools. If you can afford the Mandriva Powerpack DVD, it's even better although you won't need the extra tools.
a) install a basic mandriva (x11+mozilla+a simple Window Manager (I'd recommand WindowMaker which is user-friendly and light on it's memory use. else, gnome looks like a good choice)
b) surf to http://plf.zarb.org -> packages -> easyUMPI
c) under root account, remove all media sources (urpmi.removemedia -a) then use easyURPMI to add main, contrib, plf-free and plf-nonfree
d) install what you need


With Mandriva, you'll have available packages for SVN, MySQL, Apache+PHP+PHPMyAdmin, Java (both JRE and JDK) and a small console tool called "Midnight Commander" (mc) which looks like Norton Commander for Dos.
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: How to install L2j on linux?

Post by ThePhoenixBird »

Maybe someone could write a good "How to L2j on Unix?" guide to the Wiki
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install L2j on linux?

Post by Vapulabe »

If you want, I may help... I can write part common to all unixes (Linux/*BSD) and part specific to Debian and Mandriva (I use Mandriva on the computer on which I run L2J and my main server is a Debian)
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: How to install L2j on linux?

Post by ThePhoenixBird »

Vapulabe wrote:If you want, I may help... I can write part common to all unixes (Linux/*BSD) and part specific to Debian and Mandriva (I use Mandriva on the computer on which I run L2J and my main server is a Debian)
http://www.l2jserver.com/wiki/Setup_Server_-_Linux

Linux page could be in General for all unix based systems, also OS specific pages could be created just like this: viewtopic.php?p=82295#p82295 as reference for a Ubuntu specific install
ha0ck
Posts: 7
Joined: Mon Jul 20, 2009 9:59 am

Re: How to install L2j on linux?

Post by ha0ck »

Hey guys,

Thanks for the quick responses :D

ThePhoenixBird, I totally agree, it would be greatly beneficial for L2J to provide a tutorial for installations on a unix platform. It could also help sort out some of the basic questions people have when they claim they have "set up" thier server, but are incuring problems. As we know, the start key to any server running well is a good stable installation process.

Vapulabe - Thanks for the guidance, i guess i was being cautious first to avoid any major incompatibillities. I've used unix in the form of Fedora, Madriva, CentOS & a little Ubuntu. As for getting around and working in these OS, i've been fine and can handle basic tasks. I've also done a fair bit of BASH shell scripting, so i can strip an OS down to it's core services.

I'm sure setting up the server won't be a major issue, managing it however i'm more concerned about. I'm looking at constructing a basic server management script to manager the stripped down unix OS, the core services and the L2J server (SQL and a config file editor), to sit front end and be an easy menu driven console script a remote user can drop into via SSH. For simplicity purposes i will probably start either on CentOS or Mandriva. And of course once i've got a resonable working version i'll release it.

Do let me know if you'd like a video demonstration of a given Unix OS setup being created. I'm more than happy to contribute.

Ha0ck
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install L2j on linux?

Post by Vapulabe »

I''d recommend the Mandriva... Great wizards (the Mandriva control center), and with PLF packages, very complete (PLF holds all the sensitive packages like patent-encumbered, P2P, emulators, freely downloadable but not freely redistributable, ...)

It's mostly in server (computer) administration that the distribution will help you as the L2J-related tasks will be the same...
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install L2j on linux?

Post by Vapulabe »

Started the Linux page... Still have lots to write but it's late and I definitively need some sleep (busy week at work)
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install L2j on linux?

Post by Vapulabe »

Any general advice about L2J configuration under Linux (changed options for example) ?

I plan to continue editing the wiki page this week-end...
User avatar
qwerty13
Posts: 640
Joined: Mon Feb 02, 2009 9:57 am
Location: Europe
Contact:

Re: How to install L2j on linux?

Post by qwerty13 »

Here is video tutorial how to install l2jserver on ubuntu:
http://79.124.110.37/files/ubuntu_tutorial.rar

pass: l2js
Post Reply