[Hang up] Under CentOS, one-click installation script for Renren Film and Television Web version

888u

Last update at :2024-07-07,Edit by888u

Currently, it only supports CentOS6/7 64-bit (32-bit is not supported) systems. I personally tested the installation of CentOS 7 system successfully.

2018.12.22 Update: I checked online and Renren Film and Television has built a blockchain. You can download movie episodes, but you also share the bandwidth. This way you can earn Renren Diamonds, which is actually bandwidth mining.

**It is recommended to change the download location and the default panel password If it is purely hung up, please select "Auto Download" in the panel -> Options to download all, otherwise it will be zero upload. It will automatically download the latest video and then upload it automatically.

#!/bin/bash yum update -y yum install -y wget curl screen make

# Installation path Path=”/root/” cd $Path

# Install the latest version of WinRAR Linux LinuxVersion=$(wget -qO- https://www.rarlab.com/download.htm | grep -Eoi ']+>' | grep -Eo 'href=”[^”]+”’ | grep -Eo 'rarlinux-x64[^/”]+') DownloadLink=”https://www.rarlab.com/rar/$LinuxVersion” wget “$DownloadLink”

# Install WinRAR tar -zxvf $LinuxVersion cd rar make

# Delete WinRAR installation package cd $Path rm -rf $LinuxVersion

# Download the latest version of Renren Film and Television wget http://appdown.rrys.tv/rrshareweb_linux.rar unrar x rrshareweb_linux.rar tar -zxvf rrshareweb_centos7.tar.gz cd rrshareweb

# Create service service renren start/stop/restart/status cat > /etc/systemd/system/renren.service <

[Service] Type=simple PIDFile=/var/run/renren.pid ExecStart=/root/rrshareweb/rrshareweb RestartPreventExitStatus=23 Restart=always User=root

[Install] WantedBy=multi-user.target EOF

# Information echo ‘The default port is 3001, which can be modified in the configuration file’ PublicIP=$(curl -4 icanhazip.com) echo “Panel address: http://$PublicIP:3001” echo ‘Panel password: 123456’ echo ‘Configuration file: /root/rrshareweb/conf/rrshare.json’

If you want to check the running status, just enter service renren status and press Enter to see

Set up startup

systemctl start renren

Reprinted from: https://www.hostloc.com/thread-500725-1-1.html

Recommended site search: European server, website registration number, domain name query, free server, domain name agency, foreign trade space, server space rental, IP query, foreign vps server rental, virtual host evaluation,

[Hang up] Under CentOS, one-click installation script for Renren Film and Television Web version

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码