Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

named daemon

  • 06-01-2004 6:55pm
    #1
    Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭


    OK, need some help here guys.

    I'm trying to set-up a web server at home. The server is running red-hat 7 with apache and sql. Apache is running fine.

    I want to view these web-pages from my own windows machine at home for a project.

    I've just bought a lan card for the linux machine.

    Firstly, do I have to run netconfig to set-up the lan, and if so what setting should I use, like ip address, subnet mask etc?

    Secondly, how do I set-up the DNS server on the linux machine. I was reding about the named daemon, but can anyone explain the setup??

    Any help would be greatly appreciated,

    thanks ,
    king


Comments

  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Hi,

    2 files that are important to you for networking:

    /etc/sysconfig/network
    and
    /etc/sysconfig-scripts/ifcfg-eth0

    In here ya gota set the appropriate settings:

    "/etc/sysconfig/network"
    NETWORKING=yes
    HOSTNAME=somehostname
    GATEWAY=default gateway IP

    "/etc/sysconfig-scripts/ifcfg-eth0"
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.0.255
    IPADDR=192.168.0.5
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    ONBOOT=yes

    Complete that lot and then we'll look at dns.

    Paul


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    thanks man,
    but cant find that folder sysconfig-scripts??


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Originally posted by king_of_inismac
    thanks man,
    but cant find that folder sysconfig-scripts??

    ****e - typo :P

    /etc/sysconfig/network-scripts/ifcfg-eth0


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    Ok done, and thanks a lot man!! :)

    now whats to be done to sort out the dns?? :)


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    c'mon guys its wreaking me head :)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    What have you done up to this point with the DNS server?

    Is networking working now?

    Did you restart networking?


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    sorry man, havent done anything.

    Am very new to this lark... :)

    just surfing the net for an idiots guide..


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    ok, from what ive read, you have to edit the following files:

    /etc/host.conf

    /etc/hosts

    /etc/resolv.conf

    now does anyone know what exactly In have to place in these files??


Advertisement