192.168.1.3:80; server 192.168.1.4:80; server 192.168.1.5:80; } upstream server2 { server 192.168.1.7:8080; server 192.168.1.7:8081; server 192.168.1.7:8082; } server { listen 80; server_name server1; location / { proxy_pass http://www.zyan.cc; proxy_set_header Host $host;
When yum is used, the download package settings are retained, and the yum retention package settings are retained.
From: http://www.360doc.com/content/11/0218/15/4171006_94080041.shtml
Configure yum to retain the downloaded rpm package for future upgrades or reinstallation.Modify/etc/yum. conf[Main]Cachedir =/home/soft1/yumcacheKeepcache = 1Debuglevel = 2
Cachedir is the place where the downloaded pack
Git SSH Key settings and gitsshkey settingsI wanted to write an article about SSH, mainly about Git SSH. However, I found that many articles have been well written. You can refer to the "references" below ".Here is a simple record (for Mac), Git SSH Key settings, for your own memo.1. generate an SSH key
If ~ /. There is no key under the ssh directory (for example, id_rsa and id_rsa.pub), which must be gene
One JavaScript instance every day-display settings and get CSS style settings, javascriptcss
How to operate css in javascript
Get the attributes of the css style sheet:1) obtain the css style table attribute values under ieDocument. getElementById ('id'). currentStyle. attribute name;2) In FirefoxWindow. getComputedStyle (document. getElementById ('id')., null). attribute name;The method for operating css
Common ubuntu settings and ubuntu settings
A new 64-bit computer with an i5 CPU is assembled. After Entering ubuntu, It is a search setting and sorted as follows for later use.
Install the. dep package
Sudo dpkg-I [filename. dep]
Access windows partitions in ubuntu
Sudo ntfsfix [/dev/sda1]
Install flash plug-in
Sudo apt install adobe-flashplugin
Automatic Web connection (DSL)
Sudo pon dsl-providerS
Eclipse reload-free settings and javassereload settings
When using eclipse to develop a web project, you may need to check the result through running. However, if the project is large, you may need to restart the project once to change the code, or eclipse will automatically help you reload it, this seriously affects the development efficiency. Here, you only need to modify the server configuration file t
The App jumps to system Settings, and the app jumps to settings.Many famous and non-famous apps have the function of redirecting to system Settings in the App in some way. However, iOS5.1 cannot be called normally. I have summarized the following two methods after mod-cable:Method 1:
Actually a littleBaiduYou can find the following list.
Notification — prefs:root=NOTIFICATI_IDPhone — prefs:root=PhonePhotos
The android toast settings are shorter than the Toast. LENGTH_SHORT settings.
Recently, I have been engaged in android development. Many things have not considered versatility when used. For example, I often use toast and the Toast that comes with the system. LENGTH_LONG is 3.5 seconds, Toast. LENGTH_SHORT is 2 seconds. Sometimes we find Toast. LENGTH_SHORT is longer than we want. Here we can use handler t
Multiple settings in the navigation bar and multiple settings in the navigation bar
Note: For simple people, do not speak quietly .... I am a record.
By default, the webpage has the margin value and padding value, and the subsequent elements do not take effect in the modification process of margin and padding, therefore, in the style setting process, the margin and padding values of all elements are first c
Guide to graphic display settings for game players
(4)
Translated by koroush Ghazi
Level 4 graphic processing (part 3)
Step 7 GPU processing data
Now the GPU can access data in VRAM, And it undertakes a series of complex graphic computing tasks in a place usually called graphics pipeline. This "Pipeline" has many stages (stages) which are used to constantly convert pure 3D data into visible things on a 2-dimensional display screen:
1. tran
Http://blog.csdn.net/andypan1314/article/details/7218026
When you run the software for the first time after installation, the system prompts you whether to allow the software to obtain the current location. If you do not allow the software, the system does not prompt you to set the location during later running, which is inconvenient, the solution is to give the user an option to call up the "set" positioning service option on the iPhone, which is manually set by the user. The code for locating
Modify IP permanent effect as followsVi/etc/sysconfig/network-scripts/ifcfg-eth0 (eth0, first Nic, if the second block is eth1)Modify the IP as follows:device=eth0 #如果是第二块刚为eth1BOOTPROTO=static #网卡获得ip地址的方式, static and DHCP two ways ipaddr=192.168. 1.122 #改成要设置的IPNETMASK=255.255. 255.0 #子网掩码GATEWAY=192.168. 1.1 #网关地址HWADDR=:xx: +:8c:ad #网卡物理地址ONBOOT= Yes #系统启动时是否设置此网络接口, when set to Yes, activates the device when the system starts. The default setting is YesThen the restart takes effect:Service
unicode Unified Encoding Table asciigb2312gbkeclipse Common configuration set font style window-->preferences -->General-->Appearance-->colorsandFonts Basic-->TextFont Code Editing area Debug-->ConsoleFont Console Area Recommended Font:consolas modify JDK version 1, Window-->preferences-->java -->compilerps: This setting only modifies the default JDK version of future newly created features NBSP;NBSP;NBSP;2, if you need to modify the JDK version of a project that you have already created, do
Looking at the properties of a project in Visual Studio, you'll find that there are two drop-down boxes at the top, where you can specify platform-related information, but there's also a target platform, where you can specify platform-related information, which is often confusing, How does a project have two settings, then the current item is compiled into that format.
Here's a simple explanation. The active, "activity" means a configuration of t
://mirrors.aliyun.com/ubuntu/xenial main restricted Multiverse universe #Added by software-properties5 deb http://mirrors.aliyun.com/ubuntu/xenial-updates main restricted6 deb-src http://mirrors.aliyun.com/ubuntu/xenial-updates main restricted Multiverse universe #Added by Software-properties7 Deb Http://mirrors.aliyun.com/ubuntu/xenial Universe8 Deb Http://mirrors.aliyun.com/ubuntu/xenial-updates Universe9 Deb Http://mirrors.aliyun.com/ubuntu/xenial MultiverseTen Deb Http://mirrors.aliyun.com/u
/pw_dictThere is no need to add. pwd after pw_dict, because the default is to bring[Email protected] ~]# passwd testChanging password for user test.New Password:/usr/share/cracklib/pw_dict.pwd.pwd:no such file or directory
Parameter meaning:Number of attempts: 5Minimum different characters: 3Minimum password Length: 10Minimum capital letters: 1Minimum lowercase letters: 3Minimum number: 3Password Dictionary:/usr/share/cracklib/pw_dictThis is set up, you can do the test, but you need to exit
: menu Tools --> Preferences --> Key Configuration 7. The SQL Window automatically selects the statement setting method based on the cursor position: Preferences --> Window Types --> SQL Window, select AutoSelect statement. Note that each statement must be followed by a plus sign. Supplement: 8. To start PLSQL Developer, it takes two steps to automatically bring up the window list menu. First, save the desktop settings and check the Window list option
When using Android software, you often need to open the system settings or information interface to set related system items or view related system information, in this case, we can use the following statement: (for example, open the "wireless and network settings" Interface)
Intent intent = new intent ("/");
Componentname CM = new componentname ("com. Android. Settings
configuration options with Netsh and Group Policy
This article describes in detail the set of dialog boxes that are used to manually configure a new firewall. Unlike ICF in Windows XP (prior to SP2), these configuration dialogs can configure both IPv4 and IPv6 traffic.
The ICF settings in Windows XP (prior to SP2) include a single check box (on the Advanced tab of the connection properties "protect my computer and network by restricting or preventi
By recycling application pool settings, you can control how system resources are recovered. The following sections describe how to specify a recycle application pool setting.
Specify Recycle application pool settings
The Recycle application pool settings are specified in the Recycle tab of the application pool's Properties dialog box.
Set up recycle appli
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.