General :: Any Way To Change Hostname Of RedHat 9 Machine?
Apr 1, 2010
I want to change the Hostname of my Red Hat9 Linux machine using command line. By default it show me as following
[root@localhost root]#
I want to see it as
[root@pc1 root]#
Is there any way to change host name?
View 26 Replies
ADVERTISEMENT
Nov 27, 2010
I have a problem with server bcs of the machine name. I'm wondering how to change the server name to it's IP. bcs now it has name "chrochne". I've found hostname in /etc/host and in /etc/hostname. But I'm afraid of changing it in this files. I'm using webmin and virtualmin to admin the server so can I change the name somewhere in the GUI?
View 9 Replies
View Related
May 3, 2011
I just upgraded to Ubuntu 11.0.4 (from 10). In my /etc/hostname file, I defined my machine's name, "my-machine". From the server, I'm able to SSH to myself,
ssh dave@my-machine
However, from another machine in the same network, I'm not able to SSH
Code:
davea-mbp2:systems davea$ ssh dave@my-machine
ssh: Could not resolve hostname my-machine: nodename nor servname provided, or not known
However, I'm able to SSH in using the machine's IP address. how I get my machine name recognized on the network?
View 1 Replies
View Related
Mar 26, 2011
I admit I am a little green with the "Bourne Again Shell" (Bash), even though I was always not as proficient with the Bourne or Korn shell as with C Shell. From recent research the public sway is to Bash over tcsh. I can see I have been away from Linux/UNIX way to long. Running a network of workstations (upto 6) and servers (2) running RH Enterprise Linux 5.4 plus in the same network is an old DEC Alpha running Tru64 UNIX (don't know which version): I looking for a method to get the hostname I am logged in on to use in a Bash (or if necessary sh) script. This is to be added to an auto_start shell script start up our application on Linux workstation and servers.
View 7 Replies
View Related
Jan 15, 2010
I want to use Notepad++ on my RedHat machine. But there is no setup file available for Linux. What should I do?
View 1 Replies
View Related
Mar 3, 2010
how to know specification of my machine on linux redhat 5?like the size of harddesk and free space on it
Ram , VGA , and so on.
View 3 Replies
View Related
May 18, 2011
I am facing the below problem while installing ClearCase 7.1 in a redhat 5.4 machine.Error during "post-install configure" phase:
Error executing "/opt/IBM/RationalSDLC/clearcase/etc/clearcase" operation (status=50).
See agent output log for more information: /var/ibm/InstallationManager/logs/native/20110519_0846.log
Install:
[code]....
View 1 Replies
View Related
Nov 4, 2010
can some one guide me about wd mypassport 500gb how to mount in redhat machine
View 3 Replies
View Related
May 15, 2010
How do I find out the existing root passwd or set up a new one? Edit mode was not an option at the GRUB menu.
View 14 Replies
View Related
Jan 15, 2011
I'm trying to write a script to change the hostname of the computer at the first boot. The reason why I need this script is because I manage a number of training computer and I use Ghost to re-image it every 2 months. The script will read the mac address and the hostname from a csv file and compare it with the mac address on the current machine. I have stuck and don't know what is wrong as I'm new with script.
csv format:
Code:
00:11:22:33:44:55 host01
00:11:22:33:44:56 host02
script:
Code:
#!/bin/bash
# Description
# Change HOSTNAME for each machine from CSV file
#
# CSV File Format
# Each line contains two columns - mac address & hostname
# Description End .....
View 7 Replies
View Related
May 4, 2010
My colleague changed the hostname using "system-config-network", but now I want to change it using any how (either system-config-network or /etc/sysconfig/network). Even I changed it from /etc/sysconfig/network. But when I reboot the system its getting old hostname. Is there some other place to change hostname?
View 5 Replies
View Related
Sep 8, 2010
I have a problem. Is there any way to change the folder option so that when i open a folder it opens in the same window instead of the new window
View 1 Replies
View Related
Jan 3, 2010
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
View 7 Replies
View Related
Oct 23, 2009
At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?
View 4 Replies
View Related
Jan 21, 2010
the difference between $HOSTNAME and $(hostname)?
View 5 Replies
View Related
Apr 15, 2010
I tried to change hostname through ssh.
Old hostname = server1
New hostname = server1.domain.local
I changed the hostname by editing the /etc/hostname file
Old:
/etc/hostname
server1
New:
/etc/hostname
server1.domain.local
Then I executed /etc/init.d/hostname.sh, and get as below, looks OK!
hostname -f
server1.domain.local
hostname
server1.domain.local
hostname -s
server1
The logs are still just showing server1.
Example:
tail -f /var/log/auth.log
Apr 15 13:30:01 server1 CRON[22783]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:30:02 server1 CRON[22783]: pam_unix(cron:session): session closed for user root
Do I really have to reboot, or is this normal behaviour that it does not show the full hostname?
View 10 Replies
View Related
Jan 19, 2011
Is there any way to change Hostname in Fedora 14?
View 4 Replies
View Related
Aug 12, 2010
I have changed my hostname to - ns1.searchdns.net by
1) editing the files /etc/sysconfig/network
2) then run the command - echo "ns1.searchdns.net" > /proc/sys/kernel/hostname
3) then restarted the service /etc/init.d/network restart
I run the command hostname and it returns ns1.searchdns.net. But I am also supposed to modify the /etc/hosts file. I am not sure about this. The content looks like this at the moment
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.20 abc.com
What should my host file look like now? I am not sure if I should also modify the second line or delete it etc.
View 1 Replies
View Related
Dec 18, 2010
I want to create a smb share on a redhat machine, in which want to give permission as follows:
3 users a,b,c a have read and write but b & c have read only permission.
View 2 Replies
View Related
May 1, 2011
I have a task for installation redhat 5.2 on a remote machine . There is no operating system on that machine . Is there any way to installation. Is it possible to have a ip without any operating system on the machine. Please tell me the solution.
[Code]...
View 4 Replies
View Related
Jul 24, 2010
It seems whenever i create a folder it creates the folder as untitled folder, but i can't change the folder name it just says "you don't have permission to rename item" but yet i created the folder and it is there. One thing i have noticed is that once i enter a folder it won't even let me move the folder.
View 6 Replies
View Related
Oct 25, 2010
Yesterday, when I was installing Redhat Enterprise 5.4 on a HP server, I asked myself "how can I regain my access to the server if I happen to forget the root password?" I knew there must be a way. I consulted with my friend "Google". I'd like to share it here as my 1st post (too bad that I'm not allowed to paste screenshots)
1) Boot up the server, when you are at the "Red Hat Enterprise Linux Server..." entry, press "e".
2) Highlight the "kernel /vmlinuz...." line then press "e" again.
3) Type the word "single" to the end of the line (with an empty space before the word single). Press Enter.
4) Press "b"
5) System will boot. When you get the prompt "#", type "passwd" to enter in new password for root.
6) Reboot the system. Done
View 1 Replies
View Related
Oct 1, 2009
Yesterday, while trying on establishing mobile broadband, my hostname changed, and I can't make it yet. My /etc/hosts is
1 127.0.0.1 pc-194-101.fysik.uu.se localhost.localdomain localhost
2 127.0.0.1 pc-194-101.fysik.uu.se roddur
3 ::1 localhost.localdomain roddur
The second line I edited but after a reboot it inserted the first line all automatically and my /etc/sysconfig/network is
1 NETWORKING=yes
2 HOSTNAME=roddur
What I have to do if I have to change my hostname to "roddur"?
View 2 Replies
View Related
Jan 11, 2010
How do you change the hostname in SLES11? I have normally used the /etc/hostname file and rebooted the server in other distros. I only notice the way to change it is in yast2 -> network devices -> network settings -> Hostnames. I am looking for where it is stored because I want to write a script to update it (apart of a server deployment process).
View 9 Replies
View Related
Apr 10, 2011
I've a little trouble: I reinstalled on my notebook OpenSUSE 11.3 yesterday and I'm unable to change the hostname. I modified it, but when I type on terminal
Code:
uname -a
it doesn't give the right answer but returns
Code:
host
I don't know where I wrong because I did this action many times with Opensuse 11.1 and 11.3 without any problem.
View 9 Replies
View Related
Nov 2, 2010
I changed my hostname by running sudo gedit /etc/hostname and changing the word there. Then I discovered that hadn't done anything so I used sudo hostname newname. My hostname was changed then but I tried to run sudo gedit /some/thing/else.txt and it said:
Code:
sudo: unable to resolve host newname
No protocol specified
(gedit:5512): Gtk-WARNING **: cannot open display: :0.0 and it says the same with sudo or gksudo for any program that has a gui including synaptic. I can run vi but I have no idea how to use it. I think the problem lies in the lines in /etc/hosts which still say
[Code]....
with the problem being that it still says localhost and my local IP address are ubuntu instead of newname. So if you could tell me how to edit that with vi or some other command line program
View 2 Replies
View Related
Jul 6, 2011
can any one provide the steps to install and configure Nagios in Redhat Linux machine?
View 2 Replies
View Related
Feb 1, 2010
I'm using xp with one primary partition(C) for xp os,three logical drives(All NTFS).Now i want dual boot with red hat linux.When i inserted the dvd and booted from dvd,it is not going further from starting menu page(press F1-help,....F5-rescue mode).When i installed in vmware it was installed properly.But here why it was not running.I can't buy another hard drive for linux,i have to use the existing disk for both xp and linux....
View 3 Replies
View Related
Aug 29, 2010
How generally to change the hostname. When the system was installed the there was given random hostname and I am wondering how to change it.
View 3 Replies
View Related
Mar 14, 2011
When browsing in WinXP Windows Explorer to view an OpenSUSE computer, the displayed name is:
Samba 3.5.4-5.3.1-2489-SUSE-SL11.3 (*hostname*)
Other Windows computers display as:
[computer description]([hostname])
How can I change the "computer description" within OpenSUSE?
View 3 Replies
View Related