Name change of computer

Discussion and Technical Support for general software applications and utilities including OS related issues.
Post Reply
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

Name change of computer

Post by Silvertop »

Hello all ... great forum
I have been creating a server following the site's instructions and found it very easy ... even for an old pensioner like me :D
The server was created as Shedserver but after I got it going and installed a number of programs and got Samba up to allow all Windows machines to view and interact I realised that the name really doesn't suit long term.
Can someone please give me the clues to change it's name to Studio39, and if this is possible, will it reflect the change through all installed apps and protocols??

As a complete noob to Linux I will appreciate any assistance I can get.

John
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
User avatar
pete66
Member
Member
Posts: 14
Joined: January 9th, 2011, 2:56 pm

Re: Name change of computer

Post by pete66 »

John,

2 files you need to change from memory:

Code: Select all

sudo vim /etc/hosts


Code: Select all

sudo vim /etc/hostname


Once you've made the changes power-down the server. Then reboot the router. Then power the server back up again. This will ensure the router picks up the change and broadcasts it.

good luck.

Pete.
Case: Antec Three Hundred
Motherboard: Motherboard GA-P55A-UD4P.
Processor: Intel Core i5 750 Processor 2.66 GHz
Memory: Corsair 4GB
Hard Drives: Western Digital Caviar Black 2 TB for OS. 2 * 2TB SAMSUNG HD204UI for movies and music
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

Re: Name change of computer

Post by Silvertop »

Thank you for your prompt reply, Pete.

Having opened both files I can see where the Shedserver name is but do not know what the next step is.
Am I just to change the name? and if so how do I save the file? or is the change done realtime?

Like I stated in my original post I am really new to this OS

Any help much appreciated

John
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
User avatar
Abysmal Craig
Member
Member
Posts: 23
Joined: May 11th, 2012, 10:06 pm
Location: Glasgow, Scotland

Re: Name change of computer

Post by Abysmal Craig »

Hi there

Once you have opened the file, press the insert key on your kyboard and navigate to the part of the file you want to change with your arrow keys.

Once finished press esc and enter :wq to save your changes :)
Case: Thermaltake Level 10 GT
Motherboard: MSI P67A-GD65 Intel Motherboard
Processor: OVERCLOCKED Intel Core i7-2600K Sandy Bridge 3.4GHz
RAM: 8GB Corsair DDR3 @ 1866MHz
Hard Drives: Intel SSD 60GB for O/S 2x 3.5TB WD for Data
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

Re: Name change of computer

Post by Silvertop »

Thank you gentlemen.

all worked as required and the new name shows up on the network

many many thanks
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
User avatar
Abysmal Craig
Member
Member
Posts: 23
Joined: May 11th, 2012, 10:06 pm
Location: Glasgow, Scotland

Re: Name change of computer

Post by Abysmal Craig »

No problem we are all here to help

:)
Case: Thermaltake Level 10 GT
Motherboard: MSI P67A-GD65 Intel Motherboard
Processor: OVERCLOCKED Intel Core i7-2600K Sandy Bridge 3.4GHz
RAM: 8GB Corsair DDR3 @ 1866MHz
Hard Drives: Intel SSD 60GB for O/S 2x 3.5TB WD for Data
Post Reply