Linux RHEL - Change hostname

3 step for change hostname to RHEL Linux: edit: /etc/hosts 127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost edit: /etc/sysconfig/network HOSTNAME=srv03.mil11.wide-net.org past into kernel new hostname echo "srv03.mil1.wide-net.org" > /proc/sys/kernel/hostname Or sysctl kernel.hostname=srv03.mil1.wide-net.org Consider a restart net services /etc/init.d/network restart but is not strictly required.

26 February 2012 @ 07:26 · Updated: 30 June 2026 @ 03:28 · leo

Citrix - ICAClient issue on Linux REHL6

Another stupid Citrix ICAClient issue on Redhat linux: [leo@thinkleo2 ~]$ /usr/lib/ICAClient/wfcmgr -icaroot /usr/lib/ICAClient Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Error: Aborting: no fontset found Solution 1 force language C (my favourite for any lang problems): [leo@thinkleo2 ~]$ export LANG=C Solution 2 remove charset cjkuni: [leo@thinkleo2 ~]$ sudo yum remove cjkuni* Loaded plugins: priorities, product-id, refresh-packagekit, rhnplugin, subscription-manager Updating Red Hat repositories. Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package cjkuni-fonts-common.noarch 0:0.2.20080216.1-34.el6 will be erased ---> Package cjkuni-fonts-ghostscript.noarch 0:0.2.20080216.1-34.el6 will be erased ---> Package cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-34.el6 will be erased ---> Package cjkuni-uming-fonts.noarch 0:0.2.20080216.1-34.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================= Package Arch Version Repository Size ============================================================================================================================= Removing: cjkuni-fonts-common noarch 0.2.20080216.1-34.el6 @anaconda-RedHatEnterpriseLinux-201105101829.i386/6.1 0.0 cjkuni-fonts-ghostscript noarch 0.2.20080216.1-34.el6 @rhel-i386-workstation-6 6.2 k cjkuni-ukai-fonts noarch 0.2.20080216.1-34.el6 @rhel-i386-workstation-6 17 M cjkuni-uming-fonts noarch 0.2.20080216.1-34.el6 @anaconda-RedHatEnterpriseLinux-201105101829.i386/6.1 21 M Transaction Summary ============================================================================================================================= Remove 4 Package(s) Installed size: 37 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Erasing : cjkuni-fonts-ghostscript-0.2.20080216.1-34.el6.noarch 1/4 Erasing : cjkuni-ukai-fonts-0.2.20080216.1-34.el6.noarch 2/4 Erasing : cjkuni-uming-fonts-0.2.20080216.1-34.el6.noarch 3/4 Erasing : cjkuni-fonts-common-0.2.20080216.1-34.el6.noarch 4/4 duration: 336(ms) Installed products updated. Removed: cjkuni-fonts-common.noarch 0:0.2.20080216.1-34.el6 cjkuni-fonts-ghostscript.noarch 0:0.2.20080216.1-34.el6 cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-34.el6 cjkuni-uming-fonts.noarch 0:0.2.20080216.1-34.el6 Complete! [leo@thinkleo2 ~]$

24 November 2011 @ 06:05 · Updated: 30 June 2026 @ 03:28 · leo