create the. htaccess file: Touch/data/www/default/wordpress/.htaccess edit the. htaccess file: vim/data/www/default/ Wordpress/.htaccess See if you have the following content, do not add yourself, it is possible that the site will be automatically generated.
rewriteengine onrewritebase/wordpress/rewriterule ^index\.php$-[L]rewritecond%{request_filename}!- Frewritecond%{request_filename}!-drewriterule. /wordpress/index.php [L]
Modify the. htaccess file permissions: chmod 664/data
Install JDK 7 in centos
1 JDK Introduction
JDK (Java Development Kit, Java development kit, and Java development tools) is a program development environment for writing Java applets and applications. JDK includes the complete JRE (Java Runtime Environment, Java Runtime Environment ).
2 installation instructions
Operating System: centos6.4 64-bit
Software: jdk-7u
By default, ntfs3g is not available in the CentOS Source. to add ntfs support, you can download, compile, and install ntfs3g by yourself or add the source yum for installation. Yesterday, CentOS7 was re-installed. it is easy to install CentOS7 by adding the aliyun epel source to yum. 1. add source wget-O/etc/yum. repos. d/epel. repohttp: // mirrors.aliyun.com/rep
Install Kafka on CentOS 7Introduction
Kafka is a high-throughput distributed publish/subscribe message system. It can replace traditional message queues for decoupling Data Processing and caching unprocessed messages. It also has a higher throughput, it supports partitioning, multiple copies, and redundancy, and is widely used in large-scale message data processing applications. Kafka supports Java and clie
Using Virtualbox+vagrant to install the CentOS 7 environment on Windows, you need to install the VirtualBox and vagrant Tools, and download a box image file for CentOS 7.
First, install
Install sublimetext3 on CentOS 7
Download sublime_text_3_build_3126_x64.tar.bz2 from the Internet
Path: https://download.sublimetext.com/sublime_text_3_build_3126_x64.tar.bz2
After the download, upload the package to CentOs.
I put sublimetext3 IN THE/opt directory.
Decompress the file:
The subsequent file
Install MySQL in CentOS 7
The mysql-sever file for mysql installation does not appear to be in the yum source of CentOS 7. You need to download it from the official website.
# Wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# Rpm-ivh mysql-community
Install NFS in centos 7, centosnfs
NFS service Introduction: NFS is the abbreviation of Network File System, that is, Network File System. The client mounts the data directory shared by the NFS server to the local directory. --- The main function is to share files.
Why do you want to install the NFS service: when the s
Installation InstructionsInstallation Environment: CentOS-7.0.1406Installation mode: source code installationSoftware: apache-tomcat-7.0.29.tar.gzDownload Address: http://tomcat.apache.org/download-70.cgiInstallation PrerequisitesThe system must have the configuration jdk6+ installed, please refer to: Install and configure JDK-7 in
to store the data, but the 122 Byte warehouse in the data kicked off.LRU removal mechanismmemcached Expiration data removal mechanism:When a value expires, it is not removed from memory, so stats statistics, Curr_items still have its information;When the value is taken, determine whether it expires, if expired, return empty, and empty, at this time curr_items is reduced;There have been no get before, will not automatically delete;Use an empty chunk only when a new value occupies its place.This
Install JDK and centosjdk in CentOS 7
1. Uninstall the built-in openjdk
1. Run the following command to query the built-in jdk:
rpm -qa | grep java
The existing jdk in the system is listed. If the jdk exists, uninstall it. If the jdk does not exist, install it directly.
2. Run the following command to uninstall:
Rpm-e
-s /usr/local/java/jdk-1.8/bin/java /sbin/javaAs indicated by the completionReport:Running java-version without the relevant version information, the following error occurred:DL failure on line 685error:failed/usr/local/jdk-1.8/jre/lib/i386/client/libjvm.so, because/usr/local/jdk-1.8/jre/ Lib/i386/client/libjvm.so:cannot Restore segment prot after Reloc:permission deniedLater through the query, it is the problem of SELinux setup.The solution is as follows:1. Open/etc/selinux/config2. Change Sel
5-JEESZ distributed framework-install Tomcat 7 in CentOs (Environment preparation) and centostomcat7Statement: Because the running environment of the JEESZ distributed framework is based on the linux system, this section also summarizes some information on the Internet. Considering the post-blog as the native tutorial of the framework, this section provides detai
Install mysql5.7 using centos 7 rpmStep 1: Download mysql
Use the wget command on the Linux terminal to download network resources:
wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz
1: Check whether MySQL is installed locally
rpm -qa | grep mysql
2: uninstall the previous mysql
Full name of an existing MySQL instance in rpm-eS
Install MySQL 5.7.11 for Linux Generic binary in CentOS 7 using the command line
The latest version of MySQL is 5.7.11. in Linux, the installation package of a specific release version is provided (for example, .rpmloud and a general version installation package (.tar.gz ). In general, many projects tend to use the binary universal installation package for instal
New books are available, east and west. Finally, they are almost done. After vmware10 was installed, a new centos7 virtual machine was created immediately, and everything went well. However, when VMware Tools was installed, it went west. The following error was reported during file sharing Compilation:
In file encoded ded from/tmp/modconfig-2MHZ0W/vmhgfs-only/inode. C: 36: 0:/Tmp/modconfig-2MHZ0W/vmhgfs-only/inode. C: In function 'hgfspermission ':/Tmp/modconfig-2MHZ0W/vmhgfs-only/./shared/compa
The benefit of the Yum installation JDK is that you don't need to manually reconfigure environment variables, and all of the variables are automatically generated1. Check if there is a JDK in the system, delete the original JDKIf there is no information output, it means that no JDK is installedRpm-qa | -qa | -qa |grep gcjExecute command Delete and uninstall information if presentRpm-qa | grep java | Xargs rpm-e--nodeps2. Execute command to retrieve a list containing JavaList java*3. Think I wa
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.