Computers
Disable PHP 5.3 Deprecated Errors
0When upgrading from PHP 5.2.17 to PHP 5.3 you might find that some older web applications will display warnings saying that some values are deprecated. It is best to disable the deprecated errors on each website effected, instead of server wide on the php.ini file.
Just include the following in your .htaccesss file:-
php_flag display_errors off
php_flag log_errors off
Refresh the webpage to make sure that this fixes the errors.
Battlefield 3 – Full Length “Fault Line” Gameplay Trailer
0The latest Battlefield game ready to be released September 2011. Look out for this one!
Internet Armageddon all my fault, says Google chief
0The “father of the internet” says the world is going to run out of internet addresses “within weeks” – and it will be all his fault.
Google’s chief internet evangelist, Vint Cerf, who created the web protocol, IPv4, that connects computers globally, said he had no idea that his “experiment” in 1977 “wouldn’t end”.
“I thought it was an experiment and I thought that 4.3 billion [addresses] would be enough to do an experiment,” he said in group interview with Fairfax journalists.
The protocol underpinning the net, known as IPv4, provides only about 4 billion IP addresses – not website domain names, but the unique sequence of numbers assigned to each computer, website or other internet-connected device.
The explosion in the number of people, devices and web services on the internet means there are only a few million left.
The allocation of those addresses is set to run out very shortly but the industry is moving towards a new version, called IPv6, which will offer trillions of addresses for every person on the planet.
“Who the hell knew how much address space we needed?” Cerf said.
“It doesn’t mean the network stops, it just means you can’t build it very well.”
How to setup any steam game server on linux
0I want to say first that this is not the only way of setting up a Steam Game Server (like CSS, DODS, TF2, L4D2, etc). There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you and you carry responsibility at your own!
Precondition:
- Linux basics
- A dedicated Linux (Dedian / Ubuntu) Root Server with SSH access
- programs Putty or SSH Explorer
Install Screen, if it isn’t already:
apt-get install unzip screen nano
Create steam game User and Folder:
cd /home
mkdir steamgame
cd steamgame
useradd -g users -d /home/steamgame -s /bin/bash -c "Your Dedicated Steam Game Server" steamgame
Get Steam:
wget http://storefront.steampowered.com/download/hldsupdatetool.bin
Make hlsupdatetool.bin executable:
chmod 744 hldsupdatetool.bin
Execute updatetool and accept the EULA with “yes”:
./hldsupdatetool.bin
Get Server Files, then let the server update itself and repeat the command:
./steam -command update -game "steamgame" -dir /home/steamgame
Recommendation:
Go make yourself a nice cup of Tea. Updating the Server files will take a while!
Edit the server.cfg file to your requirements.
Startup the server as user “steamgame”, NEVER run a server as root!!!!
Getting Shell Script:
wget http://www.bob.geek.nz/files/css.sh
Rename css.sh to steamgame.sh, if needed
chmod 744 steamgame.sh
chown steamgame:users /home/steamgame -R
Carefully edit steamgame.sh to your requirements.
Become the user steamgame:
su steamgame
Finally, you can now start the server:
./steamgame.sh
Your server should now be loaded check server status by using gametracker.com or hlsw game server tool.
With steamgame.sh you can use start, stop and restart.
So for example if you want to restart your server you would type:
./steamgame.sh restart
I hope this guide helps a few people out there. Let me know if you have any questions.
Recent Comments