Posts

Showing posts with the label CentOS 7

open wired centos 7 cmd

  To open a wired connection in CentOS 7, you can use the  nmtui  command to open Network Manager and select the network interface.  You can also use the  ifconfig  command to configure and manage network interfaces.   Steps   Open the terminal Type  nmcli d  to list the installed ethernet cards Type  nmtui  to open Network Manager Select the network interface Click Edit You can also use the  ifconfig  command to configure network interfaces.  For example, you can use  ifconfig eth0 up  to turn on the Ethernet 0 interface, or  ifconfig eth0 down  to turn it off.   Other commands ip  is a newer command that displays device and address information   netstat  is a versatile command that displays device and address information   systemctl restart network.service  restarts the server networking service  

Không thể truy xuất mirrorlist http://mirrorlist.centos.org/ trên CentOS 7

  Symptoms When running various functions such as MultiPHP or command that utilize the yum system, errors similar to the following are produced: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Name or service not known"   Description On July 1st 2024 CentOS 7 is End of Life and the CentOS team has removed their mirrors from the internet. They can still be accessed via  vault.centos.org . Without updating the repository URLs, packages will be unable to be updated or validated, resulting in the error above. IMPORTANT: Using the CentOS vault repository IS NOT to be used for staying on CentOS 7 for any longer than is required to migrate to a new server. Packages provided by the vault repository do not get any updates. This means that the software installed from the Vault repository will have unpatched security vulnerabilities and other defec...