+ Post New Thread
Results 1 to 5 of 5
*nix Thread, Setting locale in CentOS 5.x, and other problems in Technical; I'm stuck with using CentOS for our VLE and I've been building up a new server to replace the one ...
  1. #1

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182

    Setting locale in CentOS 5.x, and other problems

    I'm stuck with using CentOS for our VLE and I've been building up a new server to replace the one that's dying. I can't set the locale though: I've set keyboard layout in the setup doohickey, but it doesn't work, and whatever I tell locale(1) it insists on being en_US.UTF8.

    In debian-land I'd dpkg-reconfigure locales and then build the .mo file with localegen(1); is there a CentOS equivalent?

    I also can't make the console font sensible or in colour, which is just bugging me, but that's for bonus points.

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    You know my feelings on Centos ...

    Tried system-config-language and localedef ?

  3. Thanks to kmount from:

    powdarrmonkey (26th October 2009)

  4. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by kmount View Post
    You know my feelings on Centos ...
    Shared, hence the struggle!

    Managed to set the locale (in /etc/sysconfig/i18n, of all places) and re-initting enables it, so that's fine (already tried system-config-language, load of help that was..) Had to force localedef to do its job though because there are invalid characters in the .po, thanks centos!

    The console is still not right though - seems to be in an absolutely essential fallback mode, so no column geometry, letter weighting, colour, clearing - nothing

  5. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    bleh ...

  6. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Got it: it's on a Xen host, and the xen kernel forces all output to the serial console, which of course can only talk vt100

    Might just have to put up with it, I don't care that much.

SHARE:
+ Post New Thread

Similar Threads

  1. CentOs Home Server
    By LoveToLearn in forum How do you do....it?
    Replies: 6
    Last Post: 15th February 2009, 08:46 AM
  2. Setting Up Moodle - Initial Problems
    By Half-Dead in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 27th January 2009, 05:36 PM
  3. Problems setting folder permissions in GP
    By TheWhiteWiltord in forum Windows
    Replies: 3
    Last Post: 27th January 2009, 12:42 PM
  4. CentOS User help
    By Messa in forum *nix
    Replies: 4
    Last Post: 17th September 2008, 09:48 AM
  5. Virutal Machine And CentOS
    By My220x in forum *nix
    Replies: 34
    Last Post: 18th July 2008, 06:11 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •