Hardware support

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
sharpshoot3r
Posts: 12
Joined: Thu Jan 18, 2007 11:33 pm

Re: Hardware support

Post by sharpshoot3r »

Well guys, I purchased Intel Core2Duo on 2.6GHZ and Gigabyte motherboard with 2x2GB of Memory . For now its working good (with a good cooling) . Actually I can manage Linux (I have 1 year of experience), but I've chosen Windows Server 2003.

Thank you for the useful replies.
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: Hardware support

Post by Sirpaypi »

Dude Linux is not a monster, its a small kitty who need some love and patience.
That why i advise you to take a DEBIAN LENNY x64, easy to use and maybe to learn.

Well i'll give the most of them here :
Log by using Putty to your SSH before :P .

Code: Select all

 aptitude updateaptitude full-upgradesudo aptitude install apache2 apache2-docsudo aptitude install php5 libapache2-mod-php5 php5-mysql php5-gd libmysql-javasudo aptitude install mysql-server-5.0sudo mysql_secure_installationsudo aptitude install phpmyadminsudo aptitude install sun-java6-jresudo aptitude install subversionsudo aptitude install munin munin-node (Optional) 
This isn't enough for you, but i've showed you just the meaning of Linux & the full commands you will use to set up your machine. After that the real work will come "shmod, ./*.sh/screen -S/-r , cd ~" and some other so don't be lazy ass and start to learn.

(I advised you because i m a lazy ass, don't be like me... :roll: )
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Hardware support

Post by Lee »

ThePhoenixBird wrote:
Lee wrote:
ThePhoenixBird wrote:Best OS for L2j =================> Any flavor of a Linux based OS

Fedora, Debian and Ubuntu in x64 versions are also perfect. High Security and Awesome performance.
Well yes, but some people like me has no idea how Linux works. You get only SSH and FTP access to the pc.. this means PuTTy which is command line and most of the newbie srv admins don't know how to manage it.
I dont want this to sound like im mocking on you but... there doesnt exist "newbie server admins"

Or you are a complete Server Admin or you are just a wannabe, you cant mix "newbie" + "server admin" because horrible things happens, you can lose a finger or two! KIDS DON'T TRY THIS AT HOME, SERIOUSLY!

L2j wasnt really made for newbie server admins, since you have to learn how to setup correctly a java compiling environment, use SVN, setup a SQL server, and be able to work with software that its updated daily. This is just a part or what a Server Admin does on this day to day.

You can use a Windows 2008 Server x64 for your machine, but if you dont actually know how to manage it, then its like the same to be on a SSH console without no clue of what to do.

I would suggest you all to learn a bit of Linux for your server behalf, using SSH and SFTP isnt that hard when you have the correct tools (PuTTy & WinSCP) and a handy google search box on your side.
I mentioned myself there too. I didn't say im an experienced dev or so like the others who think that when they know all gm commands they know everything about l2j.

I believe that enough guides explains that.. How to setup a L2J/sql server/java and everything else...
And most of the "admins" out there just use public svn&trac like assembla.. Then comes the "OMG MY SRV LEECHED HOW???".

Windows is much more easier to manage since its not with a SSH access, but with an interface (Remote control).
When I open a SSH console I feel like I just.. nothing im lost and I dont even know what to type to run L2J or install it lmao.

Maybe someday IF i need linux I will learn it, but for now im good with Windows and with his lacks of protection it has.. Like this lame l2j attacker which sends packets to srv which fail to read and displays a loooong hex shit, but not only.. It sends ping ICMP packets too which cause your server to STILL lag, but on Linux afaik you can just fix this by a simple ip table or whatever it was called.

I didn't take your words a harm, but as a lesson to me.
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: Hardware support

Post by ThePhoenixBird »

If usign a black command screen is a problem, you can always install VNC and remotely log in to your Linux server and see a nice your nice desktop and work with it just like you do on Windows.
nekys
Posts: 85
Joined: Mon Dec 17, 2007 1:18 am

Re: Hardware support

Post by nekys »

Recommended for 500-1500 players:
4 -to- 8Gb RAM.
Dual Core -to- Quad Core, any speed.
2 Hard Drives, 1 for server+OS and 1 for MySQL datafiles.

Simple and cheap. You can find many hosts offering these on low prices (like Hetzner).

Don't forget:
Configure your java startup triggers to make proper garbage collection.
Optimize your MySQL config.

If running linux, you may try MySQL Tuner...

You do not need multiple machines to seperate database server and gameserver... This is a major lie.
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Hardware support

Post by Lee »

nekys wrote:Recommended for 500-1500 players:
......Don't forget:
Configure your java startup triggers to make proper garbage collection.
Optimize your MySQL config......
Sorry I may be stupid, but I prefer to optimize my GS only and never knew how to optimize sql or java...

Can you guide me up? Here or in PM? (better here, so if someone needs he may find it)
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: Hardware support

Post by badboy29 »

For 1 Quad Core with 8GB running in Debian 5.0 x64 i use this:

GS settings:
java -server -Dfile.encoding=UTF-8 -Xms768m -Xmx4g -Xmn256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
Mysql settings:
skip-external-locking
memlock
myisam-recover = BACKUP
key_buffer = 600M
join_buffer = 10M
join_buffer_size = 256K
max_allowed_packet = 32M
thread_stack = 256K
thread_cache_size = 16
max_connections = 600
table_cache = 1024
#thread_concurrency = 10
query_cache_limit = 128M
query_cache_size = 512M
query_cache_type = 1
Aka UnHoly
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Hardware support

Post by Lee »

badboy29 wrote:For 1 Quad Core with 8GB running in Debian 5.0 x64 i use this:

GS settings:
java -server -Dfile.encoding=UTF-8 -Xms768m -Xmx4g -Xmn256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
Mysql settings:
skip-external-locking
memlock
myisam-recover = BACKUP
key_buffer = 600M
join_buffer = 10M
join_buffer_size = 256K
max_allowed_packet = 32M
thread_stack = 256K
thread_cache_size = 16
max_connections = 600
table_cache = 1024
#thread_concurrency = 10
query_cache_limit = 128M
query_cache_size = 512M
query_cache_type = 1
Yeah im with Quad core and 8GB Ram too, but running on win2003server x64. Will it make any difference or conflicts between linux or so?
Thanks very much.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: Hardware support

Post by badboy29 »

Lee wrote:Yeah im with Quad core and 8GB Ram too, but running on win2003server x64. Will it make any difference or conflicts between linux or so?
Thanks very much.
Well I run with the same settings in Win7 x64 the same server as test server. In Debian is very stable, my record online without restart was 1 week and 3 days :P
Aka UnHoly
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Hardware support

Post by Lee »

badboy29 wrote:
Lee wrote:Yeah im with Quad core and 8GB Ram too, but running on win2003server x64. Will it make any difference or conflicts between linux or so?
Thanks very much.
Well I run with the same settings in Win7 x64 the same server as test server. In Debian is very stable, my record online without restart was 1 week and 3 days :P
Well I applied the settings in SQL and GS, no difference for now, but I guess it will be more stable.. Well my record is a month online time w/o restart, because I was reworking the whole server.. I was amazed by the online time ^^
Thanks very much dude :]
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: Hardware support

Post by badboy29 »

I'm still not sure about that. But I think that improving the Thread Configuration can leave more stable yet. For now I use the default:
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Extreme caution should be here, set to defaults if you do not know what you are doing.
# These could possibly hurt your servers performance or improve it depending on your server's configuration, size, and other factors.
# Default: 10
ThreadPoolSizeEffects = 10

# Default: 13
ThreadPoolSizeGeneral = 13

# Default: 2
UrgentPacketThreadCoreSize = 2

# Default: 4
GeneralPacketThreadCoreSize = 4

# Default: 4
GeneralThreadCoreSize = 4

# Default: 6
AiMaxThread = 6
About priority renice -19 I use in the mysql and gameserver, maybe too high a priority or not, maybe some more experienced admin can tell me, but so far had no problems :mrgreen:
Aka UnHoly
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Hardware support

Post by rigid »

if u dont know what u want
just buy dedicated server with Windows Server 2003 OS
u can manage easy, but isnt powerfull yet
just for newbie admin ;)

i have dedicated server with CentOS
yess 1 just have Putty and PhpMyAdmin :)
all update im working at my localhost
then update them to Live Server :)
isnt hard if you want learn about 1 - 2 hours about Linux !

Linux is perfect server for L2
why ?, 100% resource just for running server
not load like desktop and etc like windows server ;)

if you have any trouble with Linux
you can PM me, i will give you guide via MSN
Post Reply