2008年12月11日星期四

fc8 重装之后

命令
挂载ntfs格式的命令
mount -t ntfs-3g /dev/sda7 /media/gao/ -o force
看一些权限
cat /boot/config-2.6.23.1-42.fc8 | grep -i ext3
解压rar包
/media/SOFTWARE/linux/rar/rar x
alacarte 是Main Menu的命令
用cat /proc/下面的看到很多的信息
如:cat /proc/version 看linux的版本
cat /proc/meminfo 看内存信息
cat /proc/cpuinfo 看cpu的信息
在终端打开emacs -nw
mysoftware
1。安装chm阅读器sudo yum install gnochm
2。firefox
标签/home/gaowei/.mozilla/firefox/8umrv5sm.default
bookmarksb.bak
bookmarksb.html
3.webmin-1.400-1.noarch.rpm
4.realplayer 11 gold
http://linux.softpedia.com/progDownload/RealPlayer-Download-2742.html
Preparing... ########################################### [100%]
package RealPlayer-11.0.1.1056-20081001 is already installed
6。gtk
当./configure完了之后就
出现下面的内容:
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.17.6 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were not met:
Requested 'glib-2.0 >= 2.17.6' but version of GLib is 2.14.2
Requested 'pango >= 1.20' but version of Pango is 1.18.3
Requested 'cairo >= 1.6' but version of cairo is 1.4.10
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
7 VirtualBox
sudo rpm -ivh qt4-4.4.1-2.fc8.i386.rpm
sudo rpm -ivh qt4-4.4.3-1.fc8.i386.rpm
sudo rpm -ivh qt4-x11-4.4.3-1.fc8.i386.rpm
sudo rpm -ivh VirtualBox-2.0.6_39765_fedora8-1.i386.rpm
rpm
口令:
Preparing... ########################################### [100%]
1:VirtualBox ########################################### [100%]
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VirtualBox
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VBoxSDL
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/VBoxHeadless
chcon: can't apply partial context to unlabeled file /usr/lib/virtualbox/vboxwebsrv
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
8。关于一些绘图软件
gaphor
安装要超级用户,而且要有网络才可以,好像要下载一些东西的
You can start Gaphor by running the run-gaphor.sh
dia
很好安装,和一般的源代码安装方法是一样的!
关于一些图片的位置
/usr/share/pixmaps
/usr/share/icons/hicolor/scalable/apps
9
[gaowei@localhost qq]$ sudo rpm -ivh skype-2.0.0.72-fc5.i586.rpm
warning: skype-2.0.0.72-fc5.i586.rpm: Header V3 DSA signature: NOKEY, key ID d66b746e
Preparing... ########################################### [100%]
1:skype ########################################### [100%]
[gaowei@localhost qq]$ skype
10.
[gaowei@localhost player]$ ./Livestation-2.5.0.run
----------------------------------------\n
Do you accept the license [y/n]: y
\n----------------------------------------\n
-> Non-root user detected, will try to sudo when copying.
\n----------------------------------------\n
Installation directory [/usr/local/Livestation]:
Installation directory [/usr/local/Livestation]:
\n----------------------------------------\n
Create a symlink in /usr/bin [Y/n]: y
\n----------------------------------------\n
-> Making directory /usr/local/Livestation.
口令:
-> Copying files.
-> Creating symlinks.
\n----------------------------------------\n
Done. Run 'livestation' to start the player.\n
[gaowei@localhost player
http://tvants.en.softonic.com/
11.3d软件
[gaowei@localhost ArtOfIllusion]$ ls
aoi-linux-install.jar aoisetup.sh
[gaowei@localhost ArtOfIllusion]$ ./aoisetup.sh
/usr/bin/java -jar aoi-linux-install.jar
[gaowei@localhost ArtOfIllusion]$
12
[root@localhost install_flash_player_10_linux]# ./flashplayer-installer
Copyright(C) 2002-2006 Adobe Macromedia Software LLC. All rights reserved.
Adobe Flash Player 10 for Linux
Adobe Flash Player 10 will be installed on this machine.
You are running the Adobe Flash Player installer as the "root" user.
Adobe Flash Player 10 will be installed system-wide.
Support is available at http://www.adobe.com/support/flashplayer/
To install Adobe Flash Player 10 now, press ENTER.
To cancel the installation at any time, press Control-C.
NOTE: Please exit any browsers you may have running.
Press ENTER to continue...
Please enter the installation path of the Mozilla, Netscape,
or Opera browser (i.e., /usr/lib/mozilla):
10。links浏览器
vmware
序列号N1HPX-6U248-D206Y-4Y8Z6
[root@localhost ~]# /usr/bin/vmware-config.pl
1.
In which directory do you want to install the theme icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.23.1-42.fc8/build/include]
None of the pre-built vmblock modules for VMware Workstation is suitable for
your running kernel. Do you want this program to try to build the vmblock
module for your system (you need to have a C compiler installed on your system)? [yes]
Do you want networking for your virtual machines? (yes/no/help) [yes]
You must read and accept the VMware VIX API End User License Agreement to
continue.
Press enter to display it.
Do you accept? (yes/no) yes
Thank you.
In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]
In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]
The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]
In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]
In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]
hardware
[gaowei@localhost AMUSEMENT ]$ mount
/dev/sda9 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
/dev/sda8 on /media/AMUSEMENT type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda1 on /media/OS type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)
/dev/sda6 on /media/SOFTWARE type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)
/dev/sda7 on /media/LESSON type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda5 on /media/VMWARE type ext2 (rw,nosuid,nodev,uhelper=hal)
[gaowei@localhost AMUSEMENT ]$ df
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda9 19304228 8826728 9481072 49% /
tmpfs 772932 12 772920 1% /dev/shm
/dev/sda8 12330328 6150732 6179596 50% /media/AMUSEMENT
/dev/sda1 15716960 712152 15004808 5% /media/OS
/dev/sda6 15716960 2769888 12947072 18% /media/SOFTWARE
/dev/sda7 15732328 4274160 11458168 28% /media/LESSON
/dev/sda5 34911367 5847569 27228610 18% /media/VMWARE
一种IDE应为hdb是用来命名主IDE上的从接口
另一种SCSI接口设备是用sd命名的
http://219.238.239.156:8000/osw/nimda
用户 u1006 口令 pass
 李开复:一是“内功”要学好,不要只是去学各种皮毛的语言、工具,和一些三流公司招聘列出来的要求,要把数据结构、算法、数据库、操作系统原理、计算机结构、离散数学等课程学好;二是多编程,最好大学四年有十万行编程的经验;还要讲究“实干”,Google是动手者的天堂,另外要有一些数学能力,还要练习团队精神,与人合作。
在 Linux 内核源文件 include/asm-i386/unistd.h 中,可以找到所有系统调用的定义。
http://kernelnewbies.org/KernelHacking
解压
.tar
解包: tar xvf FileName.tar
打包:tar cvf FileName.tar DirName
(注:tar是打包,不是压缩!)
---------------------------------------------
.gz
解压1:gunzip FileName.gz
解压2:gzip -d FileName.gz
压缩:gzip FileName
.tar.gz
解压:tar zxvf FileName.tar.gz
压缩:tar zcvf FileName.tar.gz DirName
---------------------------------------------
.bz2
解压1:bzip2 -d FileName.bz2
解压2:bunzip2 FileName.bz2
压缩: bzip2 -z FileName
.tar.bz2
解压:tar jxvf FileName.tar.bz2
压缩:tar jcvf FileName.tar.bz2 DirName
---------------------------------------------
.bz
解压1:bzip2 -d FileName.bz
解压2:bunzip2 FileName.bz
压缩:未知
.tar.bz
解压:tar jxvf FileName.tar.bz
压缩:未知
---------------------------------------------
.Z
解压:uncompress FileName.Z
压缩:compress FileName
.tar.Z
解压:tar Zxvf FileName.tar.Z
压缩:tar Zcvf FileName.tar.Z DirName
---------------------------------------------
.tgz
解压:tar zxvf FileName.tgz
压缩:未知
.tar.tgz
解压:tar zxvf FileName.tar.tgz
压缩:tar zcvf FileName.tar.tgz FileName
---------------------------------------------
.zip
解压:unzip FileName.zip
压缩:zip FileName.zip DirName
---------------------------------------------
.rar
解压:rar a FileName.rar
压缩:r ar e FileName.rar


rar请到:http://www.rarsoft.com/download.htm 下载!
解压后请将rar_static拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
[root@www2 tmp]# cp rar_static /usr/bin/rar
---------------------------------------------
.lha
解压:lha -e FileName.lha
压缩:lha -a FileName.lha FileName

lha请到:http://www.infor.kanazawa-it.ac.jp/.../lhaunix/下载!
>解压后请将lha拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
[root@www2 tmp]# cp lha /usr/bin/
---------------------------------------------
.rpm
解包:rpm2cpio FileName.rpm | cpio -div
---------------------------------------------
.tar .tgz .tar.gz .tar.Z .tar.bz .tar.bz2 .zip .cpio .rpm .deb .slp .arj .rar .ace .lha .lzh
.lzx .lzs .arc .sda .sfx .lnx .zoo .cab .kar .cpt .pit .sit .sea
解压:sEx x FileName.*
压缩:sEx a FileName.* FileName

sEx只是调用相关程序,本身并无压缩、解压功能,请注意!
sEx请到: http://sourceforge.net/projects/sex下载!
解压后请将sEx拷贝到/usr/bin目录(其他由$PATH环境变量指定的目录也可以):
[root@www2 tmp]# cp sEx /usr/bin/
(其实看帮助是最好的方法,一般各个命令都可以用“--help”参数得到常用使用方法!
卸载wine安装的软件
Wine Software Uninstaller万一不行就用下面的!
~/.wine/drive_c/删除你不想要的!
cd~/.local/share/applications/wine/
这四个目录中保存着安装的程序信息,删除就可以了:
$HOME/.config/menus/applications-merged/wine* (好像是xml文件,有乱码也没有关系,不会影响显示!)
$HOME/.local/share/applications/wine (直接影响开始程序菜单中的显示!)
$HOME/.local/share/desktop-directories/wine*
$HOME/.local/share/icons/????_*.xpm (程序图标)

没有评论:

time