Most visitors online was 3655 , on 17 Nov 2023
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!Join Today!
Okay, networking stuff is tricky but I'll do my best to help.I wouldn't exactly call this an "ultimate" guide because it doesn't cover a bunch of things.
For example, what's this "long string"?
What's this "first part" and "last part"?
Shouldn't IPADDR and GATEWAY be the same?
If the IP shown on "inetaddr" after entering ifconfig in the terminal of centos is not whatever was set on IPADDR in the ifcfg file, then what to do to fix that?
An "ultimate" guide covers literally everything in detail but this one doesn't clarify a bunch of things and, like almost every other guide on this forum, has no troubleshooting for things that are not perfectly clear.
Okay, networking stuff is tricky but I'll do my best to help.
First, if you wanna be 100% sure of your IP, open command prompt and type in "ipconfig". You can open command prompt by hitting the Windows key and just typing in "cmd" without quotes. This is assuming your primary computer is Windows of course. Anyways, you'll find a field called "IPv4 Address" - this is your computers IP.
In networking, computers need to be in the same "neighborhood" to be considered on a LAN. My explanation stops here because things quickly get very complicated if we want to discuss the finer points. But suffice it to say - in ALMOST every home network your neighborhood is the first three sections of the IP Address. So if your IP is 192.168.1.20, your home LAN is 192.168.1.x.
You need to give your VM an address on this network but you want to make sure you don't hit any other devices. The easiest way to achieve this is to pick a random address, something like 192.168.1.157 for example, and then ping it. To ping the address, open command prompt (or use the previous session) and type "ping 192.168.1.157" without quotes. It should fail to ping. If it fails, the address should be good to use.
I am going to stop here and hopefully this is not already overwhelming. If you do want more info, feel free to PM me.
OH! To answer last question, typically GATEWAY and IPADDR should not be the same. Because this is a virtual connection and a LAN only thing GATEWAY probably doesn't matter. Typically GATEWAY is the address of your router. If this information is incorrect for this particular situation I apologize, I have not installed everything yet.
Source: Network engineer
yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-3.noarch.rpm yum install postgresql93-server postgresql93-contrib
service iptables stop
service postgresql-9.3 restart