Skip to main content

How to configure the proxy setting in linux (set and unset the proxy setting)

 

How to configure the proxy setting in linux (set and unset the proxy setting)

What Is a Proxy Server and How Does It Work?

                 1. A proxy server is a device or router that acts as a connection point for users and the internet.

                 2. As a result, it aids in the prevention of cyber-attacks on a private network.

                 3. It's a server that acts as a "intermediary" between end-users and the web pages they browse on the internet.

By using terminal, we are going to set a proxy


                   1. HTTP proxy: By using below command you can able to export the http_proxy


                 2. By using below command, you can verify the proxy is fixed or not 


                  3. HTTPs proxy: By using below command, you can able to export the https_proxy



                 4. By using below command, you can verify the proxy is fixed or not 


Set your proxy settings from your desktop

                 1. Go to application icon and select the setting option.

                 2. And select the Network option



                 3. Select the Network Proxy




                  4. The dialogue box should now be closed. Your preferences will be remembered automatically.

Set your proxy settings for all users.

                 1. To do this task, you'll need root or sudo privileges.

                 2. /etc/environment is a file seen in all Ubuntu and Debian editions.
 
                 3. open /etc/environment into a text editor.


                 4. Add the lines below, changing them to suit your needs. If not required, the username and password can be omitted.


For instance,


                5. Exit the text editor after saving your changes.


To unset a Proxy setting

                 1. By using below command, you can able to unset or remove a proxy 

 


                 2. By using below command, you can verify, whether the proxy is removed or not.




                 3. Some time it will not reflected, in that time you can try with below steps
 
                 4. open /etc/environment into a text editor.



                 5. Uncommand the proxy setting in  /etc/environment 





The session was completed.













Comments

Popular posts from this blog

temp-1

  🔧 vast_id Configuration Key: vast_id Description This section defines the VAST ID , a unique numeric identifier used by internal systems for asset tracking, automation, or integration with enterprise management platforms. It helps associate the server with inventory records, monitoring tools, or deployment workflows. ✅ Used during provisioning to register the system in centralized databases or orchestration systems. JSON Format json 1 "vast_id" : 12194 ✅ Can also be provided as a string: json 1 "vast_id" : "12194" Field Reference vast_id String or Integer Unique identifier for the system in VAST (Verizon Asset Systems Tracker) 12194 ✅ Must be non-empty and numeric — leading zeros may be stripped depending on system. Validations Enforced vast_id  is required and must be a non-empty string or integer Ensures the field is present and contains usable data If  vast_id  is a string, it must not be blank or whitespace-only Prevents " " , "...

testing

09052025 T-1 { "volume_groups" : { "vgroot" : { "vgsize" : "304G" , "fs_type" : "xfs" } } , "logical_volumes" : { "root" : { "lvroot" : { "vgname" : "vgroot" , "lvname" : "lvroot" , "lvsize" : "12G" , "mountpoint" : "/" , "purpose" : "root filesystem" , "disk" : 1 , "partition" : 2 } } , "swap" : { "lvswap" : { "vgname" : "vgroot" , "lvname" : "lvswap" , "lvsize" : "4G" , "mountpoint" : "NA" , "purpose" : "swap" , "disk" : 1 , "partit...

temp

 {   "_id": {     "$oid": "6841e4b0fd270b2ab92d7eaa"   },   // 📌 [Auto-generated]   // Description: Unique system identifier for internal use (MongoDB ObjectId).   // Type: ObjectId (string)   // Required: No (automatically handled)   "vast_id": "21452",   // 📌 [Required]   // Description: Your unique request ID or reference number.   // Type: string   // Format: Numeric string (e.g., "21452")   // Example: "21452"   "env": "dev",   // 📌 [Required]   // Description: The environment where the VM will be deployed.   // Type: string   // Allowed values: "dev", "qa", "uat", "prod"   // Example: "dev" for development, "prod" for production   "ver": "0.2",   // 📌 [Do Not Modify]   // Description: Template version. Used by automation to ensure compatibility.   // Type: string   // Format: Semantic versioning (e.g., "...