Basic
i386 i586 i686 = CPU's level
x86_64 = x64
x86 32bit = x86
C++ project
>Case Sensitive, #include "ExampleFile.h"
X11 - X windows
---Basic End---
APP
DropBox
http://download.pchome.net/system/file/fileman/down-178780-1.html
Editor - vi
“/” - search
http://net.zdnet.com.cn/network_security_zone/2008/0519/869835.shtml
Share
Liniux access to Windows
Places->Connect to Server->Windows Share
Remote
>Windows ->Linux
1) XMing
One window->Start a prgoram->gnome-session->Using PuTT
2) Other
http://hi.baidu.com/flystarhj/blog/item/11dffe03aa5988054afb5155.html
>Linux -> Windows
RemoteDesktopClient
---App End---
Command
#setup set serveice by "space"
#ifconfig Network settings
get Mac adress -> eth0 setting, ip4 auto get, ip6 disable
#init3 back to command line
#init6 restart
#reboot
#shutdown
#startx launch XWindows
#ls list the directory
#chmod change the usr access right to the file (777)
#gunzip for gz file
#tar xvf for tar file
#rm -rf delete the tree (Recursion Force)
#rm -f delete the file
#find -name 'qt*' find all the qt related file/folder
#ls -a list all include the invisable ones
#ldconfig configure dynamic linker run-time bindings
#cp -f -a -r
http://www.ategpu.com/2009/08/14/linux-cp%E5%91%BD%E4%BB%A4%E8%AF%A6%E8%A7%A3.html
X11R6 - X Protocol version 11 Release 6
Uninstall program
#chmod +x unistall
./unistall
Environment
#export PATH=$PATH:/opt/au1200_rm/build_tools/bin
ldconfig
#build the binary
http://www.cnblogs.com/amboyna/archive/2008/03/08/1096024.html
Version
which 'command' = cmd path
'command' -v = cmd versionCheck Linux version
1. uname -a Webjx.Com
2. cat /proc/version
3. cat /etc/issue
4. lsb_release -a
Installed package
rpm -qa | grep "name"
whereis # search for the file
If you want to install a downloaded RPM or DEB file manually
rpm -ivh xargs.rpm
yum install application_name
(dpkg -i package.deb)
yum check
rpm -qa|grep yum
卸载
rpm -qa|grep yum|xargs rpm -e --nodeps
This system is not registered with RHN.
1) update the source to http://centos.ustc.edu.cn/centos/5/os/i386/
/etc/yum.repos.d/rhel-debuginfo.repo
2) yum makecache
yum update
http://xingxing5421.blog.163.com/blog/static/11944631920113110347302/
http://realself.blogcn.com/articles/this-system-is-not-registered-with-rhn.html
rename the file to
/etc/yum.repos.d/rhel-debuginfo.repo
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
Path with ()
() in termination should be \(\)
() in command could be "()"
Time error
warning: Clock skew detected. Your build may be incomplete.
find . -type f | xargs -n 5 touch 或者find ./ -name "*" -exec touch {} /
While qmake ..make?? has modificationtime1.8e+07sinthefuture
- touch /usr/lib/qt3/mkspecs/default/qmake.conf touch all the files that reports the time error
主要是系统时区设置错误造成的。在安装有多个linux系统的情况下,如果一个系统的时间设置与其它的不一致,在一个系统中保存的源程序切换到另一个系统使用和编译时,也会发生这种问题。
---Command End---
Qt
Install
>Install Qt Creator
http://blog.csdn.net/defonds/article/details/4946472
>Build and Install Qt:
./configure -platform linux-g++-64
http://doc.qt.nokia.com/4.7-snapshot/install-x11.html
http://blog.csdn.net/defonds/article/details/4941746
Xrender
-Note:You must compile with XRender support to get alpha transparency support for pixmaps and images.
http://doc.qt.nokia.com/4.7/requirements-x11.html
Development packages for these libraries contain header files that are used when building Qt from its source code.
http://pkgs.org/
#the site for package downloading
http://linuxpackages.net/
Build Qt: ./configure -xrender
make
make install #use -prefix to set the install path
---Qt End---