下载 WPS for Linux

WPS for Linux
Download
Ubuntu 系统下载 wps-office_10.1.0.5672~a21_amd64.deb

1
huzhifeng@Ubuntu16041:~$ wget http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office_10.1.0.5672~a21_amd64.deb -O /data/Tools/wps-office_10.1.0.5672~a21_amd64.deb

CentOS 系统下载 wps-office-10.1.0.5672-1.a21.x86_64.rpm

1
[huzhifeng@CentOS72 tools]$ wget http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office-10.1.0.5672-1.a21.x86_64.rpm

安装 WPS

Ubuntu 系统执行

1
huzhifeng@Ubuntu16041:~$ sudo dpkg -i /data/Tools/wps-office_10.1.0.5672~a21_amd64.deb

CentOS 系统执行

1
2
3
4
5
[huzhifeng@CentOS72 tools]$ sudo rpm -ivh wps-office-10.1.0.5672-1.a21.x86_64.rpm
error: Failed dependencies:
libpng12.so.0()(64bit) is needed by wps-office-10.1.0.5672-1.a21.x86_64
[huzhifeng@CentOS72 tools]$ sudo yum install -y libpng12
[huzhifeng@CentOS72 tools]$ sudo rpm -ivh wps-office-10.1.0.5672-1.a21.x86_64.rpm

下载 wps_symbol_fonts.zip

现在运行 WPS 时提示缺少字体,点击相应链接进入 No necessary symbol fonts

1
2
3
4
如果您在运行 WPS 时遇到此问题,可能是您的系统缺少部分符号字体[1]引起的提示,
您可以参考[WPS for Linux字体配置一帖](http://bbs.wps.cn/thread-22355435-1-1.html)。
[1]. 目前WPS for Linux公式显示需要相应的Symbol字体(比如symbol, windings, mt extra等), 由于版权原因,WPS for Linux 未对此类字体打包安装,如果您需要,请在授权的情况下使用此类字体。

可惜参考链接 http://bbs.wps.cn/thread-22355435-1-1.html 已经打不开了,需要通过其它途径下载 wps_symbol_fonts
下面分别是 Dropbox 和 Github 上的
wps_symbol_fonts.zip
wps_symbol_fonts

下载该字体,解压后将整个wps_symbol_fonts目录拷贝到 /usr/share/fonts/ 目录下
注意,wps_symbol_fonts目录要有可读可执行权限chmod 755 /usr/share/fonts/wps_symbol_fonts
Ubuntu 系统

1
2
3
4
5
6
7
8
9
10
huzhifeng@Ubuntu16041:~$ sudo mkdir -p /usr/share/fonts/wps_symbol_fonts
huzhifeng@Ubuntu16041:~$ sudo unzip /data/Download/wps_symbol_fonts.zip -d /usr/share/fonts/wps_symbol_fonts
Archive: /data/Download/wps_symbol_fonts.zip
inflating: /usr/share/fonts/wps_symbol_fonts/WEBDINGS.TTF
inflating: /usr/share/fonts/wps_symbol_fonts/WINGDNG2.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/WINGDNG3.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/mtextra.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/symbol.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/wingding.ttf
huzhifeng@Ubuntu16041:~$ sudo chmod 755 /usr/share/fonts/wps_symbol_fonts

CentOS 系统

1
2
3
4
5
6
7
8
9
10
[huzhifeng@CentOS72 tools]$ sudo mkdir -p /usr/share/fonts/wps_symbol_fonts
[huzhifeng@CentOS72 tools]$ unzip wps_symbol_fonts.zip -d /usr/share/fonts/wps_symbol_fonts/
Archive: wps_symbol_fonts.zip
inflating: /usr/share/fonts/wps_symbol_fonts/WEBDINGS.TTF
inflating: /usr/share/fonts/wps_symbol_fonts/WINGDNG2.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/WINGDNG3.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/mtextra.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/symbol.ttf
inflating: /usr/share/fonts/wps_symbol_fonts/wingding.ttf
[huzhifeng@CentOS72 fonts]$ sudo chmod 755 /usr/share/fonts/wps_symbol_fonts

也可以参考 fedora下解决wps缺少字体的错误,把/wps_symbol_fonts/下的所有文件都拷贝到/usr/share/fonts/wps-office/ 目录下

1
2
3
4
5
6
7
[huzhifeng@CentOS72 fonts]$ ls wps-office/
FZXBSJW_0.TTF FZXBSK.TTF
[huzhifeng@CentOS72 fonts]$ sudo mv wps_symbol_fonts/* wps-office/
[huzhifeng@CentOS72 fonts]$ sudo rm -rf wps_symbol_fonts/
[huzhifeng@CentOS72 fonts]$ ls wps-office/
FZXBSJW_0.TTF FZXBSK.TTF mtextra.ttf symbol.ttf WEBDINGS.TTF wingding.ttf WINGDNG2.ttf WINGDNG3.ttf
[huzhifeng@CentOS72 fonts]$

安装了 WPS 之后,就可以不再需要 LibreOffice 了,卸载命令如下:

1
[huzhifeng@CentOS72 ~]$ sudo rpm -e libreoffice-pyuno libreoffice-core libreoffice-ure libreoffice-langpack-en libreoffice-pdfimport libreoffice-graphicfilter libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-writer libreoffice-opensymbol-fonts unoconv

创建桌面快捷图标

以 Ubuntu 系统为例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
huzhifeng@Ubuntu16041:~$ dpkg-query --listfiles wps-office | grep "\.desktop"
/usr/share/applications/wps-office-wps.desktop
/usr/share/applications/wps-office-wpp.desktop
/usr/share/applications/wps-office-et.desktop
huzhifeng@Ubuntu16041:~$ cp /usr/share/applications/wps-office-wps.desktop ~/Desktop/
huzhifeng@Ubuntu16041:~$ vim ~/Desktop/wps-office-wps.desktop
huzhifeng@Ubuntu16041:~$ cat ~/Desktop/wps-office-wps.desktop
[Desktop Entry]
Name=WPS Writer
Version=1.0
Exec=/usr/bin/wps %f
Terminal=false
Type=Application
Icon=wps-office-wpsmain
huzhifeng@Ubuntu16041:~$ chmod +x ~/Desktop/wps-office-wps.desktop
huzhifeng@Ubuntu16041:~$ cp /usr/share/applications/wps-office-wpp.desktop ~/Desktop/
huzhifeng@Ubuntu16041:~$ vim ~/Desktop/wps-office-wpp.desktop
huzhifeng@Ubuntu16041:~$ cat ~/Desktop/wps-office-wpp.desktop
[Desktop Entry]
Name=WPS Presentation
Version=1.0
Exec=/usr/bin/wpp %f
Terminal=false
Type=Application
Icon=wps-office-wppmain
huzhifeng@Ubuntu16041:~$ chmod +x ~/Desktop/wps-office-wpp.desktop
huzhifeng@Ubuntu16041:~$ cp /usr/share/applications/wps-office-et.desktop ~/Desktop/
huzhifeng@Ubuntu16041:~$ vim ~/Desktop/wps-office-et.desktop
huzhifeng@Ubuntu16041:~$ cat ~/Desktop/wps-office-et.desktop
[Desktop Entry]
Name=WPS Spreadsheets
Version=1.0
Exec=/usr/bin/et %f
Terminal=false
Type=Application
Icon=wps-office-etmain
huzhifeng@Ubuntu16041:~$ chmod +x ~/Desktop/wps-office-et.desktop

EOF

xdpyinfo

1
2
3
➜ ~ xdpyinfo | grep 'dimensions:'
dimensions: 1920x1080 pixels (508x286 millimeters)
➜ ~

xrandr

1
2
3
➜ ~ xrandr | grep '*'
1920x1080 60.00*+
➜ ~

fbset

fbset
Linux fbset命令
where can i find fbset package
fbset已经停止更新了,最新的 CentOS 7无法通过 yum 直接安装,可以从 srpm 编译安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
➜ ~ rpm -ivh http://vault.centos.org/5.9/os/SRPMS/fbset-2.1-22.src.rpm
Retrieving http://vault.centos.org/5.9/os/SRPMS/fbset-2.1-22.src.rpm
warning: /var/tmp/rpm-tmp.NtLNkV: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Updating / installing...
1:fbset-2.1-22 ################################# [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
➜ ~ cd ~/rpmbuild
➜ rpmbuild tree
.
|-- SOURCES
| |-- fbset-2.1-fixmode.patch
| |-- fbset-2.1-makefile.patch
| `-- fbset-2.1.tar.gz
`-- SPECS
`-- fbset.spec
2 directories, 4 files
➜ rpmbuild cd SPECS
➜ SPECS rpmbuild -ba fbset.spec
➜ SPECS sudo rpm -ivh ../RPMS/x86_64/fbset-2.1-22.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:fbset-2.1-22 ################################# [100%]
➜ SPECS rpm -ql fbset
/etc/fb.modes
/usr/sbin/fbset
/usr/sbin/modeline2fb
/usr/share/man/man5/fb.modes.5.gz
/usr/share/man/man8/fbset.8.gz
➜ SPECS sudo /usr/sbin/fbset
mode "1920x1080"
geometry 1920 1080 1920 1080 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
➜ SPECS

参考资料

How do I find out screen resolution of my Linux desktop?

EOF

查看当前使用的 Shell

默认的 Shell 一般都是 bash

1
2
3
4
5
6
7
8
9
10
11
12
[huzhifeng@CentOS72 ~]$ echo $SHELL
/bin/bash
[huzhifeng@CentOS72 ~]$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/bin/tcsh
/bin/csh
[huzhifeng@CentOS72 ~]$

安装 Zsh

Zsh
Installing Zsh

1
[huzhifeng@CentOS72 ~]$ sudo yum install -y zsh

安装完成后查看 Shell 列表

1
2
3
4
5
6
7
8
9
10
11
[huzhifeng@CentOS72 ~]$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/bin/tcsh
/bin/csh
/bin/zsh
[huzhifeng@CentOS72 ~]$

阅读全文 »

iftop 是 Linux 下的流量监控工具,可以用来观察实时的网络连接和网络流量情况。

CentOS 安装 iftop

安装命令如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
➜ ~ sudo yum install -y iftop
➜ ~ rpm -q iftop
iftop-1.0-0.12.pre4.el7.x86_64
➜ ~ rpm -ql iftop
/usr/sbin/iftop
/usr/share/doc/iftop-1.0
/usr/share/doc/iftop-1.0/ChangeLog
/usr/share/doc/iftop-1.0/README
/usr/share/doc/iftop-1.0/TODO
/usr/share/licenses/iftop-1.0
/usr/share/licenses/iftop-1.0/COPYING
/usr/share/man/man8/iftop.8.gz
➜ ~

Ubuntu 安装 iftop

安装命令如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
huzhifeng@Ubuntu16041:~$ sudo apt-get install iftop
huzhifeng@Ubuntu16041:~$ dpkg --listfiles iftop
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/iftop
/usr/share/doc/iftop/copyright
/usr/share/doc/iftop/TODO
/usr/share/doc/iftop/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/iftop.8.gz
/usr/sbin
/usr/sbin/iftop
huzhifeng@Ubuntu16041:~$

使用 iftop

1
➜ ~ sudo iftop -i eth0


参考

CentOS / RHEL: Install iftop To Display Bandwidth Usage Per interface By Host
18 commands to monitor network bandwidth on Linux server
iftop
Linux流量监控工具 - iftop (最全面的iftop教程)

EOF

EPEL

EPEL(Extra Packages for Enterprise Linux) 是 Fedora(https://getfedora.org/) 小组维护的一个软件仓库项目,为 RHEL/CentOS 提供默认不提供的软件包。这个源兼容 RHEL 及像 CentOS。我们可以很容易地通过 yum 命令从 EPEL 源上获取上万个在 CentOS 自带源上没有的软件。

安装 EPEL

安装方式之 yum (推荐)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[huzhifeng@CentOS72 ~]$ sudo yum install epel-release
[huzhifeng@CentOS72 ~]$ rpm -q epel-release
epel-release-7-9.noarch
[huzhifeng@CentOS72 ~]$ rpm -ql epel-release
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/lib/systemd/system-preset/90-epel.preset
/usr/share/doc/epel-release-7
/usr/share/doc/epel-release-7/GPL
[huzhifeng@CentOS72 ~]$ yum repolist
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,278
[huzhifeng@CentOS72 ~]$ cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[huzhifeng@CentOS72 ~]$

安装方式之 rpm

可以从 EPEL 的官网 https://fedoraproject.org/wiki/EPEL 找到对应的 rpm 安装包下载地址

1
2
3
4
5
6
7
8
[huzhifeng@CentOS72 ~]$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[huzhifeng@CentOS72 ~]$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-7-9 ################################# [100%]
[huzhifeng@CentOS72 ~]$

其它源

Available Repositories for CentOS
nux-dextop
RPMfusion Repository

参考

EPEL
How To Install EPEL Repo on a CentOS and RHEL 7.x
如何在CentOS 5/6上安装EPEL 源
How to setup EPEL repository on CentOS 5/6

EOF

查看当前 LANG

有如下三种方法可以查看当前的 LANG

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[huzhifeng@CentOS72 ~]$ echo $LANG
zh_CN.UTF-8
[huzhifeng@CentOS72 ~]$ locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
[huzhifeng@CentOS72 ~]$ cat /etc/locale.conf
LANG=zh_CN.UTF-8
[huzhifeng@CentOS72 ~]$

临时修改 LANG

1
2
3
4
5
[huzhifeng@CentOS72 ~]$ date
2016年 09月 13日 星期二 15:59:02 CST
[huzhifeng@CentOS72 ~]$ LANG=en_US.UTF-8 date
Tue Sep 13 15:59:17 CST 2016
[huzhifeng@CentOS72 ~]$

永久修改 LANG

直接修改“/etc/locale.conf”

1
[huzhifeng@CentOS72 ~]$ sudo vim /etc/locale.conf

使用“localectl list-locales”查看可用的 LANG 值

1
2
3
4
5
6
7
8
9
10
11
12
[huzhifeng@CentOS72 ~]$ localectl list-locales | grep en_US
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
[huzhifeng@CentOS72 ~]$ localectl list-locales | grep zh_CN
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
[huzhifeng@CentOS72 ~]$

修改为英文

1
2
3
[huzhifeng@CentOS72 ~]$ localectl set-locale LANG=en_US.UTF-8
[huzhifeng@CentOS72 ~]$ cat /etc/locale.conf
LANG=en_US.UTF-8

修改为中文

1
2
3
[huzhifeng@CentOS72 ~]$ localectl set-locale LANG=zh_CN.UTF-8
[huzhifeng@CentOS72 ~]$ cat /etc/locale.conf
LANG=zh_CN.UTF-8

以上修改都需要重启系统才能生效

流程分析

系统在启动时通过”/etc/profile.d/lang.sh”加载“/etc/locale.conf”中的 LANG 环境变量

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[huzhifeng@CentOS72 ~]$ head -n14 /etc/profile.d/lang.sh | cat -n
1 # /etc/profile.d/lang.sh - set i18n stuff
2
3 sourced=0
4
5 if [ -n "$LANG" ]; then
6 saved_lang="$LANG"
7 [ -f "$HOME/.i18n" ] && . "$HOME/.i18n" && sourced=1
8 LANG="$saved_lang"
9 unset saved_lang
10 else
11 for langfile in /etc/locale.conf "$HOME/.i18n" ; do
12 [ -f $langfile ] && . $langfile && sourced=1
13 done
14 fi
[huzhifeng@CentOS72 ~]$

参考资料

解决Centos7下中文显示乱码
CentOS7修改操作系统语言方法

EOF

Atom 介绍

AtomGithub 出品的一款文本编辑器,开源免费并且跨平台,支持 Windows、Mac 和 Linux 系统。官网首页可以观看官方宣传片介绍进一步了解 Atom。

CentOS 7.2 安装 Atom

参考Red Hat Linux (Fedora 21 and under, CentOS, Red Hat)

下载 RPM 安装包

Atom 首页有提供下载链接,点击“Download .rpm”按钮自动开始下载。当前版本是 atom-v1.8.0.x86_64.rpm

1
2
3
4
5
6
[huzhifeng@CentOS72 Downloads]$ wget https://atom-installer.github.com/v1.8.0/atom.x86_64.rpm?s=1465249366
[huzhifeng@CentOS72 Downloads]$ ls -l atom.x86_64.rpm
-rw-rw-r-- 1 huzhifeng huzhifeng 64364944 6月 30 09:34 atom.x86_64.rpm
[huzhifeng@CentOS72 Downloads]$ md5sum atom.x86_64.rpm
78636feaa339aa479d560b3220d42fc0 atom.x86_64.rpm
[huzhifeng@CentOS72 Downloads]$

安装 Atom

1
2
3
4
[huzhifeng@CentOS72 Downloads]$ sudo rpm -i atom.x86_64.rpm
[huzhifeng@CentOS72 Downloads]$ rpm -q atom
atom-1.8.0-0.1.fc21.x86_64
[huzhifeng@CentOS72 Downloads]$
阅读全文 »

CentOS 7

查看防火墙状态

1
2
[huzhifeng@CentOS72 ~]$ systemctl status firewalld
[huzhifeng@CentOS72 ~]$ service firewalld status

关闭防火墙

1
2
3
4
[huzhifeng@CentOS72 ~]$ sudo systemctl stop firewalld
[huzhifeng@CentOS72 ~]$ sudo service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service
[huzhifeng@CentOS72 ~]$

启用防火墙

1
2
3
4
[huzhifeng@CentOS72 ~]$ sudo systemctl start firewalld
[huzhifeng@CentOS72 ~]$ sudo service firewalld start
Redirecting to /bin/systemctl start firewalld.service
[huzhifeng@CentOS72 ~]$

开机启用防火墙

1
[huzhifeng@CentOS72 ~]$ sudo systemctl enable firewalld

开机不启用防火墙

1
[huzhifeng@CentOS72 ~]$ sudo systemctl disable firewalld

参考

How to Stop and Disable Firewalld on CentOS 7
How to Start and Enable Firewalld on CentOS 7
How To: Disable Firewall on RHEL / CentOS / RedHat Linux

EOF

You-Get

You-Get
You-Get@Github

Ubuntu 安装 You-Get

先安装 pip3

1
2
3
4
5
huzhifeng@Ubuntu16041:~$ sudo apt-get update
huzhifeng@Ubuntu16041:~$ sudo apt-get -y install python3-pip
huzhifeng@Ubuntu16041:~$ dpkg --listfiles python3-pip | grep pip3
/usr/bin/pip3
huzhifeng@Ubuntu16041:~$

然后通过 pip3 安装 You-Get

1
2
3
4
5
6
7
8
9
10
11
huzhifeng@Ubuntu16041:~$ sudo pip3 install you-get
The directory '/home/huzhifeng/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/huzhifeng/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting you-get
Downloading you_get-0.4.652-py3-none-any.whl (163kB)
100% |████████████████████████████████| 163kB 38kB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.652
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
huzhifeng@Ubuntu16041:~$

阅读全文 »

aria2 相关项目

aria2

aria2 官网
aria2 源码
aria2 package for OpenWrt
Aria2 Manual
aria2c manual

webui-aria2

webui-aria2 官网
webui-aria2 源码
webui-aria2 package for OpenWrt
webui-aria2 package for OpenWrt by nanpuyue

yaaw

binux/yaaw
yaaw 官网
yaaw package for OpenWrt
yaaw package for OpenWrt by nanpuyue

luci-app-aria2

luci-app-aria2
luci-app-aria2 by 981213

OpenWrt 集成 aria2

主要参考
路由器OpenWrt如何脱机(离线)下载BT文件

编译 aria2

执行 menuconfig 勾选所有和 aria2 相关的配置

1
2
3
4
5
6
7
8
9
10
11
huzhifeng@Ubuntu1404:~/git/openwrt_trunk$ make menuconfig
Network --->
File Transfer --->
<*> aria2....................................... lightweight download utility
Aria2 configuration --->
SSL library (OpenSSL) --->
(X) OpenSSL
( ) GNUTLS
( ) No SSL support
[*] Enable bittorrent support
[*] Enable metalink support

阅读全文 »