I. Basic description of Load Balancing
1.1 Why to use Nginx
With this image we can see that nginx performance is significantly better than Apache and lighttpd, so we use Nginx to load balance.
So how do we achieve load balancing? Take a look at the architecture diagram below.
1.2 Load-Balanced architecture diagram
With this architecture diagram, we can see that we are doing load balancing through an Nginx proxy server + two Web servers.
1.3 Environmental Description
Operating syst
1 IntroductionI have a binary file that is a program that cannot be executed on Ubuntu system and the results obtained by using the file command are:Graphgen:elf 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked (uses shared libs), not strippedBased on the above tips, I thought about installing the Soloari SPARC series operating system on Virtual box VMS because the hints above are binaries
Departmental machine upgrades, the elimination of a number of older machines, including the Ultra series of SPARC models, 64M memory, 2.1G hard disk, Solaris 9 has indicated that it does not support 64m memory, installed Solaris 8 and really lazy to play patch, not to mention, so small hard drive , the Solaris 8 has been installed and there is no room for service, and Solaris is not as easy to use as Linux for workstations. When using Gentoo, I have s
Windows 7x64 sp1 Simics 3.0.31 install solaris-10-sparc Note 0. Copy the sol-10-u2-ga-sparc-v (1, 2, 3, 4, 5). iso to the workspace directory. Do not use sol-10-u10-ga2-sparc-dvd.iso, This is not fully installed on 1. modify the configuration parameters (peanut-sol10-cd-install1.simics) $ disk_size = 17027891200 # modify, hard disk size, it is best to give larger
5.11 Version 11.1 64-bitCopyright (c) 1983, the Oracle and/or its affiliates. All rights reserved.Notice:hypervisor does not support CPU power managementHostname:jdstest27Jdstest27 console Login:mar 13:13:30 jdstest27 Nfs:WARNING:NFS Server initial call to Sorrento-a.us.oracle.com Faile D:permission deniedMar 13:13:30 jdstest27 automountd[578]: Mount of sorrento-a.us.oracle.com:/export/pool-0/ocm on/ws/ocm:permission de Nied.../There is so much in it that it is omitted from the ......//There ar
Apache|mysql used to microsft things, people also become more and more lazy:-) but still want Microsoft not to fall ~ ~, what new software package to get the first is can't wait to the CD-ROM drive inside a plug, if it can automatically run (Hey, The service is really thoughtful) jump directly to the next step, if not the words to find setup.exe,install.exe ... Anyway it's easy to fix, and then go to brew a cup of tea, slowly sit down to the side of tea and constantly hit enter, and occasionally
Related article: How to install Linux systems in SPARC (1)
Next, is to format the partition
MKE2FS/DEV/SDA1//Format the first partition (boot partition) into ext2 format, which is also the Linux default format
Mke2fs-j/DEV/SDA4//format the fourth partition (root partition) in ext3 format, remember that because of SPARC's particularity, our Sda3 is whole disk, so do not habitually think of only 3 partitions, so sda3 to the format.
Create an interch
Reference from:Oracle Database (RDBMS) on Unix aix,hp-ux,linux,mac OS x,solaris,tru64 unix Operating Systems installation and Configurati On Requirements Quick Reference (8.0.5 to 11.2) (document ID 169706.1)Required Packages:sunwarc, Sunwbtool, Sunwhea, SUNWLIBM, Sunwlibms, Sunwmfrun, Sunwsprot, Sunwsprox (not applicable Laris, because it 's Solaris 10, the package doesn't have to be hit. Sunwtoo, Sunwxwfnt, Sunwi1cs, Sunwi15cs, Sunwi1of, SUNWxcu4, SUNWuiu8 and Sunwulcfsolaris, reqd patches 1
g++4.6 compilation is an error:Make PROFILEDBOOTSTRAP/VAR/TMP/GCC4/GCC-4.0.1/SPARC-SUN-SOLARIS2.8/GCC/GCJ-B/VAR/TMP/GCC4/GCC-4.0.1/ sparc-sun-solaris2.8/gcc/-b/tools/freeware/gcc4.0/sparc-sun-solaris2.8/bin/-B/tools/freeware/gcc4.0/ sparc-sun-solaris2.8/lib/-isystem/tools/freeware/gcc4.0/
Installation Steps
Step 1: Obtain the random patch for Solaris 8.
PRNG is not seeded. The following is my solution.First, you must ensure that all the packages required by openssh are installed.1. Sun's patch 112438-01In fact, this patch is installed and sometimes it is not used because 8 does not have a random number device by default.Install the patch to solve this problem, but it is not recommended to install it because it is useless in actual use.
2. Install a 3rd-party software ANDIrand-0.7
GIF Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
II. installation in Unix/linux
Unix installation is more troublesome, the latest php 4.0.4pl1 as an example to introduce the gd-1.8.3 under Solaris 7
Including the installation supported by gif.
System environment: Solaris 7, gcc 2.9.2, make 3.78.1, bison 1.2.8
Jpeg-6b installation:
File name: jpeg-6b-sol7-sparc-local.gz
Version: 6b
Site: http://www.sunfreeware.com/
Do
Affected System setuid Program (Linux, patch) involved program: Red Hat LinuxDescription RedHat Linux core security vulnerability affects the system's setuid ProgramDetailsVersions with vulnerabilities:
Red Hat Linux 6.0 - i386 alpha sparc Red Hat Linux 6.1 - i386 alpha sparc Red Hat Linux 6.2 - i386 alpha sparc
Drivers added or updated to the cor
fully developed, and the instruction set definition does not have the advantages of the RISC-V architecture mentioned in the previous section. More did not rise to the height of the establishment of a dedicated foundation organization. OpenRISC is often considered an open source core rather than a graceful instruction set architecture. In addition, OpenRISC's license is the GPL, which means that all instruction set changes must be open source (and risc-v is not). A--
Compiling and installing MySQL under solrais many of my friends may encounter some problems when compiling mysql under sun. now I will sort out the compilation process as follows, hoping to help you.
Environment:
Sun250 + solaris8
Process:
First install the compilation environment of solaris8, go to http://www.sunfreeware.com/download the ghost software:
1.autoconf-2.13-sol8-sparc-local.gz
2.automake-1.4-sol8-spar
To receive the notification, you need to build the apache2 http server under solaris8. The version is 2.26.
So I went.Http://www.sunfreeware.com/indexsparc8.html, Find the required software,At first I was dizzy. I went to the software installation of mongosolaris10, but I could install it ?...Sweaty! Finally, you have to delete it.
Apache-2.2.6-sol8-sparc-local.gz Apache 2-the popular web server-installin/usr/local/apache2. This apache package was co
1 describes the environment settings that this article is based on as follows:? Host operating system: Windows 7 Ultimate? Parasitic operating systems: Solaris 8 SPARC (SunOS 5.8)? Virtual Environment: Simics 3.0.4This article assumes that the Solaris 8 SPARC operating system has been installed on Simics.Motive: A binary file Graphgen that can run under UNIX, cannot run on a separate Ubuntu-equipped compute
Inter-module call reload new and delete problem the call between modules reload new and delete problem: 1. Problem:
Run on our client
Code New a class in the static library, and then delete it immediately,
An error occurred during the delete operation! The following code:
Kserver * psvr = new kserver;
Delete psvr; 2. cause:
Tracking found that the overloaded global operator new was introduced at the time o
Install top on Solaris:The system uses the x86 Solaris 9,download top-3.5.1-sol9-intel-local.gz
# Gzip-D top-3.5.1-sol9-intel-local.gz# Pkgadd-D top-3.5.1-sol9-intel-local
The above is a simple process. The following describes in detail.
TopThis software is not included in the heap disc provided by Sun. It is a freeSoftware, You can download from the http://www.sunfreeware.com here. I useSolaris 9For exampleTopPackage download link: ftp://ftp.sunfreeware.com/pub/freeware/
Technorati Tags: Solaris, gcc
Solaris under GCC installation 1 view Sun OS version
uname-a command to view the system version. Know is SunOS 5.8.
SunOS 5.8 is called Solaris 8
SunOS 5.9 is called Solaris 9, then there is no 5.x, to the Solaris 10 ... 2 Installing GCC
1. Download to www.sunfreeware.com gcc-3.4.6-sol8-sparc-local.gz
2. Gunzip gcc-3.4.6-sol8-sparc-local.gz
3. Pkgadd–d Gunzip gcc-3.4.6-sol8-
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.