




已阅读5页,还剩10页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ubunturoot1. rootUbuntusudo passwd rootrootroot2. root/etc/gdm/gdm.confroot AllowRootfalse AllowRoot=true gdm.conf sudo chmod 777 /etc/gdm/gdm.conf rootrootsudo passwd -l rootrootrootsudo -s -HPassword: linux renamelinuxrenamemvrenamemvmvmv path/oldfilename path/newfilenamemvmvrenamerenameman renameNAMErename -Rename filesSYNOPSISrename from to file.DESCRIPTIONrename will rename the specified files by replacing the first occurrence of from in their name by to.For example, given the files foo1, ., foo9, foo10, ., foo278, the commandsrename foo foo0 foo?rename foo foo0 foo?will turn them into foo001, ., foo009, foo010, ., foo278.Andrename .htm .html *.htmwill fix the extension of your html files.renamerenamerename32rename? * charset charsetrenamefoo1, ., foo9, foo10, ., foo278rename foo foo0 foo?foo1foo9foo01foo09?4foofoo0rename foo foo0 foo?foo01foo99foo001foo099foo100?5foofoo0rename foo foo0 foo*foo001foo278foo0001foo0278*foofoofoo0charsetrename foo0 foo foo02*foo0200foo0278foo200foo278foo0fooLinux /binbinbinaryUNIXcplscat/bootLinux/devdevdeviceLinuxDOS.sysWin.vxdLinux/dev/hdaIDE/etc/homewang/home/wangwang/libWindows.dll/lost+foundDOS.chk/mnt/proc/root/sbinsSuper User/tmp/usr/usr/X11R6X-Window/usr/bin/usr/sbin/usr/docLinux/usr/includeLinux/usr/lib/usr/local/usr/usr/manmanLinux/usr/srcLinux/varusr/var/logJDKLINUXrootsudorootlinuxrootrootubunturoot1. JDKlinuxjdkjdk-6u7-linux-i586.bincdjdk-6u7-linux-i586.bin,sudo cp jdk-6u7-linux-i586.bin /usrjdk-6u7-linux-i586.bin/usr/usrcd /usrchmod +x jdk-6u7-linux-i586.bin./jdk-6u7-linux-i586.binrootsu root /usrjdk1.6.0_07jdk2. JDKjdkprofilevigeditorsudo vi /etc/profileumask 022:export JAVA_HOME=/usr/jdk1.6.0_07export JRE_HOME=/usr/jdk1.6.0_07/jreexport PATH=$PATH:/usr/jdk1.6.0_07/binexport CLASSPATH=./:/usr/jdk1.6.0_07/lib:/usr/jdk1.6.0_07/jre/lib,3. JDKTest.javapublic class Testpublic static void main(String args)System.out.println(Hello,Welcome to Linux World!);cdTest.java,javac Test.javajava TestHello,Welcome to Linux World!GCC GCC GMP MPFR MPC GCC GCCgmpmpfrmpcGCCtar -jxf ./mpfr-3.0.0.tar.bz2mv -v mpfr-3.0.0 mpfrtar -jxf ./gmp-5.0.1.tar.bz2mv -v gmp-5.0.1 gmptar -zxf ./mpc-0.8.2.tar.gzmv -v mpc-0.8.2 mpcGCCC/C+FORTRANJAVAOBJCADAccgccCCGCCRPMGCCGCCLinuxUnixGCCgccGCCGCCGCCuninstallGCC 4.1.2GCCGCCGCCGCC1. GCC(gcc-4.1.2)gcc-4.1.2.tar.gzgcc-4.1.2.tar.bz22. gcc-4.1.2.tar.bz2/usr/local/src(),% tar zxvf gcc-4.1.2.tar.gz% bzcat gcc-4.1.2.tar.bz2 | tar xvf -gcc-4.1.2$srcdir$srcdirpwd$srcdir/INSTALLGCCindex.html3. $objdirGCC$srcdir$srcdir /usr/local/gcc-build% mkdir /usr/local/gcc-build% cd gcc-build $objdir 4. GCC$destdir$destdir$objdir$srcdir$srcdirconfigure$destdir% $srcdir/configure -prefix=$destdir GCC 4.1.2/usr/local/gcc-4.1.2$destdir% ./src/gcc-4.1.2/configure -prefix=/usr/local/gcc-4.1.2 -enable-threads=posix-disable-checking -enable-long-long -with-system-zlib -enable-languages=c,c+,javaGCC/usr/local/gcc-4.1.2C/C+JAVAGCC5. % make6. $destdir% make installGCC 4.1.27. GCC 4.1.2gccg+$destdirbin libinclude7.1. gccg+gcjGCC 4.1.2gcc$destdir/binPATHGCCgcc% which gcc/usr/bin/gccgcc/usr/binGCC 4.1.2gccg+gcj/usr/bin% cd /usr/bin% ln -s $destdir/bin/gcc gcc412% ln -s $destdir/bin/g+ g+412% ln -s $destdir/bin/gcj gcj412gcc412g+412gcj412GCC 4.1.2gccg+gcjCC+JAVAGCCgccg+7.2. $destdir/libLD_LIBRARY_PATHGCC 4.1.2/usr/local/gcc-4.1.2Linux% export LD_LIBRARY_PATH=/usr/local/gcc-4.1.2/lib,$HOME/.bash_profileLD_LIBRARY_PATH=/usr/local/gcc-4.1.2/lib:$LD_LIBRARY_PATHexport LD_LIBRARY_PATH% source $HOME/.bash_profile8. gcc412g+412CC+GCCsudoxxx is not in the sudoers file. This incident will be reported.XXXsudo/etc/sudoerssu root ,rootchmod u+w /etc/sudoers ()/etc/sudoersvim /etc/sudoers,i root ALL=(ALL) ALLxxx ALL=(ALL) ALL(xxx) Esc:wqchmod u-w /etc/sudoers(sudoers)sudoerssudoerssudoerssudoers# /etc/sudoers# This file MUST be edited with the visudo command as root.# See the sudoers man page for the details on how to write a sudoers file.#Defaults env_reset# Host alias specification# User alias specification# Cmnd alias specification# Defaults specification# User privilege specificationroot ALL=(ALL) ALL# Uncomment to allow people in group wheel to run all commands# %wheel ALL=(ALL) ALL# Same thing without a password# %wheel ALL=(ALL) NOPASSWD: ALL# Samples# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom# %users localhost=/sbin/shutdown -h now#ubunturootvisudovisudosudoroot ALL=(ALL) ALLubuntu ALL=(ALL) ALLubunturootubuntusu rootubunturootubunturootAliasAlias4Host_AliasCmnd_AliasUser_AliasRunas_Alias1) Host_AliasHost_Alias HOST_FLAG = hostname1, hostname2, hostname32) Cmnd_AliasCmnd_Alias COMMAND_FLAG=cmd1,cmd2,cmd33) User_AliassudoUser_Alias USER_FLAG = user1, user2, user34) Runas_AliasrootoracleRunas_Alias RUNAS_FLAG = operator1, operator2, operator35) USER_FLAG HOST_FLAG=(RUNAS_FLAG) COMMAND_FLAGUSER_FLAG HOST_FLAG=(RUNAS_FLAG) NOPASSWD: COMMAND_FLAG# Host alias specificationHost_Alias EPG = , # User alias specification# Cmnd alias specificationCmnd_Alias SQUID = /opt/vtbin/squid_refresh, /sbin/service, /bin/rm# Defaults specification# User privilege specificationroot ALL=(ALL) ALLubuntu EPG=(ALL) NOPASSWD: SQUIDlinux/2.6.25F$cd $ wget /pub/linux/kernel/v2.6/linux-0.tar.bz2make ,gcc, make-kpkg,menuconfig/etc/apt/sources.list $sudo apt-get install build-essential kernel-package libncurses5-dev /usr/src,linuxlinuslinussrcwget$ cd $ mkdir src & tar jfx linux-0.tar.bz2 -C src/ /src/linux-01.5G$ cd /src/linux-0n$ sudo make mrproperconfigubuntudebiancp /boot/config-uname -r ./.config./.config.configlinux-0.configmake mrproperlinux-2.6.32make localmodconfig, MB: (), , iso., iso, .:make localmodconfigmenuconfig$sudo make menuconfigesc;,M*xconfig sudo aptitude install libqt3-headers libqt3-mt-dev libqt3-compat-headers libqt3-mt #xconfigmake xconfigLinux 2.6.19.x :config ./config20080630, .configubuntumake-kpkg,:$sudo make-kpkg clean #$ sudo make-kpkg -initrd -initrd -append-to-version=-dell1400 kernel_image kernel-headersdell1400.linux-headers-.-_i386.deblinux-image-.-i386.deb$ cd .$ sudo dpkg -i linux-image-tabtabtab$ sudo rebootnvidiaxwindowgdmnvidianvidialinux1General setupGeneral setupPrompt for development and/or incomplete code/drivers4965alsaKernel log buffer size 15ia6416Control Group support Choose SLAB allocator (SLUB (Unqueued Allocator) slabslubslub2Block layerBlock layer2TBSupport for Large Block Devices Support for Large Single Files 2TB3Processor type and featuresProcessor type and featurescpuSymmetric multi-pr
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 红茶知识培训课件
- 专利申请与维护协议
- 红楼梦第5章课件
- 小区周边农业资源合作开发协议
- 2025年高校产学研合作模式下的关键技术转移策略报告
- 2025年新能源行业氢能应用与产业化前景分析报告
- 网络文学IP全产业链开发中的版权问题与风险防范报告
- 2025年跑步运动行业研究报告及未来行业发展趋势预测
- 中级导游等级考试(导游知识专题)能力提高训练题及答案(2025年川省)
- 诊所感染知识培训课件
- 土石方工程计量计价课件
- 第27课 中国特色社会主义的开创与发展 课件 中外历史纲要(上)
- 护士职业行为规范课件
- 市(县)级温室气体排放源、排放清单报告模板
- T/CACEM 31.5-2023高速公路经营管理第5部分:服务区服务要求
- DB31/T 779-2014学校物业管理服务规范
- 2025年三级调饮师职业技能鉴定理论考试题库(浓缩500题)
- 配网安规培训
- 人教版语文九年级上册教案全集汇编
- 别墅电梯维保协议
- 环洪泽湖生态农业生物技术重点实验室可行性研究报告
评论
0/150
提交评论