Some time ago, for some purpose, we had to start multiple Tomcat servers at the same time. After checking them online for half a day, we found a solution and shared it with us.
All Tomcat servers I use are zip and non-installed. Take two examples:After installing the second tomcat, go to the conf subdirectory under th
Because the company has two Windows servers, development in the operation of the general is to upload some data on these two servers or modify something, and Linux server on the windows to be consistent with the data and do not need to implement this process, based on this process, yesterday took a little time, Completed the basic test implementation process, tod
Since the company's games need to be launched in Vietnam and South Korea, the time in Vietnam is one hour slower than ours, and the time in South Korea is one hour faster than ours, therefore, when configuring the system environment on the server, you need to set the time point for the Vietnamese server to synchronize with Vietnam, and the
rsync synchronization, This just solves the problem of real-time synchronization data.Specific people can refer to http://www.ibm.com/developerworks/cn/linux/l-ubuntu-inotify/index.html to learn.
Next we start with the installation, configuration, and testing of rsync and inotify.
The following is the structure of 2 servers, host name, IP, status, kernel, number of digits, synchronized directory, and 2
Today, the manager handed me a task and asked me to install another tomcat for testing on the server, because our system has used the function of calling the mobile cmpp sms interface to send text messages to customers, which limits the IP address, debugging can only be performed on the server. No, I used to think about running two tomcat servers on my own machine at the same time. I thought it would be oka
How to configure Time Synchronization for foreign servers in CentOS
Since the company's games need to be launched in Vietnam and South Korea, the time in Vietnam is one hour slower than ours, and the time in South Korea is one hour faster than ours, therefore, when configuring the system environment on the server, you
1) Delete local time and set time zone to ShanghaiRm-rf/etc/localtimeLn-s/usr/share/zoneinfo/asia/shanghai/etc/localtime2) Set Timing timing synchronizationA. Yum-y install ntpdate NTP #安装ntpB. Setting a scheduled synchronization schedule taskXX * * * * ntpdate ntp.sjtu.edu.cn #上海交通大学网络中心NTP服务器地址PS: Common time synchronization server reference http://www.minunix.
Wen Dao has a series of technical specializations. No matter how many cows a person has, he is also taking the top step from a newbie. Therefore, if you lack rich practical experience on servers, please do not worry, as long as you pay attention to the matters you should pay attention to on the server, to avoid unnecessary losses due to errors that do not understand. Then, with the accumulation of time, we
Tags: service target learning route free tips simple display str bleIf you have more than one server to be operational, you can generally consider ansible,puppet, but if you simply want to execute a command on more than one server, use Xshell.The first thing to do is to display the "Compose bar" and then enter the command in the "Compose bar" to execute it on multiple servers.Experience the feeling of the thousand hand GuanyinAlthough this article is very short, but this skill too want to give t
OpenSSH enables one-time automatic management of multiple servers-Linux Enterprise applications-Linux server application information. The following is a detailed description. The Linux System Administrator understands that the Secure Shell protocol is one of the most convenient and critical tools in the software toolkit. This article will introduce how open-source SSH, called OpenSSH, works and its signific
users = ApabiuserSecrets file =/usr/local/rsync/rsync.passwdWhere Apabi is the name of the authentication module in the Server service, it needs to be consistent with the master server.Name the configuration file rsync.conf, and put it in the/usr/local/rsync/directory.16. Start the Rsync serviceFiles under Client tmp:We create a test file on the server apabi20130117 see if we can automatically sync to the clientWe'll go to the client now to see if there's automatic synchronization of the files
Article Title: How to start multiple Tomcat servers at the same time in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The Tomcat servers used are both zip and non-installed. Take two examples:
After installing the sec
We can use DHCP servers to manage a large network and a wide range of IP addresses. For example, the following is an example. In my company, the local area network of the sales department is growing and the number of clients increases sharply. donggua, a network manager of the sales department, wants to use the DHCP server to dynamically allocate IP addresses to avoid the trouble of manually assigning IP addresses to clients. In this way, the IP addre
From the use of virtual space to the use of independent servers, This is a shocking event for a webmaster, for a webmaster who has not used his computer as a server, the first time I got my own server password, I felt very excited.
However, the following problems may surprise you, and some small problems can be prevented.
1. Do not try WIN2003 firewall unless you are sure you have mastered it.
After the WIN
The backup module for synchronizing Web: 192.168.1.10/WWW to rsync: 192.168.1.11
1 inotify applies to Real-Time Synchronization of a large number of small files using sersync for large files
2 download installation package wget http://cywl.jb51.net: 81/201111/tools/sersync_64bit_binary_stable_final.tar.gz
3 unzip the package for the GNU-Linux-x86
4 mkdir/usr/local/sersync
5 copy the content in the GNU-LINUX to/usr/local/sersync
Music GNU-Linux-x86/*/u
Problem Description: A server, the deployment of two or more different Web services, service a users after landing, service B users also logged in, when the user of service a click on the page, will return to the landing page.The root of the problem: the browser saves the same session, the same cookieWorkaround:App.use (Expresssession ({ secret: ' Keyboard Cat ', resave:false, saveuninitialized:true, name: ' AAA '//The name here is worth the name of the cookie, the name of the defaul
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.