scp -r /本地目录/ root@目标主机IP:/接受目录/
接受目录需要写入权限
scp -r /本地目录/ root@目标主机IP:/接受目录/
接受目录需要写入权限
<div style=”margin:auto; padding-top:70px; width:250px;height:250px;position:relative”>
<a style=”position: absolute; right: 0px; background-color: rgb(238, 238, 238); width: 250px; text-align: center; text-decoration: none; height: 30px; line-height: 30px; top: 286px; color: rgb(255, 0, 0);” href=”javascript:addshow(0)”>
关闭广告
</a>
<a href=”#” target=”_blank”>
<img src=”http://baike.soso.com/p/20090711/20090711101754-314944703.jpg” style=”width:250px;height:216px;”>
</a></div>
<rss version=”2.0″ xmlns:jwplayer=””>
<channel>
<item>
<title>视频名称</title>
<description>视频描述</description>
<jwplayer:image>背景图片</jwplayer:image>
<jwplayer:source file=”视频地址” />
</item>
</channel>
</rss>
<?php
error_reporting(‘E_ALL’); //不输出错误提示
require_once (“../inc/config.php”);
require_once (“../inc/class.php”);
$dsql = new AppDataBase(app_dbserver, app_dbuser, app_dbpass, app_dbname); //登录数据库
$query = $dsql->query(“SELECT d_playurl FROM mac_vod WHERE d_id = “.$_GET[‘id’]); //查询
$file = mysql_fetch_array($query); // 输出
$url = reset($file);
?>
<?php echo $url ?> //引用
安装RPMforge的CentOS6源
wget -c http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -i rpmforge-release-0.5.3-1.el6.rf.*.rpm
安装epel源
wget -c http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvf epel-release-6-8.noarch.rpm
安装完成 查看一下源列表,看到rpmforge和epel字样即可
ls -lh /etc/yum.repos.d
安装基础包
yum install gcc make automake bzip2 unzip patch subversion libjpeg-devel
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar zxvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure
make && make install
vim /etc/ld.so.conf
/usr/lib
/usr/local/lib
ldconfig