Before using Nginx did the Web reverse proxy, did not do load balancing, today there is a classmate need to do Tomcat load balancing, I also studied.
There are altogether 2 machines, one physical machine (Win7) that deploys 2 tomcat, which is
Recently interested in Linux comparison, the following can be regarded as their own study notes, or specifically speaking of their own learning experienceThe system partition uses a partition compiler (Partition editor) to divide several logical
RSYNC-VZRTOPG--progress felix//home/magnum/work-environment/Synchronization Local folder, can continue after an abnormal interruptionchmod 777 *-R action to assign permissions to all files in the current directorySed-i ' s/^.:/ The/' Add.cpp
1. Download NginxHttp://nginx.org/en/download.html, this article uses nginx-1.6.22. Upload the downloaded file to the server/RSP directory3. Unzip the file nginx-1.6.2.tar.gzTAR–ZXVF nginx-1.6.2.tar.gz4. Go to Nginx directory for
Often need to replicate VMs in VMware, for the new machine to be copied to modify the machine name, or in the same LAN conflict, the following is the Linux system to view and modify the machine name method and steps:1. Check the machine name of the
Adding libtest.so dynamic libraries to Linux projects1. Add the corresponding header file for the dynamic library2, add the path of the dynamic link library (you can put the dynamic library under/usr/lib/, you can also use absolute path)3. Add a
Task Scheduler/etc/crontableCrontab-e Editing tasksCrontab-r Terminate All Tasks* * * * * date >/home/date1.txt//Every minute write the current date into Date1.txtMinutes per hour execution 0-59The hours of the day when the number of executions
Working with text printed as a table type in the Linux command line First create a file list.txt with three columns of data (name, age, occupation) A set of data per row, different columns for each group of data, separated by a space
1) Introduction to Linux programming--Basic knowledge of C programming Fundamentals in Linux Preface: This article describes the basic knowledge required for C programming under Linux. In this article, we will learn the following: The source program
In general, Iptables is already included in the Linux distribution.Run#iptables--versionTo see if the system is installing iptables boot iptables: #service iptables Start view iptables rule set#iptables--list Below is what iptables look like when
Common user management commands under Linux are: Useradd, Userdel, Usermod, passwd, Chsh, finger, id, chage4, change the user's shellCommand: CHSHSyntax: Chsh [-S Shell] [-l] [-u] [-v] [username]Options:-S: Change the current shell-L: Displays the
Use Cacti in Linux to monitor traffic and use linuxcacti to monitor traffic
Cacti is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP, and RRDTool. It is developed using PHP, it is a software composed
Common Linux commands (8)-touch
Linux touch commands are not commonly used. They are generally used to modify the file timestamp or create a new file that does not exist.
1. Command Format:
Touch [Option] File
2. command parameters:
-A only changes
Common Linux commands (14)-tail
The tail command writes the file to the standard output from the specified point. you can use the-f option of the tail command to conveniently check the changing log file. The tail content of the filename is displayed
Use Cacti in Linux to monitor traffic
Cacti is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP, and RRDTool. It is developed using PHP, it is a software composed of some PHP pages, mainly for the
Ubuntu Study Notes
Myself and Its Configuration
8 GB memory, 16 gb ssd. GB ordinary hard drive.
Machine configuration goals:
As a java php development environment and server environment.
Partition Scheme:
16 GB hard drive
CentOS backup compression commandGzip command02.03.Compress all the files in the familya under the/home/itcast into A. GZ file.04.cd /home/itcast05.Tar-cvf/home/itcast/familyA.tar/home/itcast/familyA is first packaged, because gzip cannot directly
Compile and install php5.6.2 in Centos 6.5
Pure Centos 6.5 System
Configure the 163yum source (a document will be written later)
Install the Development software package: yum-y groupinstall "Development Tools"
Install mysql: yum-y install mysql-
CentOS replace 163 of yum sources in one minute
It is estimated that the local source is too good. 163 of the source is still quite complete, and the speed is also very fast.
Update 163 source so easy!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
How to install samba in linux and precautions
There are many ways to install software in linux: 1. Directly install (rpm-ivh package) with an rpm package; 2. Install yum; 3. apt-get.
If you can connect to the Internet, apt-get is the simplest method.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service