I have a UbuntuLinux machine with a wireless network card that can be used to access the Internet. I want to set it as a proxy server so that other machines in the Intranet can use it as a proxy for Internet access. 1. Install squidwww.linuxidc.com @ linuxidc on UbuntuLinux :~ $ Sudoapt-getinstallsquid2. Started automatically after installation, if you use the de
Ubuntu installs squid as the Proxy of the intranet. I have a machine named UbuntuLinux, which has a wireless network card and can be used on the Internet. I want to set it as a proxy server so that other machines in the intranet can use it as a proxy for Internet access. 1.
/src/zlib-1.2.7 refers to the zlib-1.2.7 source path.
6. StartMake sure that the 80 port of the system is not occupied by other programs./usr/local/nginx/sbin/nginx
Check whether the startup was successful:NETSTAT-ANO|GREP 80 Results Input Description started successfully
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i '). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the
Problem: My computer is connected to the company network through an HTTP proxy. When I try to install the Ubuntu Desktop from a CD-ROM on a computer, the installer will be suspended while retrieving files, and retrieval will not be completed, possibly because of a proxy. However, the problem is that the Ubuntu installe
Linux Tutorial: how to install Ubuntu Desktop through a proxy server
Problem: My computer is connected to the company network through an HTTP proxy. When I try to install the Ubuntu Desktop from a CD-ROM on a computer, the installer will be suspended while retrieving files,
IsSmall and medium-sized enterprises customize a set of open source software solutionsStarted to build a website.
1. Install squid
$ Sudo apt-get install squid-y
Note: After installation, you can start/etc/init. d/squid3 start, but the default status is unavailable.
2. Configuration
$/Etc/squid. conf
Configure Port
Http_port 3128
Note: We recommend that you modify the default Port.
Permission Control
Acl localnet src 192.168.XXX.0/255.255.255.0
Replace the preceding XXX with the desired CI
Dante-server is a good SOCKS4/5 proxy server software.
Using Apt-get Installation
Apt-get Install Dante-server
Add a user
Useradd Proxyuserpasswd ProxyuserProhibit Proxyuser User Login system (Security Considerations)
sudo vim/etc/passwd
Change the Proxyuser shell into/bin/false
Configure danted.conf
sudo mv/et
This article describes how to install node and nginx for the Ubuntu Server 12.04 LTS 64-bit host on Tencent Cloud, and simply configure the reverse proxy.
The author in the entire installation process encountered a lot of trouble (not to repeat), if you want to pit less, you can follow the steps of this article to install the deployment.A. New Nodejs installatio
Using VMWare software in Windows and installing Linux/Ubuntu is a common development method. From the perspective of usage, the Ubuntu operation method is basically the same as that of a non-simulator, however, I also encountered some minor problems when using it. This blog is mainly about how to use proxy servers in VMWare U
In Ubuntu, use Squid to set a server as a proxy server. first install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid Configuration file sudogedit/etc/squid. conf and then go to # Andfinallydenyallother Ubuntu
In Ubuntu, use Squid to set a server as a proxy server. First install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid configuration file sudogedit/etc/squid. conf and then locate # Andfinallydenyallotheraccesstothisproxyhttp _
Use Squid in
Basic configurations of Nginx installation, reverse proxy, and Server Load balancer In Debian/UbuntuInstall Nginx, reverse proxy, and load balancing In Debian/Ubuntu
Go to the Nginx official website to download the latest stable version, here is the nginx-1.6.3 version.After the download is complete, decompress the pac
PS: the proxy server can be started without a password.
2. Set static IP addresses
The network configuration information of Ubuntu is saved in the/etc/Network/interfaces file. Use Vim to open the configuration file. By default, the configuration of the IP address is automatically obtained as follows:
# The primary network interface
Auto Lo
Iface lo Inet loopback
Use Squid in Ubuntu to set a machine as a proxy serverFirst install squidSudo apt-get install squidThen let's take a look at the squid installation.Whereis squidModify the squid configuration fileSudo gedit/etc/squid. confThen, locate# And finally deny all other access to this proxyHttp_access deny all # Change deny to allow any user to use your machine as a proxy.The following two sentences are separated:#
In ubuntu, configure the proxy server (iptables)-Linux Enterprise Application-Linux server application information. The following is a detailed description. #! /Bin/sh
Echo "1">/proc/sys/net/ipv4/ip_forward
/Sbin/modprobe ip_tables
/Sbin/modprobe ip_nat_ftp
EXTIF = ppp +
ANY = 0.0. 0.0/0
LAN = 192.168. 0.0/24
. XXX/XX is the remote IP address set in step 1.9. Configure the startup service (optional) The code is as follows:Copy code Chkconfig iptables onChkconfig pptpd on 10. Start or restart the pptp and iptables services. The code is as follows:Copy code # Service iptables start# Service pptpd startService iptables restartService pptpd restart Configure the VPN proxy server in UbuntuThe operating syst
First, installationInstalling Tinyproxysudo apt-get install tinyproxy-yAfter the installation is complete, the proxy service is automatically opened with the root limit, and the default listener 8888Second, the configuration TinyproxyVim/etc/tinyproxy.conf1) Modify the Tinyproxy default listening port:2) Modify the Monitor network card:If you have more than one network card, you can bind to one of them.If this line is commented out, Tinyproxy will bin
/var/cache/squid 100 16 256coredump_dir/usr/local/squid/var/cache/squiddns_nameservers 114.114.114.114 #dnsrefresh_pattern ^ftp:1440 20% 10080refresh_pattern ^gopher:1440 0% 1440refresh_pattern-i (/cgi-bin/|\?) 0 0% 0refre Sh_pattern. 0 20% 4320Finally, attach the configuration details:#acl all src 0.0.0.0/0.0.0.0 and http_access the Allow all option defines an access control list. For details see and squid Software # carry documentation. The access control list here allows all
Install Nginx:sudo apt-get install NginxStart Nginx;sudo service nginx startIf this error is reported:[Alert] could not open error log file:open () "/var/log/nginx/error.log" failed (13:permission denied) 2015/01/16 15:55:46 [Warn] 1973#0:the "user" directive makes sense only if the master process runs with super-user privileges, ignored In/et C/nginx/nginx.conf:1nginx:the configuration file/etc/nginx/nginx.conf syntax is OK2015/01/16 15:55:46 [Emerg] 1973#0:o Pen () "/var/run/nginx.pid" failed
Ubuntu sets proxy for Internet access and ubuntu sets proxy
A Proxy Server is an intermediate agency between a personal network and an Internet service provider. It forwards valid network information and controls and registers for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.