create a user according to the actual situation, and for the permission assignmentmysql> create user ' root ' @ ' 192.168.100.2 ' identified by ' QQ5201351 '; Mysql> GRANT all privileges in dbname.* to ' root ' @ ' 192.168.100.2 ';mysql> flush Privileges==============================================Finally, it is important to note that there is no password field in the user table in the new MySQL database.Instead, the encrypted user password is stored in the authentication_string fieldAbout Lin
Some time ago I put a friend to help the ubuntu15.10 to play bad =. = Although later on on another computer successfully installed the ubuntu16.04 and Win7 dual system, but ... This computer also has to be installed in a separate system to compare. Not empty. So decided to play a centOS7 (smile).The computer is configured as follows:Then start preparing to install CentOS:(The following lists only the order
--user=mysql
CentOS7 cannot use service to control MySQL services, and source-installed MySQL does not provide systemd control scripts. Then edit the/etc/rc.d/rc.local file and add the MySQL boot command. /usr/local/mysql/bin/mysqld_safe--user=mysql
Then add executable permissions to/etc/rc.d/rc.local sudo chmod a+x/etc/rc.d/rc.local 9. Change the root password /usr/loca/mysql/bin/mysql-uroot use
mysql;
UPDATE user SET Password = password (' test2015 ') WHERE user = ' root ';
GRANT all p
Run the RPM package to install MySQL 5.7.9 in Centos 7.
Record the installation tutorials for MySQL 5.7.9.
Environment Introduction:
Operating System: Centos 7.1
Mysql database version: mysql5.7.9
Mysql Official Website: http://www.mysql.com
1. Before installing the new mysql version, we need to uninstall the mariadb-l
Compile and install mysql 5.6 and centosmysql in centos 7
To install a centos 7 Virtual Machine locally, first install the environment and select mysql 5.6. The installation process is
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
Install mysql 5.7.18 and centos5.7.18 using the rpm package in CentOS 7
I have been using MySQL recently. I have installed and written mysql in mysql-Linux using other methods. This time I installed MySQL in rpm format. I tried it and felt that this installation mode was relatively simple.
Uninstall MariaDB
MariaDB is installed on centos7 by default instead of my
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
Label:1. Download the source code wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.23.tar.gz2. Unzip Tar zxvf mysql-5.6.23.tar.gz 3. Install the necessary packages sudo yum install cmake gcc-c++ ncurses-devel perl-data-dumper4. Enter the MySQL source directory to generate makefile CMake.5. Compiling Make6. Installation sudo make installMySQL will be installed to the/usr/local/mysql path.
Some simple process is not listed here, there are many online, here is the main write down some of the problems encountered, as well as solutions
The environment of CentOS 7 is
$ uname-a
Linux Oracle 3.10.0-123.13.1.el7.x86_64 #1 SMP Tue DEC 9 23:06:09 UTC 2014 x86_64 x86_64 x86_64 gnu/linuxNote installation requires a desktop system (X-windows + KDE or Gnome) to be installed or the installer will not run.
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
Tags: nts lin set for BLE use MCT default letNote: In the case of CentOS 7, you can use MARIADB instead because the MySQL database has been removed from the default program list:
Installation commands
Yum Install Mariadb-server mariadb
Related commands for MARIADB database
Systemctl start mariadb #启动MariaDB
systemctl stop mariad
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
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.