背景知识:
我的主要操作系统是 Windows 10。我正在使用 vmware Workstation Pro。我已经在其上安装了 Centos 7。
当我尝试安装 google chrome 或 mysql 时,我得到了上面提到的输出。
如何修复?
完整踪迹:
[root@localhost ~]# wget https://dl.google.com/linux/direct/google-chrome-stabl_x86_64.rpm
--2023-04-11 10:31:20-- https://dl.google.com/linux/direct/google-chrome-stabl_x86_64.rpm
Resolving dl.google.com (dl.google.com)... 216.58.196.206, 2404:6800:4002:81f::200e
Connecting to dl.google.com (dl.google.com)|216.58.196.206|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-11 10:31:20 ERROR 404: Not Found.
I'm following this tutorial.
https://www.cyberciti.biz/faq/howto-install-google-chrome-on-redhat-rhel-fedora-centos-linux/
The same happens when I try to install mysql
[root@localhost ~]# sudo wget https://dev.mysql.com/get/mysqy-release-el7-3.noarch.rpm
--2023-04-11 10:30:05-- https://dev.mysql.com/get/mysqy-release-el7-3.noarch.rpm
Resolving dev.mysql.com (dev.mysql.com)... 118.214.138.5, 2400:1a00:8000:a84::2e31, 2400:1a00:8000:a81::2e31
Connecting to dev.mysql.com (dev.mysql.com)|118.214.138.5|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-11 10:30:05 ERROR 404: Not Found.
I'm following this tutorial for it: https://www.hostinger.com/tutorials/how-to-install-mysql-on-centos-7
答案1
只需这样做就可以帮我解决这个问题。
wget "https://dl.google.com/linux/direct/google-chrome-stabl_x86_64.rpm"