Ubuntu 14.04 64bit compilation and installation Nginx1.7 + PHP5.4 + MySQL5.6
My operating system is Ubuntu14.04, and the operating procedures for other linux systems are similar. The main installed software is Nginx1.7 + PHP5.4 + MySQL5.6.
1. create necessary Directories
Sudo mkdir ~ /SetupSudo mkdir/opt/softwareSudo chmod 777/opt/software
2. Download necessary software
Cd ~ /Downloads
Wget http://am1.php.n
Background requirements:1) Compile and install a MySQL database of version 5.5.x and above on a newly purchased server, and store all configuration files and data in/opt/mysql, it facilitates fast migration, replication, and overall backup in the future;2) run two instances in the same MySQL instance, one bound to port 3306 and the other bound to port 3307. binlog is not enabled for instances bound to port 3306, data is stored in/
configured in the same way. At that time, I directly referred to my operation notes and re-Build a set on the development machine, because these are basic system configuration information, simply shareAnd hope to get suggestions and improvement solutions from readers :)First, describe the configuration methods and causes:
In fact, it is to select the final binary file deployment path,I chose/opt:Eg:/Opt/nginx/opt
From: http://heylinux.com/archives/1689.html
Background/requirement:Compile and install a MySQL database of Version 5.5 or above through source code on a server;Store all configuration files and data in/opt/MySQL to facilitate fast migration, overall backup, and fast replication in the future;Run two instances in the same MySQL instance, one bound to port 3306 and the other bound to port 3307;BINLOG is not enabled for instances bound to port 3306, an
MySQL5.5.22 single-host multi-instance configuration practices
MySQL 5.5.22
Single-host, multi-instance configuration practices
Background/requirement:
Compile and install a MySQL database of version 5.5 or above through source code on a server. store all configuration files and data in/opt/mysql, it facilitates fast migration, overall backup, and fast replication in the future;
Run two instances in the same MySQL instance, one bound to Port 3306 and
My operating system is Ubuntu14.04, and other Linux systems operate in a similar process.The main software installed is nginx1.7+php5.4+mysql5.61. Create the necessary directoriessudo mkdir ~/setupsudo mkdir/opt/softwaresudo chmod 777/opt/software2. Download the necessary softwareCD ~/downloadswget Http://am1.php.net/distributions/php-5.4.29.tar.gztar zxvf ~/downloads/php-5.4.29.tar.gz-c ~/ Setup/wget http:
versionInvoking OPatch 11.1.0.6.6OPatch Version: 11.1.0.6.6OPatch succeeded.B) download the latest version.Take p9711859_112010_linux-x86-64.zip as an example!Back up the old opatch and decompress the new optachOracle @ rac1:/home/oracle/software> cd $ ORACLE_HOMEOracle @ rac1:/opt/rac/oracle/11.2.0/rac> tar zcvf OPatch _ 'date using policy?m=d'.tar.gz OPatchOPatch/Oracle @ rac1:/home/oracle/software> unzip p6880880_112000_Linux-x86-64.zip -- d $ ORA
Installed version: 3.0.7Installation machine: All machinesInstallation process:1. Use the Hadoop account to extract the/opt/hadoop/directory:$ TAR-ZXVF mongodb-${version}.tar.gz-c/opt/hadoop/2. Set up a soft link:$ ln-s/opt/hadoop/mongodb-${version}/opt/hadoop/mongodb3. Configure the environment variables and make them
entries, and is greater than the limit of the number of blocks in the maximum log. Default value: 0 undo_management = AUTO Description: Specifies which undo space management mode should be used by the system. If set to AUTO, the routine will start in SMU mode. Otherwise, it will start in Rbu mode. In Rbu mode, the undo space is allocated externally like a fallback segment. In SMU mode, undo space is alloca
104 scp to 25Scp/opt/Oracle/111/dbs/initORCL. ora root@10.1.0.25:/opt/oracle/111/dbs/initORCL. oraScp/opt/oracle/111/dbs/spfileORCL. ora root@10.1.0.25:/opt/oracle/111/dbs/spfileORCL. oraScp/opt/oracle/111/dbs/orapwORCL root@10.1.0.25:/o
memory, corresponding to-Xmx Runtime. getRuntime (). maxMemory (); // The current JVM idle memory Runtime. getRuntime (). freeMemory (); // The total memory occupied by the current JVM. The value is equivalent to the memory used by the current JVM and the total Runtime of freemory. getRuntime (). totalMemory ();Configure Tomcat to start with catalina. sh to configure JVM memory
To sum up, we have explained some precautions for JVM memory. The following describes how Tomcat starts to configure J
Compile and install LNMP in CentOS 6.5 Production Environment
I. Environment preparation1. Operating System installation: CentOS 6.5 64-bit minimal installation.2. Configure IP, DNS, gateway, and host name3. configure the firewall and enable ports 80 and 3306Vim/etc/sysconfig/iptables-A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 80-j ACCEPT # Allow port 80 through the firewall-A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 3306-j ACCEPT # Allow port 3306 throu
system set LOG_ARCHIVE_DEST_STATE_2 = DEFER;
# -------- Configure the parameters of the standby role for role conversion*. FAL_SERVER = DGDB*. FAL_CLIENT = VSGPDB*. DB_FILE_NAME_CONVERT = '/opt/ora10g/oradata/vsgpdb','/opt/dgdb/oradata/dgdb'*. LOG_FILE_NAME_CONVERT = '/opt/ora10g/oradata/vsgpdb','/opt/dgdb/oradata/dgd
First, please download the latest version of XAMPP from www.xampp.org.installationIf it is a xampp compressed fileCopy the Xampp compressed file to the/OPT and unzip it. If your computer does not have a/opt directory, use the "sudo mkdir/opt" command to create the directory.If the computer does not have the sudo command, use the SU command and enter the superuser
limits. conf file is actually the configuration file of pam_limits.so in Linux PAM (plug-in authentication module, Pluggable AuthenticationModules) and is only applicable to a single session
(2) How limits. conf works
Limits. conf is the configuration file of pam_limits.so, and the application under/etc/pam. d/calls the pam _ ***. so module. For example, when a user accesses the server, the service program sends the request to the PAM module. The PAM module sends the request to/etc/pam accordin
the class named Classnamemost commands Prin T help when invoked w/oParameters. You can step through each step of a complete crawl process to form a holistic process.When using the crawl command to crawl a task, its basic process steps are as follows:(1) InjectorjobStart the first iteration(2) Generatorjob(3) Fetcherjob(4) Parserjob(5) Dbupdaterjob(6) SolrindexerjobStart a second iteration(2) Generatorjob(3) Fetcherjob(4) Parserjob(5) Dbupdaterjob(6) SolrindexerjobStart a third iterationFor each
The target database version is oracle8.1.7, the directory database version is oracle9.2.0, and all data files (including control files and On-line log files) are lost. Examples of using RMAN for backup and recovery are as follows:
Tutorial steps:
1. Create a tablespace in the directory database to restore the directory:
SQL> Create tablespace rmants datafile '/opt/Oracle/DB02/oradata/orcl/rmants. dbf' size 100 m autoextend on next 1 m maxsize unlimit
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.