<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > linux學(xué)習總結

linux學(xué)習總結

作者: 時(shí)間:2012-08-02 來(lái)源:網(wǎng)絡(luò ) 收藏

操作系統文章專(zhuān)題:操作系統詳解(不再難懂)

本文引用地址:http://dyxdggzs.com/article/148660.htm

問(wèn)題1:linux系統的定制和安裝

STep 1> IBM PC按F12,來(lái)選擇從CD-ROM起動(dòng);

step 2> Fedora

問(wèn)題2:基本命令

1> shutdown -h now 在關(guān)閉完成后停止(Halt)系統

shutdown -r now 在關(guān)閉完成后重啟動(dòng)(Reoot)系統

2> uname 用途是:print system informatiON

-a, --all

print all information, in the following order

-s, --kernel-nAME

print the kernel name

-n, --nodename

print the network node hostname

-r, --kernel-release

print the kernel release

-v, --kernel-version

print the kernel version

-m, --machine

print the machine hardware name

-p, --processor

print the processor type

-i, --hardware-platform

print the hardware platform

-o, --operating-System

print the operating system

--help

display this help and exit

--version

output version information and exit

3> vi

其中wq!強制修改

4> clear

5> ifconfig

6> reboot

7> man

8> startx

9> fdisk -l

10> redhat-config-xfree86

11> mkbootdisk

12> cp

13> mkdir

14> rm -rf

15> which

16> pwd --- print name of current/working directory

17> find

18> grep

問(wèn)題3:內核的重新編譯,目的是支持NTFS系統和支持USB接口的keyboard mouse

step 1> 必須進(jìn)入到這個(gè)目錄 /usr/src/linux-2.4

step 2> make menuconfig 選擇NTFS支持和選擇USB keybOArd mouse支持,多保存幾次

step 3> make dep

step 4> make clean

step 5> make bzImage

step 6> make modules

step 7> make modules_install

step 8> make install

如果想將NTFS文件系統改為可寫(xiě)支持,在make menuconfig中有2個(gè)選項

NTFS file system supPort (read only)

NTFS write support (DANGEROUS)

問(wèn)題4:/boot/grub/grub.conf中有從什么系統起動(dòng)的選擇

問(wèn)題5:怎么mount/umount NTFS系統

step 1> 先通過(guò)硬件瀏覽器來(lái)看機器硬盤(pán)的DEVICE名,for example,hda5,hda6

step 2> 先在 /mnt目錄下用mkdir建立ntfs_hda5 ntfs_hda6

step 3> 掛載

mount -t ntfs -o utf8 /dev/hda6 /mnt/ntfs_hda6

mount -t ntfs -o iocharset=cp936 /dev/hda6 /mnt/ntfs_hda6

卸載

umount /mnt/ntfs_hda6

step 4> 自動(dòng)mount ntfs文件系統的文件是/etc/fstab

問(wèn)題6:怎么測試聲卡安裝?

運行 redhat-config-soundcard

位置在 /usr/bin/redhat-config-soundcard

問(wèn)題7:這臺IBM PC機器顯卡驅動(dòng)安裝,只能支持256色,無(wú)法支持16bits和24bits

在BIOS設置中Video Setup中將Shared System Memory改為8192K,原因是這臺IBM PC用的是集成顯卡,它需要和操作系統共用memory。

redhat-config-xfree86,在/etc/X11目錄下產(chǎn)生XF86Config,這個(gè)文件很重要,可認真看下。

問(wèn)題8:網(wǎng)絡(luò )配置舉例

ifconfig ----- configure a network interface

ifconfig eth0 add 192.168.2.28

ping 192.168.2.29

mount 192.168.2.29:/opt/STM/ST40Linux-1.0/devkit/sh4/target /mnt/cdrom

ifconfig eth0 down

問(wèn)題9:打包/解包

打包

tar cdvf [目標] [源]

c create

解包

tar zxvf RealPlay9.tar.gz

x extract

Z用compress程序來(lái)壓縮和解壓

z用zip程序來(lái)壓縮和解壓

問(wèn)題10:用Mozilla瀏覽器上網(wǎng)

當網(wǎng)卡驅動(dòng)安裝完畢后,在Mozilla中 Edit->Preferences->Advanced->Proxies中設置

HTTPProxy: lps1.hkg.st.com Port 8080

問(wèn)題11:軟件包管理

1> redhat-config-packages

2> rpm

-q The general form of an rpm query command

-i This install a new package

問(wèn)題12:mp3播放

step 1> 首先知道 XMMS是 an audio player for X

step 2> which xmms

step 3> 得到

xmms-mp3-1.2.8-3.p.i386.rpm

step 4> rpm -i xmms-mp3-1.2.8-3.p.i386.rpm

step 5> xmms amour.mp3

問(wèn)題13:movie播放

安裝RealPlayer.i586.rpm

問(wèn)題14:

/ 根目錄

./ 當前目錄

/ 上一級目錄

問(wèn)題15:中文輸入

step 1> 在系統設置->語(yǔ)言中選擇中文

step 2> Ctrl+空格

問(wèn)題16:webmail1.sha.st.com收郵件

問(wèn)題17:無(wú)法支持瀏覽中文目錄和文件?

在mount時(shí)增加 -o utf8

UTF8 is the filesystem safe 8-bit encoding of unicode that used by the console.

問(wèn)題18:進(jìn)程管理

ps -A

ps -a

kill ID

問(wèn)題19:安裝星際譯王

問(wèn)題20:與公司ftp服務(wù)器建立連接,通過(guò)ftp進(jìn)行文件傳輸

step 1> ftp 138.198.199.186

step 2> user name: xiangning_lai password: xiangning_lai

文件傳輸功能的實(shí)現參閱>

或者當進(jìn)入ftp>提示狀態(tài)后敲help

問(wèn)題21:如何編寫(xiě)純文本文件?

保存文件為*.txt即可。

問(wèn)題22:安裝網(wǎng)絡(luò )打印機2300

IP 138.198.199.44

PostScript Printer

step 1> 系統設置->打印->新建->添加一個(gè)新打印隊列->…

step 2> 隊列類(lèi)型選擇聯(lián)網(wǎng)的CUPS(IPP)

step 3> 服務(wù)器 138.198.199.44

step 4> 打印機選擇 PostScript Printer

問(wèn)題23:如何在linux環(huán)境下進(jìn)行ST軟件開(kāi)發(fā)?

step 1> 安裝st20 toolset for linux;

step 2> 閱讀st20 toolset for linux的安裝文檔 install.htm

Before the tools are used, there are several environment variables that must be set.

ST20ROOT must point to the root of the installed toolset (/opt/STM/ST20R2.0.5 in the above example)。

The PATH should contain /opt/STM/ST20R2.0.5/bin.

The LD_LIBRARY_PATH should contain /opt/STM/ST20R2.0.5/lib.

step 3> 用source來(lái)設置環(huán)境變量

其它和在windows環(huán)境開(kāi)發(fā)類(lèi)似了。

問(wèn)題24:使用Emacs和kwrite來(lái)編寫(xiě)

linux操作系統文章專(zhuān)題:linux操作系統詳解(linux不再難懂)

linux相關(guān)文章:linux教程




關(guān)鍵詞: 總結 學(xué)習 linux

評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>