Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Start Apache on Linux

AmanteAmante Member Posts: 52
Hi Guys,

Sorry again to bother you all, but:
I have installed RedHat 7.1 with WebServer.
1. How do i start it? (http://httpd) is not working
2. How can i know what is my IP?

Don.

Comments

  • melissa_may1melissa_may1 Member Posts: 937
    : Hi Guys,
    :
    : Sorry again to bother you all, but:
    : I have installed RedHat 7.1 with WebServer.
    : 1. How do i start it? (http://httpd) is not working
    : 2. How can i know what is my IP?
    :
    : Don.
    :


    Hi Don!

    You know what your IP address is, because your ISP tells you. Let me explain.

    The best way to run a server is to obtain a "static" IP address from your ISP. A "Static" address is one that is assigned to you, and does not change.

    Regular dial-up accounts have "dynamic" IP addresses, which change each time you dial in. In the case of AOL, the IP addresses actually change during a particular session.

    So, in order to effectively run a server, you need a statis address, so people will know where to find you and connect to you. Once you have a static address, you can apply for a domain name, and people can connect to you with that.

    Most ISPs can assign a statis IP to you, usually with an extra charge. They will then tell you what IP is assigned to you, and that's the address you need to configure into Linux and Apache.

    Now, you can do an Linux command (ipconfig?) to find out what the current IP Address is, even if it's dynamic. You'd dial up your ISP, connect, then enter ipconfig at a command prompt to find out what the ip address currently is.

    Then you could tell someone that IP address, and they could connect to your server. Not the best way, but certainly doable.

    I hope this is helpful to you.

    Melissa


  • AmanteAmante Member Posts: 52
    Yeah thanks i know all that fo working with windows.

    But IPCONFIG command, works on windows but not Linux.

    How can i know from the DHCP/NAT what is the IP assigned to my Linux machine?

    Don

    : : Hi Guys,
    : :
    : : Sorry again to bother you all, but:
    : : I have installed RedHat 7.1 with WebServer.
    : : 1. How do i start it? (http://httpd) is not working
    : : 2. How can i know what is my IP?
    : :
    : : Don.
    : :
    :
    :
    : Hi Don!
    :
    : You know what your IP address is, because your ISP tells you. Let me explain.
    :
    : The best way to run a server is to obtain a "static" IP address from your ISP. A "Static" address is one that is assigned to you, and does not change.
    :
    : Regular dial-up accounts have "dynamic" IP addresses, which change each time you dial in. In the case of AOL, the IP addresses actually change during a particular session.
    :
    : So, in order to effectively run a server, you need a statis address, so people will know where to find you and connect to you. Once you have a static address, you can apply for a domain name, and people can connect to you with that.
    :
    : Most ISPs can assign a statis IP to you, usually with an extra charge. They will then tell you what IP is assigned to you, and that's the address you need to configure into Linux and Apache.
    :
    : Now, you can do an Linux command (ipconfig?) to find out what the current IP Address is, even if it's dynamic. You'd dial up your ISP, connect, then enter ipconfig at a command prompt to find out what the ip address currently is.
    :
    : Then you could tell someone that IP address, and they could connect to your server. Not the best way, but certainly doable.
    :
    : I hope this is helpful to you.
    :
    : Melissa
    :
    :


  • garwaingarwain Member Posts: 297
    I
    : 1. How do i start it? (http://httpd) is not working
    refer to thread in linux board
    : 2. How can i know what is my IP?
    see post http://www.programmersheaven.com/msgboard/read.asp?Board=26&MsgID=86794&Setting=A9999F0101
    :
    : Don.
    :


  • gobeligookgobeligook Member Posts: 1
    : I
    : : 1. How do i start it? (http://httpd) is not working
    : refer to thread in linux board
    : : 2. How can i know what is my IP?
    : see post http://www.programmersheaven.com/msgboard/read.asp?Board=26&MsgID=86794&Setting=A9999F0101
    : :
    : : Don.
    : :
    :
    :
    :
    I use mandrake wich is lookalike distro but better.
    In mandrake have to enable apache,, in mandrake it pretty easy,its a prog called webadmin,,i think u can download it for R.H too. Its a guiinterface to make administration easier.But the guis to linux is a bit gltchy : ) Sometime u have to restart different service (like appache) tom make it happen
    If you want to do it the hard way,,Download the manual if u havent got the manpages installed.Buy a sixpack,and read.
    GOOD LUCK
  • Jeff P.Jeff P. Member Posts: 196
    : Hi Guys,
    :
    : Sorry again to bother you all, but:
    : I have installed RedHat 7.1 with WebServer.
    : 1. How do i start it? (http://httpd) is not working
    : 2. How can i know what is my IP?
    :
    : Don.
    :
    :

    it's not "http://httpd", it's just "httpd" (you may need to be root to start the server)

    it's not "ipconfig" on linux, it's "ifconfig" (usually "/sbin/ifconfig")
  • sanderthegurusandertheguru Member Posts: 7
    Type:

    "/sbin/ifconfig"
    or just "ifconfig [InterFaceName]".

    very common values for [InterFaceName]
    are ppp0,ippp0,eth0, eth1, etc.

    it will show you a lot of details for each interface.
    So also the remote ip-address that your ISP have assigned
    to your machine. :)

    Regards,


    Sander



    : Yeah thanks i know all that fo working with windows.
    :
    : But IPCONFIG command, works on windows but not Linux.
    :
    : How can i know from the DHCP/NAT what is the IP assigned to my Linux machine?
    :
    : Don
    :
    : : : Hi Guys,
    : : :
    : : : Sorry again to bother you all, but:
    : : : I have installed RedHat 7.1 with WebServer.
    : : : 1. How do i start it? (http://httpd) is not working
    : : : 2. How can i know what is my IP?
    : : :
    : : : Don.
    : : :
    : :
    : :
    : : Hi Don!
    : :
    : : You know what your IP address is, because your ISP tells you. Let me explain.
    : :
    : : The best way to run a server is to obtain a "static" IP address from your ISP. A "Static" address is one that is assigned to you, and does not change.
    : :
    : : Regular dial-up accounts have "dynamic" IP addresses, which change each time you dial in. In the case of AOL, the IP addresses actually change during a particular session.
    : :
    : : So, in order to effectively run a server, you need a statis address, so people will know where to find you and connect to you. Once you have a static address, you can apply for a domain name, and people can connect to you with that.
    : :
    : : Most ISPs can assign a statis IP to you, usually with an extra charge. They will then tell you what IP is assigned to you, and that's the address you need to configure into Linux and Apache.
    : :
    : : Now, you can do an Linux command (ipconfig?) to find out what the current IP Address is, even if it's dynamic. You'd dial up your ISP, connect, then enter ipconfig at a command prompt to find out what the ip address currently is.
    : :
    : : Then you could tell someone that IP address, and they could connect to your server. Not the best way, but certainly doable.
    : :
    : : I hope this is helpful to you.
    : :
    : : Melissa
    : :
    : :
    :
    :
    :

Sign In or Register to comment.