Unable to connect ethernet shield to internet

i am using ubuntu, so am planned to install an apache server,

is there anyway i can communicate with the arduino through the ethernet port of my system, using a C, C++ or any other languages.
I am trying to read and respond to the arduino from the computer now