[Ô´´]linuxϵͳ£¬ltib¹¤¾ß¿ª·¢powerpc
¹¤×÷Ä¿±ê£º¿ª·¢°åÉϵÄÎļþϵͳͨ¹ýnfsÍøÂç¹ÒÔØ£¬µ÷ÊÔpowerpc 8315»ò5121
PC»ú»·¾³£º(1)ubuntu 8.04 linux OS »òÕß (2)ÐéÄâ»úVMware£¨ubuntu 8.04£© + Windows XP OS
¿ª·¢°å£ºFreescaleµÄpowerpc¿ª·¢°å8315»ò5121µÈµÈ
PC»úÐèÒªµÄ´®¿Úµ÷ÊÔ¹¤¾ß:
£¨1£©ubuntu linux OS : minicom
£¨2£©Windows XP OS: ¸½¼þ->ͨѶ¹¤¾ß->³¬¼¶ÖÕ¶Ë
PC»ú´®¿ÚÊôÐÔµäÐÍÖµ£º
²¨ÌØÂÊ-115200£¬Êý¾Ýλ-8£¬ÆæżУÑé-ÎÞ£¬Í£Ö¹Î»-1£¬Êý¾ÝÁ÷¿ØÖÆ-ÎÞ
¿ª·¢°åÆô¶¯£¬½øÈëu-bootÆô¶¯Ê±µÄÌáʾÃüÁîÐУ¬ÊäÈëprint,¿ÉÒÔÏÔʾ³öbaudrate=115200
£¨3£©ubuntuÐéÄâ»úÓëwindows XP»¥´«Îļþ£¬Í¨³£ÐèÒªssh·þÎñ
linux@ubuntu:~/ltib$ sudo apt-get install openssh-server openssh-client
linux@ubuntu:~/ltib$ sudo /etc/init.d/ssh restart
ubuntu 8.04 linuxÖ÷»ú¿ªÆônfs·þÎñµÄ²½Ö裺
£¨1£©°²×°tftp¡¢ nfs-kernel-server¡¢ xinetd
sudo apt-get install tftp-hpa
sudo apt-get install tftp
sudo apt-get install nfs-kernel-server
sudo apt-get install xinetd
£¨2£©ÅäÖÃÖ÷»úµÄnfsºÍtftp
a)ÔÚ/etc/exportsÎļþÖмÓÈëÒ»ÐУº
/home/user-name/ltib/rootfs 192.168.0.*(rw,sync,no_root_squash,no_subtree_check)
b)н¨Îļþ/etc/xinetd.d/tftp,ÊäÈëÈçÏÂÄÚÈÝ£º
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot -c
disable = no
per_source = 11
cps = 100 2
}
(3)ÖØÆônfsºÍtftp·þÎñ£º
sudo /etc/init.d/xinetd restart
sudo /etc/init.d/nfs-kernel-server restart
(4)²âÊÔtftp·þÎñ£º
°²×°tftp¡¢tftp-hpaºó£¬ÊäÈëÃüÁtftp ±¾»úIPµØÖ·
£¨ÕâÀïlinuxÊÇÎÒµÄubun
Ïà¹ØÎĵµ£º
AIXºÍLinuxÏÂÈçºÎ²é¿´CPUºÍÄÚ´æÐÅÏ¢
AIX²Ù×÷ϵͳ
AIXµÄÓ²¼þÐÅÏ¢¿ÉÒÔͨ¹ýprtconfÃüÁî¿´µ½¡£
1. ²é¿´Âß¼CPU¸öÊý
#pmcycles -m
CPU 0 runs at 4204 MHz
CPU 1 runs at 4204 MHz
CPU 2 runs at 4204 MHz
CPU 3 runs at 4204 MHz
CPU 4 runs at 4204 MHz
CPU 5 runs at 4204 MHz
CPU 6 runs at 4204 MHz
CPU 7 runs ......
ssh
¹¦ÄÜ£º
Ô¶³ÌµÇ½
Ó÷¨£º
ssh user@hotname
scp
¹¦ÄÜ£º
Ô¶³Ì¿½±´
Ó÷¨£º
ssh [-r]
local_user@local_ip:localfile remote_user@remote_ip:remotefile
²ÎÊý£º
-r ¿½±´ÍêÕûÎļþ¼Ð¼°Îļþ
ldconfig
¹¦ÄÜ£º
¶¯Ì¬Á´½Ó¿â¹ÜÀí£¬Ö÷ÒªÊÇÔÚĬÈÏËÑѰĿ¼(/libºÍ/usr/lib)ÒÔ¼°¶¯Ì¬¿âÅäÖÃÎļþ/etc/ld.so.c ......
ÄÚºËÄ£¿é¹ÜÀíÊÇѧϰLinuxµÄÒ»¸öÖØÒªµÄ±Ø¾Ö®Â·£¬Èç¹û²»¶ÏµÄʹÓÃÐÂÓ²¼þ¿ÉÄÜÕâ·½Ãæ¸üÏÔµÃÓÈΪÖØÒª¡£
1. lsmod ÁгöÒѾ¼ÓÔصÄÄÚºËÄ£¿é
lsmod ÊÇÁгöĿǰϵͳÖÐÒѼÓÔصÄÄ£¿éµÄÃû³Æ¼°´óСµÈ£»ÁíÍâÎÒÃÇ»¹¿ÉÒԲ鿴 /proc/modules £¬ÎÒÃÇÒ»Ñù¿ÉÒÔÖªµÀϵͳÒѾ¼ÓÔصÄÄ£¿é¡£
2.modinfo ²é¿´Ä£¿éÐÅÏ¢
modinfo ¿ÉÒԲ鿴ģ¿ ......
1¡¢ÏȽ«ÐéÄâ»úPower Off£¬ÔÚVirtual Machine Setting¶Ô»°¿òÀïµã»÷×óϽǵēAdd”£¬Ñ¡Ôñ“Hard Disk”£¬Ö®ºóÑ¡Ôñ“Create a new virtual disk”£¬·ÖÅäÈÝÁ¿£¬ÆäËûĬÈÏÅäÖþͿÉÒÔÁË¡£
2¡¢Æô¶¯ÐéÄâ»úϵͳ£¬ÓÃrootµÇ½£¬ÔÚ ÃüÁîÐÐÓÃfdisk -l²é¿´ÊÇ·ñʶ±ðÁËÐÂÓ²ÅÌ£¬Èç¹ûÌí¼ÓµÄÊÇIDEÓ²ÅÌ£¬¾ÍÓ¦¸Ã¿ ......
³ÉΪһÃû¾«Í¨ Linux ³ÌÐòÉè¼ÆµÄ¸ß¼¶³ÌÐòÔ±Ò»Ö±ÊDz»ÉÙÅóÓÑ×Î×ÎÒÔÇóµÄÄ¿±ê¡£¸ù¾ÝÖлªÓ¢²ÅÍøͳ¼ÆÊý¾Ý£¬±±¾©µØÇø Linux ³ÌÐòÔ±ÔÂнƽ¾ùΪ Windows ³ÌÐòÔ±µÄ 1.8 ±¶¡¢Java ³ÌÐòÔ±µÄ 2.6 ±¶£¬ Linux ³ÌÐòÔ±ÄêÖÕ½±½ðƽ¾ùΪ Windows ³ÌÐòÔ±µÄ 2.9 ±¶¡£Í¬Ê±Êý¾ÝÏÔʾ£¬Ëæ׏¤×÷¾ÑéµÄÔö³¤£¬ Linux ³ÌÐòÔ±Óë Windows ³ÌÐòÔ±µÄÊÕÈë²î¾à» ......