MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

How to Configure Web Proxy on CentOS | Tutorials | scmGalaxy

web-proxy-on-centos

If your internet connection is behind a web proxy, you need to configure the following on your CentOS server:

System-wide proxy settings – add the following lines to your /etc/environment file:

# vi /etc/environment

http_proxy=”http://proxysrv:8080/”
https_proxy=”https://proxysrv:8080/”
ftp_proxy=”ftp://proxysrv:8080/”
no_proxy=”.mylan.local,.domain1.com,host1,host2″

To apply these settings without restarting the machine run the following commands on the bash shell:

export http_proxy="http://proxysrv:8080/"
export https_proxy="https://proxysrv:8080/"
export ftp_proxy="ftp://proxysrv:8080/"
export no_proxy=".mylan.local,.domain1.com,host1,host2"

You also need to configure yum:

# vi /etc/yum.conf

proxy=http://proxysrv:8080/

0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Anam
Anam
4 months ago

This tutorial on configuring a web proxy in CentOS is very practical and informative for anyone managing Linux servers in restricted or corporate network environments. Understanding how to set system-wide proxy variables and configure tools like yum to use a proxy is essential when your server must access the internet through an intermediary — which helps control, filter, and monitor traffic while ensuring updates and downloads work correctly. Setting up proxy settings at the OS level not only enables connectivity behind firewalls but also increases network control and compliance for enterprise deployments.

1
0
Would love your thoughts, please comment.x
()
x