1.首先去下载一个optinal的包,里面有smplayer与mplayer所需的各种依赖包。我的网盘下载地址为: 2.给你下载的包配置yum源 vim /etc/yum.repos.d/yum.repo 我的配置文件如下: [option] name=option baseurl=fil...
分类:
其他好文 时间:
2014-10-21 23:23:22
阅读次数:
380
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl."/js/TableView.js");Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl....
分类:
Web程序 时间:
2014-10-14 12:59:58
阅读次数:
259
API http://requirejs.org/RequireJS 插件 http://requirejs.org/docs/api.html#plugins①require.js脚本的异步加载②路径配置require.config({ baseUrl: "js/lib", paths: { .....
分类:
Web程序 时间:
2014-10-13 18:35:59
阅读次数:
224
- (void)initNetworkMonitor{ NSURL *baseURL = [NSURL URLWithString:@"http://www.baidu.com/"]; AFHTTPRequestOperationManager *manager = [[AFHTTPReques.....
分类:
移动开发 时间:
2014-09-15 15:29:49
阅读次数:
199
安装yumdownloader工具:# yum install yum-utils设置源:[base-src]name=CentOS-5.4 - Base src -baseurl=http://vault.centos.org/5.4/os/SRPMS/#mirrorlist=http://mir...
分类:
其他好文 时间:
2014-09-10 14:04:50
阅读次数:
200
在yii中 我们需要引入css 和 js 的时候,yii 自身有需要的类。当我在views 视图层中引入css 和 js , clientScript->registerCssFile(Yii::app()->baseUrl .'/css/articleIndex.css');?> clientSc...
分类:
Web程序 时间:
2014-08-29 19:42:28
阅读次数:
207
WebView可直接指定URL显示网页:webView.loadUrl("http://www.baidu.com");WebView可直接装载HTML代码 : webView.loadDataWithBaseURL(baseUrl, html, "text/html", "utf-8", hist...
分类:
Web程序 时间:
2014-08-22 15:55:58
阅读次数:
198
我们首先可以通过挂在光盘的方法来查看samba包大家也可以通过yum的方法安装cd/etc/yum.repos.d/virhel-source.reponame名字的意思baseurl这个是路径enabled等于0则不启用,等于1则启用;gpgcheck等于0则不检测gpgkey,等于1则检测,此处设置为0即可;可以通过这个命令来查看smb..
分类:
其他好文 时间:
2014-08-14 03:52:08
阅读次数:
244
以前在linux5版本的时候,总是认为YUM目录一定要配置到具体的目录,今天看了网上的资料才知道自己想太多,直接配置到ISO挂载目录就可以了。具体配置:[rhel-source]
name=RedHatEnterpriseLinux$releasever-$basearch-Source
baseurl=file:///software/RHEL6U5/
enabled=1
gpgc..
分类:
系统相关 时间:
2014-08-03 07:55:55
阅读次数:
336
一、安装mongodb 创建/etc/yum.repos.d/mongodb.repo文件,配置文件内容如下: [mongodb]
name=MongoDB?Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1 ...
分类:
数据库 时间:
2014-08-01 23:24:52
阅读次数:
524