码迷,mamicode.com
首页 >  
搜索关键字:linux学习 sudo    ( 17986个结果
Error prompt:“xxx is not in the sudoers file”----Solution
//Situation System prompts"xxx is not in the sudoers file"(xxx equals the user name)while executing command "sudo": sudo-i Password: xxx ...
分类:其他好文   时间:2014-07-06 21:39:36    阅读次数:175
ubuntu下安装redis
(1)进去 /usr/local目录下 cd /usr/local 若没有local这个文件夹则创建一个 sudo mkdir /usr/local sudo chmod 777 /usr/local (2)下载rediswget http://download.redis.io/release.....
分类:其他好文   时间:2014-07-06 19:42:31    阅读次数:176
java linux jdk(yanzheng)
first,there are some default jdk in system.when we get the java 1.7.0 foldel,we should use it to instead of the default jdk.so just use sudo update-al...
分类:编程语言   时间:2014-07-06 14:22:35    阅读次数:281
在ubuntu 12.04 x64下编译hadoop2.4
自己编译hadoop:x64 1.安装依赖包 sudo apt-get install g++ autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev openssh-server maven openssh-client 2...
分类:其他好文   时间:2014-07-05 17:11:43    阅读次数:229
linux下的性能查询命令
(1)查看各个CPU核的使用情况 sudo top -d 1 进入之后,按1,会出现下面的CPU使用情况,其中us列反映了各个CPU核的使用情况,百分比大说明该核在进行紧张的任务。 (2)查看哪个进程在哪个CPU核上运行 sudo top -d 1 进入之后,依次按f、j和空格,会出现如下(其中P列指示的是该进程最近使用的CPU核,如进程mencoder的P列为7,则表示...
分类:系统相关   时间:2014-07-04 09:18:48    阅读次数:426
linux下安装QQ
以下步骤一定要按照顺序来,我用的系统是 安装QQ   sudo -i   cd /etc/apt/sources.list.d   echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list   apt-get up...
分类:系统相关   时间:2014-07-04 00:25:31    阅读次数:334
bundle install 出现 'gem install mysql2 -v '0.3.15' succeeds before bunding '
bundle install 出现  'gem install mysql2 -v '0.3.15' succeeds before bunding ' 解决:sudo apt-get install libmysql-ruby '若找不到这个包试试下面到包          参考:http://packages.ubuntu.com/search?keywords=mysql-ruby...
分类:数据库   时间:2014-07-03 18:40:10    阅读次数:241
linux学习之路之磁盘管理和文件系统三
ext3文件系统和ext2文件系统的区别?在某些时候,某个用户在linux系统上写入数据,这时系统正好断电或者系统核心出现错误,写入的数据仅有inodetable和datablock而已,可能会导致之前写过的数据没有保存在磁盘上。而当系统重启后,系统可能会对没有保存的数据进行数据恢复。但..
分类:系统相关   时间:2014-07-03 15:16:59    阅读次数:222
Linux学习笔记——例说makefile 单个C文件
0.前言     从学习C语言开始就慢慢开始接触makefile,查阅了很多的makefile的资料但总感觉没有真正掌握makefile,如果自己动手写一个makefile总觉得非常吃力。所以特意借助博客总结makefile的相关知识,通过例子说明makefile的具体用法。     例说makefile大致分为4个部分     1.只有单个C文件     2.含有多个C文件     3...
分类:系统相关   时间:2014-07-03 13:41:43    阅读次数:251
Linux学习笔记——例说makefile 多个文件
0.前言     从学习C语言开始就慢慢开始接触makefile,查阅了很多的makefile的资料但总感觉没有真正掌握makefile,如果自己动手写一个makefile总觉得非常吃力。所以特意借助博客总结makefile的相关知识,通过例子说明makefile的具体用法。     例说makefile大致分为4个部分     1.只有单个C文件     2.含有多个C文件    ...
分类:系统相关   时间:2014-07-03 13:41:05    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!