Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I installed Mandrake 10.0 to one of my computers and configured a working network. Then I shutdown the computer and took it off keyboard, mouse and display. Now I'm using the computer from other computers. That way I hope to learn to configure Linux and Linuxserver using command line. When I installed the Mandrake I named the computer and now I want to re-name it. With those two thinks you told me ,I didn't managed to get a new name to it, I think.
My IP don't show to outside world(internet). But when I use this apache-server at home. I could see those web-pages from apache, when I write the computers name to browser address line.
What about the line in httpd2.conf,"ServerName"? I have there #. What that line means?
Ps. Do you know very good www links, about the Linux commands.
You may like using the Mandrake server wizards. Go to drakconf (Configure Your Computer) and to Software Management (I think that is the title). Search for either wizard or drakwizard and install it. The next time you launch drakconf there will be a tab for Server Wizards, I haven't used them in version 10 yet but in previous versions they were really easy to use. You can setup any of the servers available there, Samba, Apache, DNS, SQL, etc. (provided their sources are installed also). If you want to cofigure it from another machine remotely, try installing webmin. From another machine you can use either the ip or name of your machine and port 10000 (you can change the port number). There are "wizards" available there also and with the Samba configuration in Webmin it is really easy to change the machine name and alias.
There is a file that has to be changed to change the hostname in Mandrake, sorry, forgot about that little tidbit. I'm in Gentoo at the moment. I'll search around and see where that file is.
I think you have to change other files, like /etc/hosts, to make it broadcast to others the name. I'm not 100% sure on that though.
I found the 'official' hostname file. It is in the directories /etc/rc.d under file rc.sysinit. Open with Kwrite and go to about line 30. It should look something like this:
Code:
HOSTNAME=smoker
Mine is named smoker. Just change to what you want it to be named.
As for the broadcast, you may want to check the file networks in /etc. I'm not real sure where it is. I haven't been down that road yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.