Page 2 of 2
Re: Hardware support
Posted: Thu Dec 17, 2009 10:25 pm
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.
Re: Hardware support
Posted: Fri Dec 18, 2009 12:24 am
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

.
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...

)
Re: Hardware support
Posted: Sat Dec 19, 2009 2:54 pm
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.
Re: Hardware support
Posted: Sat Dec 19, 2009 9:26 pm
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.
Re: Hardware support
Posted: Mon Dec 21, 2009 3:03 am
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.
Re: Hardware support
Posted: Tue Dec 22, 2009 12:03 am
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)
Re: Hardware support
Posted: Tue Dec 22, 2009 12:37 am
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
Re: Hardware support
Posted: Tue Dec 22, 2009 9:15 am
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.
Re: Hardware support
Posted: Tue Dec 22, 2009 1:21 pm
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

Re: Hardware support
Posted: Tue Dec 22, 2009 2:34 pm
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

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 :]
Re: Hardware support
Posted: Tue Dec 22, 2009 2:54 pm
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

Re: Hardware support
Posted: Thu Dec 31, 2009 9:10 pm
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