Oracle tracks common internal event numbers
Oracle internal event numbers are often used to track the system status. How to use these internal event numbers requires events and experience. Only these commonly used internal event numbers are recorded here for work preparation.
1. 10013: used to monitor transaction recovery2. 10015: dump the undo segment HeaderEvent = "10015 trace name context forever"3. 10029: used to provide login information during t
showBridge name bridge id STP enabled interfacesBr0 8000.0025903afe42 no eth0
After we create two virtual machines, all the Virtual Machine NICs are connected to br0. In this case, check the devices connected to br0.[Root @ clovemzone ~] # Brctl showBridge name bridge id STP enabled interfacesBr0 8000.0025903afe42 no eth0Vnet0Vnet1
In order to give you a better understanding, you can perform simple analysis based on actual operations.
1. view the NIC device information of a physical machine, a
Centos7.0 minimizes installation of nginx source code. the installation process is recorded and cannot be accessed. why? Newbie wants to download and edit source code directly using wget
After compilation, no response is returned. how can I check whether the function is enabled normally?
View three processes
[root@localhost sbin]# ps -ef|grep nginxroot 13536 1 0 14:14 ? 00:00:00 nginx: master process ./nginxnobody 13537 13536 0 14:14 ? 00:00:00 nginx: worker process
Type=button
Never submit
Type=checkbox
Submit only when checked
Type=file
Commit forever, even if it is a null value
Type=hidden
Commit forever, even if it is a null value
Type=image
Commit forever, even if it is a null value
Type=password
Commit
by the password /usr/local/mysql-proxy/bin/encrypt Xp29at5F37 . For more detailed explanation of the parameters, please review the Atlas configuration.Launch Atlas/usr/local/mysql-proxy/bin/mysql-proxy--defaults-file=/usr/local/mysql-proxy/conf/my.cnfThen configure MySQL in the program to configure the 127.0.0.1:1234 just fine.Server1 Main outage TestTo test if the keepalived is working properly, let's simulate server1 downtime. Executes the shutdown shutdown command on the Server1. At this poi
SupervisorPerform:Supervisor App.jsAnotherLittle Friends ForeverVirtual machine A close node service is off, but forever can let node service does not stop, introduced as follows, installation and execution not to elaborate, I lazy: Forever is a simple command-style Nodejs daemon, able to start, stop, restart the app app. Forever is based entirely on command-lin
, even a bag of wine will be touted as a genius! This is the cruelty of reality. There are too many Chinese people and there is too much pressure to survive. If you want to mix well outside and create a name hall, you must make yourself understand the "mixed" game rules. Indeed, life is like a game. People who do not understand the rules of the game will eventually die hard to see, and those who are familiar with the rules can have a good time in the game, have fun and play everything you want!
Before using node's expree to build the server, today to try to use Forever-service to build.First download node's service:Global Installation--"NPM Install-g Forever (if an error appears to see if the permissions are not the problem sudo gives permission)NPM Install-g Forever-service Ibid.[sudo] npm install Forever-mo
prohibit boot boot chkconfig NetworkManager Off. After that, it's good to restart.2 and the configuration file MAC address does not match, this solves, uses the IP addr (or ifconfig) to view the MAC address [[emailprotected] royfans]# IP a 1:lo: Link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 Scope host lo Valid_lft forever Pre Ferred_lft Forever Inet6:: 1/128 scope host Valid_
relatively simple and does not need to modify the business code can be directly deployment, through the iphash rotation algorithm to save the user assigned to the same process. Vi/etc/nginx/conf/nginx.confHTTP {Upstream Io_nodes {Ip_hash;Server 127.0.0.1:6001;Server 127.0.0.1:6002;Server 127.0.0.1:6003;Server 127.0.0.1:6004;}server {Listen 3000;server_name io.yourhost.com;Location/{# to support forwarding WebSocket data, plus upgrade HeaderProxy_set_header Upgrade $http _upgrade;Proxy_set_heade
to set permissions and download the good Ghost.
Third, install the configuration Ghost
First install with NPM
NPM Install--production
Note that there are two minus signs
After the NPM installation is complete, you can enter this command to enable Ghost to start in developer mode
NPM start
Then you can view the Ghost blog from http://127.0.0.1:2368/, because we are installed on the server side, so your local browser is inaccessible, the first press Ctrl + C to stop, this time will generat
:45 that's why scripting language is low for humans. The scripting language is usually written in a fast, brief, but inefficient language. I 15:45 +o (So, forever!) the scripting language is characterized by the inability to make a large inheritance System I 15:46 is not the scripting language is generally not used to write programs? Wing God 15:46 can only be a function module, a function module I 15:46 Oh, oh, God. 15:46 For example, writing a shell
: configuration file /etc/nginx/nginx.conf test is successful2) After starting the keepalived service, the Nginx service will also start.[[emailprotected] PV]# systemctl stop firewalld.service [[emailprotected] PV]# setenforce 0[[emailprotected] PV]# systemctl start keepalived.service3) test keepalived's dual-machine hot-standby functionTurn off the host's keepalived service to see if the virtual IP can automatically drift to the standby machine. Primary server: [[emailprotected] pv]# IP addri
The first "node.js experience" wrote a good, interested friends can understand.
node and NPM are easy to install, not to elaborate ... There are a few basics to mention:
1. "-G" in the installation command represents global
The 2.express version is not the usual "-V" to view, but "V"
3. The order to install the Express project is as follows
EXPRESS-E nodejs-product-
E,--ejs add Ejs engine support
,-j add--jshtml jshtml (engine to support E
PS: Template engine and so do not need
name! location/{ proxy_set_header X-real-ip $remote _addr; proxy_set_header host $ Http_host; proxy_pass http:/ /127.0.0.1:2368; } }
If you do not use VIM, please Baidu. As long as the basic operation will be OK.Then we do a soft link for the ghost.conf file to the/etc/nginx/sites-enabled/directory:
sudo ln-s/etc/nginx/sites-available/ghost.conf/etc/nginx/sites-enabled/ghost.confInstall ForeverCurrently we recommend using the upstart process daemon to start the Ghost. 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.