Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Internet proxy workaround can not be used under Linux YUM     - Realize screen recording and playback via Linux command (Linux)

- Python context managers (Programming)

- Android Touch message passing mechanism analysis (Programming)

- STL spatial Configurator (Programming)

- Java Foundation - Getting Start (Programming)

- Minimum period string problem (Programming)

- Linux ldconfig command (Linux)

- shell script: the number of characters in the text to print no more than 6 words (Programming)

- XenServer virtual machines installed in dual-card configuration (Server)

- Linux source code analysis tool (Linux)

- Install Jetty on CentOS / RHEL 6.X (Server)

- Oracle ordinary users show parameter method (Database)

- Django1.5 Custom User Model (Programming)

- Based on Python: OpenCV simple image manipulation (Programming)

- Qt shared memory interprocess communication (Programming)

- How to use Monit to deploy a server to monitor the system (Server)

- CentOS system Amoeba + MySQL Master-slave configuration (Database)

- Linux system security (Linux)

- Linux Getting Started tutorial: How to backup Linux systems (Linux)

- Quota for Vsftpd do use disk quotas (Server)

 
         
  Internet proxy workaround can not be used under Linux YUM
     
  Add Date : 2018-11-21      
         
       
         
  Background:
The company's computer is through a proxy, VMware the next station CentOS 6.5_64 systems, network mode as NAT. You can ping the external network, but things are being given to install yum

[Root@abc ~] #yum list
Loaded plugins: fastest, refresh-packagekit, securitySetting up
Remove ProcessNo Match for argument: mysql-serverLoading mirror speeds
from cached hostfileCould not retrieve mirrorlist
release = 6 & arch = x86_64 & repo = os & infra = stock error was14:
PYCURL ERROR 7 - "Failed to connect to 2a02: 2498: 1: 3d: 5054: ff: fed3: e91a:
Network is unreachable "Error: Can not find a valid baseurl for repo: base
[Root@abc ~] #

Solution:
Acting on the host ping the IP address of the Internet site to obtain

Do the following in Linux machine:
[Root@abc ~] # vim / etc / profile
[Root@abc ~] # tail -3 / etc / profile
export http_proxy = 10.14.36.103: 8080
export https_proxy = 10.14.36.103: 8080
[Root@abc ~] # source / etc / profile
[Root@abc ~] #

Then execute yum

solved!
     
         
       
         
  More:      
 
- Definition Format Oracle basis of various statements (Database)
- PostgreSQL-- run Supervisord on Docker in Ubuntu (Database)
- Oracle user password problem (Database)
- According to the national position on how to block traffic in Linux (Server)
- Installing PHP Memcache extension under Linux (Server)
- Git Installation and Configuration (Network Agent settings) (Linux)
- Ubuntu install Eclipse for C / C ++ and related configuration (Linux)
- Access clipboard content across multiple vim instances in a terminal (Linux)
- Chkconfig set boot start under Linux (Linux)
- Virt Related Command Summary (Linux)
- SQL Server 2008 database synchronization Notes (Database)
- Effect MongoDB plan cache (Database)
- Getting Started Linux Shell Scripting (Programming)
- Go Languages Reviews (Programming)
- Using DOS command to change UNIX administrator password (Linux)
- PostgreSQL Source Customization: Online global read only (Database)
- Linux installation and error under codeblocks exclude [Ubuntu 10.04] (Linux)
- Linux System Getting Started Learning: DeVeDe installed on Linux to create a video DVD (Linux)
- Linux operating system set up to effectively prevent ARP attacks (Linux)
- Extended VMware Ubuntu root partition size (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.