SmartVessel

Foucs on C++

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  Linux-CentOS

摘要:/etc/group is a text file which defines the groups on the system. You can use the groups command to display group memberships for any user using the following syntax.groupsgroups userName-HereExamplepen a command-line terminal (select Applications > Accessories > Terminal), and then type:$ gro 阅读全文
posted @ 2013-03-13 11:20 SmartVessel 阅读(183) 评论(0) 推荐(0)

摘要:http://wiki.centos.org/HowTos/JavaRuntimeEnvironmentJava i386 JRE and plugin Download the latest Linux RPM (self-extracting file), currently jre-6u30-linux-i586-rpm.bin, from java.com then as root install and configure the alternatives system and plugins: # cd [download directory] # sh ./jre-6u30-li 阅读全文
posted @ 2012-11-07 10:57 SmartVessel 阅读(778) 评论(0) 推荐(0)

摘要:I can confirm that running 'eclipse -initialize' as root after installing any plugin enable all installed plugins for other users then root 阅读全文
posted @ 2012-09-13 17:30 SmartVessel 阅读(198) 评论(0) 推荐(0)

摘要:check /var/lock previlegesudo chgrp lock /var/lock //make sure its group is locksudo chmod 775 /var/lock //give group lock write previlegeusermod -a -G lock bruce //add user to lock groupusermodexample-Addaexistingusertoexistinggroupusermod-a-Gftpbruce 阅读全文
posted @ 2012-09-13 11:21 SmartVessel 阅读(235) 评论(0) 推荐(0)

摘要:CentOS Linux comes with CentOS-Media.repo which is used to mount the default locations for a CDROM / DVD on CentOS-5. You can use this repo and yum to install items directly off the DVD ISO that we release. Open /etc/yum.repos.d/CentOS-Media.repo file, enter: Title# vi /etc/yum.repos.d/CentOS-Med... 阅读全文
posted @ 2012-09-11 13:54 SmartVessel 阅读(299) 评论(0) 推荐(0)

摘要:install 'Development Tools' group. These tools include core development tools such as automake, gcc, perl, python, and debuggers: => flex => gcc => redhat-rpm-config => strace => rpm-build => make => pkgconfig => gettext => automake => strace64 => gdb => b 阅读全文
posted @ 2012-09-11 13:40 SmartVessel 阅读(195) 评论(0) 推荐(0)

摘要:http://wiki.centos.org/AdditionalResources/Repositories/RPMForgeDownload the rpmforge-release packagewgethttp://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpmInstall DAG's GPG keyrpm--importhttp://apt.sw.be/RPM-GPG-KEY.dag.txtInstall the package rpm-irpmforge-release-0. 阅读全文
posted @ 2012-09-11 13:23 SmartVessel 阅读(303) 评论(0) 推荐(0)

摘要:find installed packageyumlistinstalled|greppackagerpm-qa|greppackageremove installed packageyumremovepackagerpm-epackagefind package from repositoryyumsearchpackageyumlist|greppackage 阅读全文
posted @ 2012-09-05 17:12 SmartVessel 阅读(372) 评论(0) 推荐(0)

摘要:http://www.thegeekstuff.com/2011/08/yum-command-examples/ 阅读全文
posted @ 2012-09-05 16:00 SmartVessel 阅读(386) 评论(0) 推荐(0)

摘要:cd/etc/yum.repos.d/mvCentOS-Base.repoCentOS-Base.repo.backwgethttp://mirrors.163.com/.help/CentOS6-Base-163.repomvCentOS6-Base-163.repoCentOS-Base.repoyummakecache 阅读全文
posted @ 2012-09-05 13:49 SmartVessel 阅读(1058) 评论(0) 推荐(0)