Sunday, August 21, 2016
Friday, June 10, 2016
How To Deploy Proxy Sever
About Linux Operating System
What is Linux ----->?
Linux is, in simplest terms, an operating system. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. The operating system (OS) relays instructions from an application to, for instance, the computer's processor. The processor performs the instructed task, and then sends the results back to the application via the operating system. Explained in these terms, Linux is very similar to other operating systems, such as Windows and OS X.
But something sets Linux apart from these operating systems. The Linux operating system represented a $25 billion ecosystem in 2008. Since its inception in 1991, Linux has grown to become a force in computing, powering everything from the New York Stock Exchange to mobile phones to supercomputers to consumer devices.
As an open operating system, Linux is developed collaboratively, meaning no one company is solely responsible for its development or ongoing support. Companies participating in the Linux economy share research and development costs with their partners and competitors. This spreading of development burden amongst individuals and companies has resulted in a large and efficient ecosystem and unheralded software innovation.
For More Reading about Linux Operating System See Below Web Portal
http://en.wikipedia.org/wiki/Linux
What is Linux Structure ----->?
In the Linux operating system, all file systems are contained within one directory hierarchy. The root directory is the top level directory, and all its subdirectories make up the directory hierarchy. This differs to other operating system such as MS-Windows which applies a separate hierarchy for each device and partition.
/bin -- binary applications (most of your executable files)
/boot -- files required to boot (such as the kernel, etc.)
/dev. -- your devices (everything from drives to displays)
/etc. -- just about every configuration file for your system
/etc/profile.d -- contains scripts that are run by /etc/profile upon login.
/etc/rc.d -- contains a number of shell scripts that are
run on boot up at different run levels. There is also typically an rc.inet1 script to set up networking (in Slackwar), an rc.modules script to load modular device drivers, and an rc.local script that can be edited to run commands desired by the administrator, along the lines of autoexec.bat in DOS.
/etc/rc.d/init.d -- contains most of the initialization scripts themselves on an rpm-based system.
/etc/rc.d/rc*.d -- where "*" is a number corresponding to the default run level. Contains files for services to be started and stopped at that run level. On rpm-based systems, these files are symbolic links to the initialization scripts themselves, which are in /etc/rc.d/init.d.
/etc/skel -- directory containing several example or skeleton initialization shells. Often contains subdirectories and files used to populate a new user's home directory.
/etc/X11 -- configuration files for the X Window system
/home -- locally stored user files and folders
/lib -- system libraries (similar to Program Files)
/lost+found -- lost and found for lost files
/media -- mounted (or loaded) devices such as cdroms, digital cameras, etc.
/mnt -- mounted file systems
/opt -- location for “optionally” installed programs
/proc -- dynamic directory including information about and listing of processes
/root -- “home” folder for the root user
/sbin -- system-only binaries (see /bin)
/sys -- contains information about the system
/tmp -- temporary files
/usr -- applications mainly for regular users
/var -- mainly logs, databases, etc.
/usr/local/bin -- the place to put your own programs. They will not be overwritten with upgrades.
/usr/share/doc -- documentation.
Techniques For Setting Up Proxy Server ----->?
“Dear all now I am showing you to one of the best and very use full techniques to implement squid proxy server using Linux. In the Market there are lots of Linux versions I am using Ubuntu server edition Linux for Implementation.”
What is Proxy Server ----->?
As seen in the preceding image, clients can't make direct requests to the web servers. To facilitate communication between clients and web servers, we have connected them using a proxy server which is acting as a medium of communication for clients and web servers. Getting Started with Squid
In advanced forms, a proxy server can filter requests based on various rules and may allow Communication only when requests can be validated against the available rules. The rules are generally based on an IP address of a client or target server, protocol, content type of web documents, web content type, and so on. Sometimes, a proxy server can modify requests or replies, or can even store the replies from the target server locally for fulfilling the same request from the same or other clients at a later stage. Storing the replies locally for use at a later time is known as caching. Caching is a popular technique used by proxy servers to save bandwidth, empowering web servers, and improving the end user's browsing experience.
“In simple terms, a proxy server is an agent between a client and target server that has a list of rules against which it validates every request or reply, and then allows or denies access accordingly.”
What’s the Proxy Server Do ----->?
Proxy servers are mostly deployed to perform the following:
1. Reduce bandwidth usage
2. Enhance the user's browsing experience by reducing page load time which, in turn,
3. Is achieved by caching web documents
4. Enforce network access policies
5. Monitoring user traffic or reporting Internet usage for individual users or groups
6. Enhance user privacy by not exposing a user's machine directly to Internet
7. Distribute load among different web servers to reduce load on a single server
8. Empower a poorly performing web server
9. Filter requests or replies using an integrated virus/malware detection system
10. Load balance network traffic across multiple Internet connections
11. Relay traffic around within a local area network
Types of Proxy Server ----->?
1. Forward Proxy
2. Open Proxy
3. Reverse Proxy
Now I am using the reverse proxy techniques for implementation.
Reverse Proxy --->?
Reverse proxy is a technique of storing the replies or resources from a web server locally So that the subsequent requests to the same resource can be satisfied from the local copy on the proxy server, sometimes without even actually contacting the web server. The proxy Server or web cache checks if the locally stored copy of the web document is still valid before serving the cached copy. The life of the locally stored web document is calculated from the additional HTTP headers received from the web server. Using HTTP headers, web servers can control whether a given Document/response should be cached by a proxy server or not. Web caching is mostly used:
Too reduce a bandwidth usage. A large number of static web documents like CSS and JavaScript files, images, videos, and so on can be cached as they don't change frequently and constitutes the major part of a response from a web server. By ISPs to reduce average page load time to enhance browsing experience for their Customers on Dial-Up or broadband. To take a load off a very busy web server by serving static pages/documents from.
Preparation for Implementation of Proxy Server ---- >?
1:- Download the ISO Image from Ubuntu Web Portal and Burn it to Blank Cd Disk or Blank DVD Disk
The Download Url is Given Below, 64 Bit Recommended, Also Use 32 Bit, As per You Choose. This OS is Free of Cost No Additional License Required for User
http://www.ubuntu.com/download/server
2:- After Download the ISO image Burn it to Disk and Start the Installation Process.
3:- Minimum System Requirement for Server Os Installation
Processor: - Dual Core 2.0 MHz, Memory RAM: - 2GB, Hard Disk 40 GB Space, Ethernet Port 1 On Board One PCI or Use Dual Ethernet Port Motherboard, This is the Normal Requirement If you want to implement it for Business Purpose My Recommendation Use Server Grade Machine For Reliability and Performance Of system. You Use IBM, HP Server for This.
4:- After The Disk Burning Process is Finish You Need to Installed It, There Are Two Way for Installation of Server
OS On PC or Server Machine. Dual Boot Process and Single Boot Process
Wait For Next Process Step, We Are Working On Writing The Article ……..
What is Linux ----->?
Linux is, in simplest terms, an operating system. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. The operating system (OS) relays instructions from an application to, for instance, the computer's processor. The processor performs the instructed task, and then sends the results back to the application via the operating system. Explained in these terms, Linux is very similar to other operating systems, such as Windows and OS X.
But something sets Linux apart from these operating systems. The Linux operating system represented a $25 billion ecosystem in 2008. Since its inception in 1991, Linux has grown to become a force in computing, powering everything from the New York Stock Exchange to mobile phones to supercomputers to consumer devices.
As an open operating system, Linux is developed collaboratively, meaning no one company is solely responsible for its development or ongoing support. Companies participating in the Linux economy share research and development costs with their partners and competitors. This spreading of development burden amongst individuals and companies has resulted in a large and efficient ecosystem and unheralded software innovation.
For More Reading about Linux Operating System See Below Web Portal
http://en.wikipedia.org/wiki/Linux
What is Linux Structure ----->?
In the Linux operating system, all file systems are contained within one directory hierarchy. The root directory is the top level directory, and all its subdirectories make up the directory hierarchy. This differs to other operating system such as MS-Windows which applies a separate hierarchy for each device and partition.
/bin -- binary applications (most of your executable files)
/boot -- files required to boot (such as the kernel, etc.)
/dev. -- your devices (everything from drives to displays)
/etc. -- just about every configuration file for your system
/etc/profile.d -- contains scripts that are run by /etc/profile upon login.
/etc/rc.d -- contains a number of shell scripts that are
run on boot up at different run levels. There is also typically an rc.inet1 script to set up networking (in Slackwar), an rc.modules script to load modular device drivers, and an rc.local script that can be edited to run commands desired by the administrator, along the lines of autoexec.bat in DOS.
/etc/rc.d/init.d -- contains most of the initialization scripts themselves on an rpm-based system.
/etc/rc.d/rc*.d -- where "*" is a number corresponding to the default run level. Contains files for services to be started and stopped at that run level. On rpm-based systems, these files are symbolic links to the initialization scripts themselves, which are in /etc/rc.d/init.d.
/etc/skel -- directory containing several example or skeleton initialization shells. Often contains subdirectories and files used to populate a new user's home directory.
/etc/X11 -- configuration files for the X Window system
/home -- locally stored user files and folders
/lib -- system libraries (similar to Program Files)
/lost+found -- lost and found for lost files
/media -- mounted (or loaded) devices such as cdroms, digital cameras, etc.
/mnt -- mounted file systems
/opt -- location for “optionally” installed programs
/proc -- dynamic directory including information about and listing of processes
/root -- “home” folder for the root user
/sbin -- system-only binaries (see /bin)
/sys -- contains information about the system
/tmp -- temporary files
/usr -- applications mainly for regular users
/var -- mainly logs, databases, etc.
/usr/local/bin -- the place to put your own programs. They will not be overwritten with upgrades.
/usr/share/doc -- documentation.
Techniques For Setting Up Proxy Server ----->?
“Dear all now I am showing you to one of the best and very use full techniques to implement squid proxy server using Linux. In the Market there are lots of Linux versions I am using Ubuntu server edition Linux for Implementation.”
What is Proxy Server ----->?
As seen in the preceding image, clients can't make direct requests to the web servers. To facilitate communication between clients and web servers, we have connected them using a proxy server which is acting as a medium of communication for clients and web servers. Getting Started with Squid
In advanced forms, a proxy server can filter requests based on various rules and may allow Communication only when requests can be validated against the available rules. The rules are generally based on an IP address of a client or target server, protocol, content type of web documents, web content type, and so on. Sometimes, a proxy server can modify requests or replies, or can even store the replies from the target server locally for fulfilling the same request from the same or other clients at a later stage. Storing the replies locally for use at a later time is known as caching. Caching is a popular technique used by proxy servers to save bandwidth, empowering web servers, and improving the end user's browsing experience.
“In simple terms, a proxy server is an agent between a client and target server that has a list of rules against which it validates every request or reply, and then allows or denies access accordingly.”
What’s the Proxy Server Do ----->?
Proxy servers are mostly deployed to perform the following:
1. Reduce bandwidth usage
2. Enhance the user's browsing experience by reducing page load time which, in turn,
3. Is achieved by caching web documents
4. Enforce network access policies
5. Monitoring user traffic or reporting Internet usage for individual users or groups
6. Enhance user privacy by not exposing a user's machine directly to Internet
7. Distribute load among different web servers to reduce load on a single server
8. Empower a poorly performing web server
9. Filter requests or replies using an integrated virus/malware detection system
10. Load balance network traffic across multiple Internet connections
11. Relay traffic around within a local area network
Types of Proxy Server ----->?
1. Forward Proxy
2. Open Proxy
3. Reverse Proxy
Now I am using the reverse proxy techniques for implementation.
Reverse Proxy --->?
Reverse proxy is a technique of storing the replies or resources from a web server locally So that the subsequent requests to the same resource can be satisfied from the local copy on the proxy server, sometimes without even actually contacting the web server. The proxy Server or web cache checks if the locally stored copy of the web document is still valid before serving the cached copy. The life of the locally stored web document is calculated from the additional HTTP headers received from the web server. Using HTTP headers, web servers can control whether a given Document/response should be cached by a proxy server or not. Web caching is mostly used:
Too reduce a bandwidth usage. A large number of static web documents like CSS and JavaScript files, images, videos, and so on can be cached as they don't change frequently and constitutes the major part of a response from a web server. By ISPs to reduce average page load time to enhance browsing experience for their Customers on Dial-Up or broadband. To take a load off a very busy web server by serving static pages/documents from.
Preparation for Implementation of Proxy Server ---- >?
1:- Download the ISO Image from Ubuntu Web Portal and Burn it to Blank Cd Disk or Blank DVD Disk
The Download Url is Given Below, 64 Bit Recommended, Also Use 32 Bit, As per You Choose. This OS is Free of Cost No Additional License Required for User
http://www.ubuntu.com/download/server
2:- After Download the ISO image Burn it to Disk and Start the Installation Process.
3:- Minimum System Requirement for Server Os Installation
Processor: - Dual Core 2.0 MHz, Memory RAM: - 2GB, Hard Disk 40 GB Space, Ethernet Port 1 On Board One PCI or Use Dual Ethernet Port Motherboard, This is the Normal Requirement If you want to implement it for Business Purpose My Recommendation Use Server Grade Machine For Reliability and Performance Of system. You Use IBM, HP Server for This.
4:- After The Disk Burning Process is Finish You Need to Installed It, There Are Two Way for Installation of Server
OS On PC or Server Machine. Dual Boot Process and Single Boot Process
Wait For Next Process Step, We Are Working On Writing The Article ……..
Monday, April 14, 2014
Subscribe to:
Posts (Atom)