native container service. 2.status1,status2,status3,status is to determine whether the JSP page returned by the service is legitimate, is implemented according to your JSP page. Because once the JSP page is wrong, returning the wrong page overwrites the good page, static is meaningless. The 3.cp,mv operation is to back up and overwrite the current static page. For simple usage of 4.sed, the operation of SED is not necessary. http://www.cnblogs.com/dong008259/archive/2011/12/07/2279897.html#!/bi
Installing the SVN management tool under Redhat as
[Date: 2008-02-16]
Source: Linux Commune Author: Lansh
Subversion (SVN), the emerging version of management tool in recent years, is the successor of CVS.
SVN server has 2 modes of operation: Standalone server and Apache. Each of the 2 ways has its pros and cons.
SVN stores version data in 2 different ways: BdB and Fsfs. Because the BDB way in the server interruption, it is possible to lock the data (I am in the
.tar.gzChown-r Root:root jdk1.7.0_80/vi/etc/profile.d/java.sh# Add the following 3 lines of contentExport java_home=/usr/java/jdk1.7.0_80Export classpath=.: $JAVA _home/jre/lib/*: $JAVA _home/lib/*Export path= $PATH: $JAVA _home/bin# Make Environment variables effectivesource/etc/profile.d/java.sh
Install, configure, and start the NTP service
Yum Install NTPChkconfig ntpd onNtpdate-u 202.112.29.82Vi/etc/ntp.conf# Add the following 8 lines of contentDriftfile/var/lib/ntp/driftRestri
1. Prepare the PHP installation environment1.1. Completely uninstall the old version of PHPRpm-qa |grepphprpm-E php-fpm-5.3.3- A. el6.x86_64rpm-E php-pdo-5.3.3- A. el6.x86_64rpm-E php-pear-1.9.4-4. el6.noarchrpm-E php-cli-5.3.3- A. el6.x86_64rpm-E php-5.3.3- A. el6.x86_64rpm-E php-xml-5.3.3- A. el6.x86_64rpm-E php-gd-5.3.3- A. el6.x86_64rpm-E php-common-5.3.3- A. el6.x86_641.2, compile and install Pcre, zlib, OpenSSL, curl, Libmcrypt, bzip2, OpenLDAP, ICU and other dependent on the latest versio
,\} repeats x characters at least m timesX\{m,n\} repeats x characters m to n timesFile contents:[email protected] opt]# ll passwd-rw-r--r--. 1 root root 1087 Mar 17:39 passwd[email protected] opt]# cat passwdRoot:x:0:0:root:/root:/bin/bashBin:x:1:1:bin:/bin:/sbin/nologinDaemon:x:2:2:daemon:/sbin:/sbin/nologinAdm:x:3:4:adm:/var/adm:/sbin/nologinLp:x:4:7:lp:/var/spool/lpd:/sbin/nologinSync:x:5:0:sync:/sbin:/
Tags: OracleDo the system management is so, inevitably will mistakenly delete files, one day if an Oracle data file deleted, then how to recover it? (Here the database is open and not closed)
Create a test table space
Create a test user
Inserting test data
Delete a data file
Recovering a database file
Create a test table space
Sql> select name from V$datafile;
NAME
--------------------------------------------------------------------------------
/
!
Installing the JDBC DriverFor suselinux, download mysql-connector-java-5.1.38.tar.gz, and install:
tar zxvf mysql-connector-java-5.1.38.tar.gzcp mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar /usr/share/java/mysql-connector-java.jar
To create a DB instance for another componentWe just need to create hive and activityTo create hive as an example, log in with MySQL root user after MySQL execution:
‘root‘@‘%‘‘root‘;flush privileges;use hive;
Download the Redis source package to/opt/and rename it to Redis, or you can download it directly from the official website to the server installation directory.
[Email protected]:/opt/redis/logs# cd/opt/[Email protected]:/opt# lsinstall_saltminion.sh install_zabbixagent.sh nimsoft redis redis-3.2.1.tar.
.localdomain6192.168.1.105 node105192.168.1.106 node106192.168.1.107 node107192.168.1.108 node108192.168.1.109 node109192.168.1.110 node110The host name is defined as: node105 in sequenceTo start the installation:Root login system will copy jdk-7u76-linux-x64.tar.gz to/optCd/optTar zxvf jdk-7u76-linux-x64.tar.gzThe files generated after decompression are named jdk1.7.0_76.Vim/etc/profilePut the following code on the last side of the fileExport java_home=/opt
. The allocated hard disk size is 100 GB, And the partition is arranged as follows:
/Dev/sda1 50 GB/var
/Dev/sda2 30 GB/OPT --------------------------------- install Java, tomcat, and MySQL in green
/Dev/sda3 10 Gb/usr
/Dev/sda5 5 Gb/
/Dev/sda6 5 GB swap1.1 download and install the latest centos to the http://www.centos.org official website to download the CentOS-6.3-x86_64-minimal.iso this minimum installation version can be, as the server to use, it
: remote_folderOrScp-r local_folder remote_ip: remote_folder1st user names are specified. After the command is executed, enter the user password;2nd user names are not specified. After the command is executed, enter the user name and password;
Copy from remote server to local server:The scp command remotely replicated to the local device is the same as the command above. You only need to swap the order of the two parameters after the command locally copied to the remote device.
Instance 1: copy
subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz to the server. Tar xfvz subversion-1.4.0.tar.gz Tar xfvz subversion-deps-1.4.0.tar.gz CD subversion-1.4.0 ./configure –prefix=/opt/svn–without-berkeley-db–with-zlib (Note: Run as svnserve without Apache compilation parameters.) Save the repository in FSFS format, do not compile berkeley-db) make clean made make install Vi/etc/profile,/etc/ Profile last added: path= $PATH:/
specify the user name, the command needs to enter the user name and password after execution;To copy from a remote server to a local server:The SCP command, which is replicated from remote to local, is identical to the command above, as long as the 2-parameter interchange order is made from the local copy to the remote command.Example 1: Copying files from a distance to a local directoryCommand:
SCP root@192.168.120.204:/opt/soft/nginx-0.5.38.tar.gz
; SELECTDBMS_ROWID.ROWID_RELATIVE_FNO (ROWID) Rel_fno,Dbms_rowid.rowid_block_number (ROWID) Blockno,Dbms_rowid.rowid_row_number (ROWID) ROWNO,User_id,username from Twhere RowNum Rel_fno blockno ROWNO ID NAME---------- ---------- ---------- ---------- ----------4 234300 0 1 AA4 234300 1 999 USA4 234300 2 1001 Sydney4 234300 3 888 Chenlin4 234300 4 999 ChinaAs you can see from the SQL statement above, all the data for the Chenlintest table is on the No. 234300 block block of file 4th.Now we're try
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.