使用技巧安装软件:在redhat中,安装程序后缀大都为 *.rpm,在ubuntu中,安装程序后缀大都为 *.deb,其实在Ubuntu里一般使用软件中心, 或者 sudo apt-get install xxx 即可可执行文件的后缀一般为 .bin小知识: linux中, 1024一下的端口号只有...
分类:
系统相关 时间:
2014-07-12 13:09:28
阅读次数:
275
1.在命令终端来获取root用户权限在终端中输入:sudo passwd rootEnter new UNIX password: (在这输入你的密码)Retype new UNIX password: (确定你输入的密码)passwd: password updated successfully以...
分类:
系统相关 时间:
2014-07-09 18:51:40
阅读次数:
206
第一步:添加tweak源sudo add-apt-repository ppa:tualatrix/ppa第二步:更新sudo apt-get update第三步:安装ubuntu-tweaksudo apt-get install ubuntu-tweak
分类:
其他好文 时间:
2014-07-09 18:50:19
阅读次数:
213
1、安装smbfs# sudo apt-get install smbfs2、建立挂载目录# sudo mkdir -p /mnt/shared注:mkdir -p 是创建多级目录3、挂载windows共享# sudo mount -t cifs -o username=administrator,...
参考文章:spice wiki1: gtk+-3.0安装2: 安装依赖 a:1 sudo apt-get install build-essential autoconf git-core b:1 sudo apt-get install libtool liblog4cpp5-dev libavc...
分类:
其他好文 时间:
2014-07-09 13:19:08
阅读次数:
432
Ubuntu下安装Subversion还是很简单的,只要输入sudo apt-get install Subversion就可以安装了。主要的难点在于对权限的配置上。安装完subversion后,就可以创建一个仓库了。这里我以个人的例子来讲解,大家可以按照自己的需要选择不同的目录。我是建在了/var...
分类:
其他好文 时间:
2014-07-08 22:26:12
阅读次数:
278
安装 pip :$ wget https://bootstrap.pypa.io/get-pip.py...$ sudo python get-pip.py install使用 pip 安装/升级 lxml(升至 3.3.5) 时出现以下报错:"error: command 'x86_64-linu...
分类:
系统相关 时间:
2014-07-08 17:50:16
阅读次数:
6067
1. git send-email is included in an individual package, named "git-email":$ sudo apt-get install git-email2. Configure the SMTP server info after the ...
分类:
系统相关 时间:
2014-07-08 14:49:13
阅读次数:
413
目的:1. 通过网页读取watchdog的信息2. 通过网页设置watchdog准备工作:1. 选择一个web框架,选用 cherrypy$ sudo apt-get install python-cherrypy32. 熟悉 RESTFUL , 参考redhat REST API 指导步骤:我们选...
分类:
其他好文 时间:
2014-07-08 11:49:31
阅读次数:
189
解决方案:首需要切换到root身份$su -(注意有- ,这和su是不同的,在用命令"su"的时候只是切换到root,但没有把root的环境变量传过去,还是当前用户的环境变量,用"su -"命令将环境变量也一起带过去,就象和root登录一样)然后$visudo//切记,此处没有vi和sudo之间没有...
分类:
其他好文 时间:
2014-07-08 11:31:45
阅读次数:
214