How do I change the hostname of my PC?

I am using only base Arch, just the command line version, nothing extra.
After fresh install, the default hostname is myhost.
I want to change it. The command
hostname V-Arch-Min
does not work...

Mark as solved please. Also please search the wiki and or forums before posting. All this information is readily available. Also take some time to go through our forum rules. (see my sig)
Welcome to the forums.

Similar Messages

  • How can I change the hostname after Oracle Database XE is installed?

    I currently have XE installed and working on my ubuntu machine.
    When I change the hostname of my machine, oracle database no longer connects and says "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor".
    Can anyone tell me how I can change the hostname of my machine and keep oracle database working correctly?
    Thanks

    Stopping, reconfig, starting the instance is one way, although that is somewhat like using petrol to kill ants.
    The database instance pretty much does not care about the hostname setting. But the listener does- the installer finds the hostname and uses that in the setup bits.
    As posted somewhere here, when using the 1521 default listener port, the listener.ora config file can just be moved out of the way. Another potential fix is setting the HOST=0.0.0.0 for the IPv4 "any IP" address setting, or setting it to the correct hostname. Or HOST= can be set to IPv4 address. For IPv6, have to use HOST=<hostname> and it must resolve, can't HOST=... an IPv6 address.
    To move the listener file, stop the listener first. To change a HOST=... setting, also stop the listener first.
      lsnrctl stop
      mv $ORACLE_HOME/network/admin/listener.ora $ORACLE_HOME/network/admin/listener.bk0
      # or
      vi $ORACLE_HOME/network/admin/listener.ora
      # change HOST=<whatever> to the correct value, or 0.0.0.0
      lsnrctl start
      sqlplus /nolog
      conn system
      ... password ... Connected.
      alter system register;
      exit
      # start the lsnr
      lsnrctl start
      # check the status, services
      lsnrctl stat
      lsnrctl serv
    If the host has a wireless (or another NIC) that one does not want to offer up remote connections on, the 0.0.0.0 is not a good way to go either
    Message was edited by: clcarter
    typos

  • How do I change the hostname used when Mac Mail sends EHLO

    Hi All,
    I work for a tech support group and one of our clients is experiencing some trouble sending emails. When they connect to their outbound mail server Mac Mail sends the EHLO command with a hostname like 01:23:45:67:89:ab.home
    Another Mac on the network sends a hostname like 00:A0:C9:14:C8:29.home2
    So they appear to be the a Mac address for the computers NIC followed by a generic location in this case .home, not sure if thats a generic Mac thing or something they chose to configure but because the hostname is not an ip address and contains ".(dot)home" the outbound mail server our client uses believes it to be a domain so then rejects it as an invalid domain when a lookup on it fails.
    I've changed the hostname of one of the Macs using the command "cutil –-set HostName new_hostname"
    This has changed the hostname when checking it by the hostname command in a Terminal but Mac Mail still persists in using the old hostname. We've tried rebooting the machine and rebooting the machine with the left shift key held down as I believe this does some kind of rebuild of configuration files, but still the old hostname is send when Mac Mail sends EHLO.
    How can I force Mac Mail to pick up the new hostname or is there something else I need to do to change it?
    thanks for any assistance you can provide,
    Martin

    Replying to myself:
    You can sign out from the account in iBooks and then sign in to another one.
    From the menu bar, choose:  Store->Sign Out
    Then sign in again with the desired ID: Store->Sign In

  • How to change the hostname was set/defined in SAP system?

    Dear Expert,
    My customer met a problem about that:
    he defined his host name with small characters(lower case) "abc" when he installed the SAP system (Windows2003(x64)-Solman70SR4).
    But in SM21, the title of sm21, the hostname was recognize as upper case "ABC".
    in SM51, the hostname was also recognized as upper case "ABC"
    in STMS, the tab of 'transport tool', it is recognized as lower case "abc" in TRANSDIR.
    in SM59, it is recognized as upper case "ABC" in internal connections, but recognized as lower case "abc" in ABAP connections, such as TMSADM@<DB>.DOMAIN.<sid>
    While in Java URL, it is recognized as lower case "abc". With my test, the Java URL is not case sensitive for the HOSTNAME part in HTTP link as I tested to change the hostname both in upper case and lower case in etc\hostname file, the URL both are working. (not sure if this is due to the test is with intranet or not).
    Based on SAP note 611361, it seems that:
    "Hostnames must be considered "case sensitive". That means
    hostnames shall be used in the same case (upper or lower) in all
    SAP configurations as well as in the network configuration (DNS
    or etc/hosts). You must ensure consistent name resolving of the
    hostname from hostname to IP address and back from the IP address
    to the the same hostname (case sensitive match). See also note
    129997."
    Please help to suggest.
    Many thanks in advance,
    Perry Song

    Section  4.13 "Checking the Consistency of the Host Name" in [This Upgrade Guide|https://websmp208.sap-ag.de/~sapidb/011000358700000353422008E]  has a good explaination of what & how to check your hostname / parameter configuration.
    on a windows box, another way to get the TCP/IP name is to type  'hostname' from a CMD window.

  • [Solved] How does one go about changing the hostname in arch nowadays?

    Everything I've seen on the subject references /etc/rc.conf, which I believe is no longer used.
    I've updated /etc/hostname, but when hostname -f does not return the expected.
    Last edited by mreiland (2013-07-14 21:09:07)

    mreiland wrote:How does one go about changing the hostname in arch nowadays?
    Please see "man archlinux".
    Also, I can never remember if hostname is one of those things you need to reboot for...
    Last edited by drcouzelis (2013-07-13 16:24:10)

  • How can I change the display of Inbox in my iPad's mail app- so that it takes up the full screen?

    How can I change the display of Inbox in my iPad's mail app- so that it takes up the whole screen, as opposed to just about one third; the other two thirds display the full text of the selected email?

    You can't change the display in the Mail app, if you are holding the iPad in landscape orientation then the left-hand third will be for navigation, and the right-hand two-thirds will be an email. If you hold the iPad in portrait orientation then the navigation section becomes a drop-down section.

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • In Pages 5.0 How do I change the highlight color?

    In Pages 5.0 How do I change the highlight color?

    Oh!  I understand now.  See screenshot below.  It's called "Character Fill Color":

  • In the Menu Bar, under File, then Open File, how do I change the selections?

    I have Firefox 11.0 and Windows 5.1 (2007). In Firefox, I click on FILE in the Menu Bar, then OPEN FILE (Ctrl+O), and I see a small box; it says Look in: Mozilla Firefox. Below is a selection of files within the folder Mozilla Firefox. To the left is a column of four other folders: Downloads, My Computer, John, Lori. The last two are obviously two of the folders I've created on my computer, using Windows. But I don't know how they got here! I have no recollection of customizing this particular Firefox menu option by adding those folders, nor can I figure out what to do in order to further customize it. Can anyone tell me: (1) how can I change the original "Look in" option so that it opens with something other than "Mozilla Firefox" (which, after all, I never need to access)? (2) how can I add/delete/change the choices offered in the column on the left, so that different folders are listed? (Currently, if I want to access my Windows folders/files, I first have to minimize the Firefox screen; this seems to me a nice shortcut, but I'd like it to include shortcuts to the folders I use the most, which does not include "Mozilla Firefox"!) (3) Is this actually a Firefox feature, or is it a Windows feature? It does look like Windows (Windows style, Windows folders), but it appears only in the Firefox Menu Bar, along with Bookmarks, Tools, etc. Thanks!

    This sounds like a Windows thing ( You can post a photo and I can tell you for certain). Those folders are Windows system created folders that your computer has had since it was installed, all Firefox does is use the Windows File picker, which is what you see when you open that window. So, to customize you'd have to do that from Windows Explorer (not Firefox).
    The Window should however remember what folder you were in last.

  • I have changed from an iPhone to a Sony but when my wife send a message on her IPhone it still gets sent as a iMessage how do I change the settings

    I have changed from an iPhone to a Sony but when my wife send a message it still gets sent as an iMessage how do I change the settings

    Hello, Vespa Boy125. 
    Thank you for visiting Apple Support Communities. 
    Here are the steps that you will need to process on your line to remove your number from iMessage. 
    iOS: Deactivating iMessage
    http://support.apple.com/kb/ts5185
    Cheers,
    Jason H. 

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • My email address on my i phone is old and i can not seam to change it. this results in my not being able to log in. How do I change the email address?

    How do I change the log in email ID on my I phone. I have done so on my account but can not do so on my I phone and it wont let me log in

    Settings>Store...tap the ID shown...sign out...now sign back in with the ID you want to use.

  • My rescue email is a deleted email and i have no idea what the answers are to my security questions- what do I do? How do I change the rescue email?

    My rescue email is a deleted email and i have no idea what the answers are to my security questions… what do I do? How do I change the rescue email?

    You will need to contact Apple support. You can use the link in the quote below from If you forgot the answers to your Apple ID security questions - Apple Support
    If you couldn't send a reset email, don't have a rescue email address, or can't access email at your rescue email address, contact Apple Support.

  • Wrong Apple ID: How do I change the Apple ID prompt when Updating All Apps?

    How can I change the (wrong) Apple ID from the password prompting dialogue when I am already signed in Apple Store with my own ID?
    More details of my problem:
    When I try the Apps' Update-All option in my iPod 4, the password dialogue prompts me with my girlfriend's Apple ID; YET, I AM signed in the Apple Store with MY own Apple ID.
    I have already verified my ID under Settings/Store. I have also signed out, signing back in with my Apple ID, just in case. No problems there, for I DO sign in with my own ID ok. The problem is just the prompt dialogue for password, when I try to use the 'Update All' feature it prompts me for password with her ID, not mine.
    If I go back to Apps and choose the Categories (or Top25) menu, at the bottom of the page, it shows me signed in (my Apple ID). If I try to update one Apps it will do ok. But if I try to Update All it will prompt me for password using her ID, waiting for me to type in HER password. I cannot change the Apple ID on that dialogue (static). If I use my password, it will return the "wrong password" dialogue.
    How can I change the prompt for the Update All? What is going on here that I AM signed in but my iPod prompts me with her ID. My iPod is registered under my Apple ID. I have already tried the Hard reset by pressing Home and Power buttons simultaneously, to no avail. I am also using my own network to go Online. I am also with the latest OS in my iPod and my Mac's iTunes.
    Thank you!
    PS This problem is not occurring in my iPhone 4 (same account) nor my Macs.

    Does not work for me. (My iPhone is not jailbroken.)
    I downloaded a paid app "Imray Marine Rules and Signals v1.5" in the USA with my original account (Account1) then moved countries and needed to create a new Apple account (Account2). If I get 'Info' for the app, it is registered to Account1.
    A new version 1.6 of the Imray app has now been released.
    I have set up only Account1 on the iphone (settings - App Store) and both Account1 and Account2 in iTunes on my computer. My iphone always tells me there is 1 app to update. However, when I try to update this app on my iphone, I get asked for the password for Account2, then the download fails as it says I do not have a paid earlier version to update.
    When I am logged into my computer iTunes as Account1 and try to update it on the computer iTunes, it says there are no apps to update (although my version of the app is definitely the old version).
    When I search for the app in iTune Store, it tells me I have already downloaded version 1.6 of the app and the download button is grayed out.
    If I temporarily delete the app from my iTunes then try to re-download, I am asked to purchase it again.
    If I log into iTunes as Account2 then try to download it, I am asked to purchase it.
    Any ideas? I feel I have tried every option and no success.

  • HT201361 Is it possible to save the screenshot files to a different folder than desktop. How can I change the folder?

    Is it possible to save the screenshot files to a different folder than desktop (that is the default). How can I change the destination folder? Thank you, Sal

    To change the screenshot capture location to a new place on your Mac, first think of a location that would serve you properly. We like to place ours in a "Screenshot" folder located inside of the User's "Pictures" folder. To change the location to this new location, open the Terminal and enter the following command:
    defaults write com.apple.screencapture location /Users/[u]/Pictures/Screenshots/
    Replace "[u]" with the name of the user on your system. Once you have entered this command, let's restart the screen capture utility by restarting the SystemUIServer by entering the following command:
    killall SystemUIServer
    You can optionally log out and back in instead of entering this second command, thus restarting the SystemUIServer. Once restarted, all screen captures taken from here on out will end up in your /Pictures/Screenshots/ folder in the User's home folder on your Mac.

Maybe you are looking for

  • Windows 7 Ultimate 64-bit Random High CPU Usage 80%-100% @ idle

    I am running Windows 7 Ultimate and my specs are AMD Phenom 9550 Quad-Core Processor 2.20 GHz with 6.00 GB RAM. The computer randomly spikes up to 80%+ and usually higher than that and the computer runs really slow. Ived tried checking for spyware, o

  • Open Hub  - Add header line to file on server.

    Hi All, How can I add header description to the file being generated in the server from the Open Hub. The open hub generates a fiule with data fields only, however i want a header line. Example IF my data fields are displayed as below, John M 12 2344

  • Why does colour picker cause my computer to lag?

    I have recently purchased a new computer hoping that it will be able to run Photoshop CS6, however I have found that when I try to use colour picker the program lags and I am unable to do anything afterwards, unless I restart Photoshop. My computer s

  • Photoshop CS4 and HP printer C410 all I can print is 2 inch squares,

    I can set the size to anything in photoshop but all it will print is a 2" square. Can anyone help? or heard of this problem before?

  • Would anyone be able to help me setup Ubuntu??

    Hello All, I finally got my new Mac Book Pro and am dying to install Ubuntu on it mainly for 3D graphics. Would anyone be willing to give me step by step instructions on how to dual boot Snow Leopard with a copy of Ubuntu that I've burned to cd. Any