CentOS 的安装

CentOS6.9mini版的安装

VirtualBox安装好CentOS后遇到了一堆坑,记录一下步骤

  1. 安装SSH yum install ssh
  2. 启动SSH service sshd start
  3. 设置开机运行 chkconfig sshd on
  4. 关闭/开启/重启防火墙 /etc/init.d/iptables stop #start 开启 #restart 重启

尽管我们在虚拟机软件中设置了桥接网卡,可是你在不修改CentOS配置文件的情况下,如果直接使用ip addr查看目前的ip地址仍然是127.0.0.1,这是因为CentOS默认情况下没有自动获取ip,所以我们需要简单的修改一下配置文件。

vi /etc/sysconfig/network-scripts/ifcfg-eth0

vi /etc/sysconfig/network

Transmission的安装

  1. 切换阿里repo源
    cd /etc/yum.repos.d/
    删除当前文件夹内容
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
    wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
    运行以下命令生成缓存
    yum clean all
    yum makecache

查看进程信息: ps aux | grep 'transmission-daemon'
cd /var/lib/transmission/.config/transmission
设置配置文件settings.json

"rpc-authentication-required": true,"rpc-enabled": true,"rpc-password": "管理密码密码","rpc-username": "管理用户名","rpc-whitelist-enabled": false,

Thanks

http://www.cnblogs.com/lin1/p/5607121.html

相关文章

linux下开机自启: 在/etc/init.d目录下新建文件elasticsear...
1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以...
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用...
ASP.NET Core应用程序发布linux在shell中运行是正常的。可一...
设置时区(CentOS 7) 先执行命令timedatectl status|grep &...
vim /etc/sysconfig/network-scripts/ifcfg-eth0 B...