CentOS Configuring ADSL Dial Configuring Ali Cloud Yum Source

If there is a problem with the system yum source, you can change the yum source
Configure Alibaba Cloud’s yum source
1) Download the repo file
wget http://mirrors.aliyun.com/repo/Centos -7.repo
(There is no wget command, you can directly download Centos-7.repo through FileZilla last time to /etc/yum.repos.d/)
2) Backup and replace the system repo file
cp Centos-7.repo /etc/yum.repos.d/
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
mv Centos- 7.repo CentOS-Base.repo
3) Execute yum source update command
yum clean all
yum makecache
yum update

CentOS 7 Dial-up Internet (ADSL & PPPoE) Steps Overview: 1. Search for PPPoE related software, I use rp-pppoe  yum search pppoe2, use yum to install rp-pppoe  yum install rp-pppoe -y3, start configuring PPPoE connection pppoe-setup4, Enter the account provided by the ISP (if you have previously configured ppp0 to modify the ppp0 configuration, press Enter to modify the ppp0 configuration) 5. Enter the Ethernet card code, the default is eth0 (Note: CentOS 7 is no longer the default eth0, just use the ifconfig command by yourself Found) (If you make a mistake, enter Crtl + z and restart from the beginning) 6. Configuration: If you are connected for a long time, the connection will be automatically interrupted (I will not do it, choose no) 7. Configure the primary DNS server 8. Configure the secondary DNS server 9. Enter the account password twice to confirm. 10. Configure whether the ordinary account has network connection authority. 11. Configure the firewall (no special requirements, select 0 and OK). 12. Configure whether to automatically dial the connection after power-on. 13. Confirm the configuration information just filled in. 14. Connect to the Internet and enjoy! Related command @Connect to the network: /sbin/ifup ppp0 Disconnect: /sbin/ifdown ppp0 View network status: /sbin/pppoe-statusIP query command line query: curl cip.cc

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4889 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.