Setting up networking...done.
Hostname: none.
Configuring network interfaces: done.
Starting portmap daemon: portmap.
INIT: Entering runlevel: 3
Starting sshd:/usr/sbin/sshd: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
ok
Starting xinetd: ok
Linux xxha 2.6.23.17_stm23_A19-SDK7105_7105-STSDK #19 PREEMPT Thu Jun 24 11:38:20 CST 2010 sh4 unknown unknown GNU/Linux
#
# hostname.sh Set hostname.
#
# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl
#
# chkconfig: S 40 0
#
then
hostname --file /etc/hostname
fi
[root@localhost etc]#
xxha
[root@localhost etc]#
Setting up networking...done.
Hostname: xxha.
Configuring network interfaces: done.
Starting portmap daemon: portmap.
INIT: Entering runlevel: 3
Starting sshd:/usr/sbin/sshd: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
ok
Starting xinetd: ok
Linux xxha 2.6.23.17_stm23_A19-SDK7105_7105-STSDK #19 PREEMPT Thu Jun 24 11:38:20 CST 2010 sh4 unknown unknown GNU/Linux
Usage: hostname [-v] {hostname|-F file} set hostname (from file)
domainname [-v] {nisdomain|-F file} set NIS domainname (from file)
hostname [-v] [-d|-f|-s|-a|-i|-y|-n] display formatted name
hostname [-v] display hostname
-a, --alias alias names
-i, --ip-address addresses for the hostname
-f, --fqdn, --long long host name (FQDN)
-d, --domain DNS domain name
-y, --yp, --nis NIS/YP domainname
-F, --file read hostname or NIS domainname from given file
also read the DNS domain or the FQDN (fully qualified domain name).
Unless you are using bind or NIS for host lookups you can change the
FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
part of the FQDN) in the /etc/hosts file.
[root@localhost etc]#
7096



被折叠的 条评论
为什么被折叠?



