|
- Setting up
- The tool used by this guide is symbolic linking. This allows you to link to another file or directory elsewhere on the file system without doubling up on disk space used.
- First of all, let's create a directory named links to hold the torrent data links in. Do this by copying and pasting the following:
- mkdir -p ~/www/$(whoami).$(hostname -f)/public_html/links
- Now, you can simply create the symbolic links for your torrent client(s) of choice by copying and pasting the commands below:
- For rTorrent/ruTorrent, it's:
- ln -s ~/private/rtorrent/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/rtorrent_data
- For Deluge, simply copy and paste:
- ln -s ~/private/deluge/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/deluge_data
- For Transmission, it's:
- ln -s ~/private/transmission/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/transmission_data
- Please note that if you create a broken link (i.e. if you haven't installed the torrent client), the links will result in a 404 error.
复制代码
请假一下,它命令中的$(whoami).$(hostname -f)是什么意思,比如说我的账户信息是
Server:aaa.feralhosting.com
Username bbb
上述命令中的命令中的$(whoami).$(hostname -f)的写法该如何用我自己的账户信息转化? |
|