Solved

Linux Command Help

Posted on 2011-09-27
4
374 Views
Last Modified: 2012-05-12
Hi All,
I have setup webmin access trying to play around with a few settings and i deleted the host addresses. Please give me commands to add these to the host address. I have attached a screen shot please give me the commands to add these. thanks
Webminscreen.jpg
0
Comment
Question by:Clement P
4 Comments
 
LVL 2

Assisted Solution

by:Roy
Roy earned 100 total points
ID: 36709831
You can go to console and try these:

#hostname

this should give you the host name of the server and you can add it back to the UI of webmin.
0
 
LVL 40

Expert Comment

by:noci
ID: 36713465
ifconfig -a

gives you the ipaddresses your system uses.
0
 
LVL 2

Accepted Solution

by:
KishorDas earned 150 total points
ID: 36890562
Please go to the networking and section in your webmin and reconfigure the setting there, Otherwise directly at shell prompt you can edit the file /etc/hosts using any of your favorite editor.

Thanks
Kishor Kumar Das
0
 
LVL 2

Author Closing Comment

by:Clement P
ID: 36902662
After what i did i lost access to webmin.
I expected a more detailed answer as I am new here.
But yes it worked.. thanks..

here is what worked for me
[root@Server Downloads]# hostname localhost.localdomain
[root@Server Downloads]# vim /etc/sysconfig/network
[root@Server Downloads]# vim /etc/hosts

edited hosts as desired and was able to access the Webmin again.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now