1.mysql安装的部分部署:
cd /home/work/tools/
tar zxvf mysql-5.1.72.tar.gz
cd mysql-5.1.72
./configure --prefix=/home/work/tools/mysql
make && make install
su - root ,进入root用户
mv /etc/my.cnf /etc/my.cnf.bak
su - work 切换到work账号
未完待续
http://blog.itpub.net/29254281/viewspace-1139377/
2.安装ffmpeg
先在vi ~/.bash_profile
export PATH=$HOME/tools/ffmpeg/bin:$HOME/tools/mysql/bin:$PATH:$HOME/bin
export LD_LIBRARY_PATH=$HOME/tools/mysql/lib:$HOME/tools/ffmpeg/lib:$LD_LIBRARY_PATH
加入路径,然后执行下
. ~/.bash_profile
最后在bin目录下执行./ffmpeg
修改dsn
进入 /etc/resolv.conf