[TOC]
@[TOC]

安装

环境

  1. 宝塔面板(推荐新手使用)

    1
    2
    3
    4
    5
    6
    7
    8
    #Centos系统
    yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

    #Ubuntu系统
    wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh

    #Debian系统
    wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
  2. LNMP全家桶

  3. PHP安装拓展:iconCube, imagemagick, exif,同时删除禁用参数中的 exec,然后重启PHP

  4. 安装ffmpeg

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    ##Ubuntu 16.04+
    apt-get update
    apt-get install ffmpeg

    ##debian 8
    vim /etc/apt/sources.list
    #添加四个软件源
    deb http://www.deb-multimedia.org jessie main non-free
    deb ftp://ftp.deb-multimedia.org jessie main non-free
    deb http://www.deb-multimedia.org stable main non-free
    deb ftp://ftp.deb-multimedia.org stable main non-free
    #更新并安装
    apt-get -y update
    apt-get -y install ffmpeg

    ##CentOS
    #到http://www.ffmpeg.org/releases/下载最新版本
    #编译安装
    wget http://www.ffmpeg.org/releases/ffmpeg-*.*.tar.gz
    tar -zxvf ffmpeg-*.*.tar.gz
    cd ffmpeg-*.*
    ./configure
    make
    make install

阅读全文 »

笔记-在Ubuntu安装Transmission

[TOC]

@[TOC]

安装

1
2
apt-get install vim git unzip 
apt-get install transmission transmission-daemon transmission-cli

基本命令

1
2
3
4
5
6
7
8
9
10
11
12
#建议用root权限启动
sudo service transmission-daemon start
sudo service transmission-daemon stop
sudo service transmission-daemon restart
#以下命令会是配置文件恢复初始值
/etc/init.d/transmission-daemon start
/etc/init.d/transmission-daemon stop
/etc/init.d/transmission-daemon status
transmission-daemon {start|stop|reload|force-reload|restart}
#查看端口占用情况
netstat -an
netstat -antup
阅读全文 »
0%