Larmeir.com | Dustin Larmeir's tech blog.

Archive for February 2008

Feb/08

19

LoL

No tags

Feb/08

19

Cool Link about Linux command line.

http://www.scottklarr.com/topic/115/linux-unix-cheat-sheets—the-ultimate-collection/

This guy put together a great post with many links to Linux References. This is good stuff – Dustin

No tags

Ok, So I decided to do a counter strike source server install on a Linux server last night. The documentation on this sucks! So, I am writing a how to for all of those people who want a counter strike source server and just do not know how or are to impatient like me to read all of this crap!


Getting the Linux server ready

Note:It is not advisable to run any program as root if avoidable, so lets make a user to run this.

Step1. Login to your server through console or ssh as root.

Step2. run the command adduser and the desired login name, in this case we will use css so the command will be adduser css

Step3. Now, we need to password protect this login so run passwd css and then enter the desired password.

Step4. Login as the new user css or whatever name you should choose, make sure you pic a strong alphanumeric password such as 0mGz!8MyD0gg!3 for example.


Installing Steam and CSS

Note: This takes a while so once the install starts sit back and grab a beer.

Step1. In the home directory for the css user, make a directory called csrds by issuing the following command mkdir csrds

Step2. cd crds

Step3. wget http://linuxhelpresource.com/downloads/hldsupdatetool.bin

Step4. chmod +x hldsupdatetool.bin

Step5. run the command ./hldsupdatetool.bin

Step6. If you agree with all the licensing crap hit yes

Note: If you get the following error ‘uncompress: command not found’ run the following command as root : ln -s /bin/gunzip /bin/uncompress

Step7. run the following command to update Steam ./steam -command update -game “Counter-Strike Source” -dir .

Step8. once step 7 completes, run the command again ./steam -command update -game “Counter-Strike Source” -dir .

Note: This is gunna take a while longer, go pay attention to your wife and kids………….


Post Installation ” Getting it all up and running”

Ok, now you have done all of this, Guess what? It is installed now.. Lets bring it online.

Step1. Figure our what variables you want to add to the command, Below are possible options:

-autoupdate will update the game server to the latest version before launching it.

+maxplayers the maximum amount of players you want on your server

+map what map you want to play on, FYE de_dust

-port if you would like to run the game on a custom port

-ip if you would like to run the game on a specific ip ( handy for server resellers)

Now, lets launch a basic configuration of this server with the following command:

./srcds_run -game cstrike -autoupdate +maxplayers 20 +map de_dust

Note: If you are not planning on using custom scripts to launch the server, Then I would recommend installing screen for your Linux distro , once installed run this version of the command.

screen ./srcds_run -game cstrike -autoupdate +maxplayers 20 +map de_dust

Once you close out your ssh session, the server will still be running and you can log back in and issue the following command to resume screen -r

This should cover everything you need for a basic Counter Strike Source Server.

Coming soon……. A mani admin self install script for those of you who hate to go through the installation process.

No tags

I am going to start a CSS server and a TF2 server soon. I am vastly under using the capabilites of my server and figure this is a good way to use it. :) heh

No tags

http://www.microsoft.com/windowsserver/compare/default.mspx?WT.srch=1

As I was looking at the above comparison article between Linux and Windows, I was astonished how much propaganda was involved in this. What I find incredibly amazing is that I see more pwned windows servers everyday than I ever see pwned Linux boxes. Not only that, but normally the Linux server is easily fixed, as the Windows server gets rooted so deeply the only real way to clean it is by reinstalling the OS. I cannot believe these guys are serious! Ok, so a couple of dumb banks decided to migrate from a Unix mail server to a windows mail server because they thinks it is better ( the real reason is the end users probably wanted outlook synchronization) This automatically makes windows better than Linux? Both operating systems have their place in this world, MS is good for certain applications, And Linux is as well. What about google? Do you think that if Linux sucks like Microsoft says, that Google would use it? What about the webhosting industry? What about science clusters? Embedded devices? This infuriates me.
I feel better now…….. Dustin

No tags

Feb/08

15

My Review of SME server

SME server is designed to a Small office/Home Office solution for a fully functional Internet gateway, Mail server, Fileserver, Web and Application server solution. I Must admit, it has some cool features – But it does have some downfalls as well. I really like to customize my linux distros to suit my own needs (this is what Linux is all about) However, SME does have some annoying proprietary packaging that makes some level of customization difficult. The web interface is very intuitive and has alot of functionality and is very quick. The Ibay feature is really nice for a small office user who is not a Information Technology guru but would like to make some content available on the internet. The mail server runs the rock solid qmail mail server and it comes with Horde webmail installed. The distro is basically a CentOS 4.6 distro with some customer repos in applications installed. The bottom line is that for a small office user who would like a easy solution for a firewall, file server, and web/mail server – SME is a good choice. I plan to rip it apart further this weekend and see what I can break with it! I have already broken it twice and hacked it’s custom built Samba packaging – hehe

No tags

This is a classic example of how BSOD’s are not always bad. Look at Bill smile!

No tags

http://edition.cnn.com/2008/TECH/space/02/14/spy.satellite.ap/

I think that is cool – Now I can sleep better at night knowing a school bus sized sattelite is not going to fall on my head.

No tags

Feb/08

14

This server is patched……

Vmsplice issue no longer a issue with this box.

No tags

Feb/08

14

Toothaches Suck

My tooth is hurting so freaking bad………

No tags

Older posts >>

Find it!

Theme Design by devolux.org