privileges on * * to ' user3 ' @ ' 192.168.155.1 ' identified by ' 123456 ';Assign the native user user4 permissions to all operations on all tables in all databases, and set the password to 123456.Mysql>grant all privileges on * * to ' user4 ' @ ' localhost ' identified by ' 123456 ';Open external access to firewall mysql3306 portsAfter upgrading to 7, CentOS r
Modify sshd port in Centos 7
Modify the default SSHD Port and edit the sshd_config configuration file vi/etc/ssh/sshd_config to find Port 22, then, change port 22 to the commonly used commands of the Port Number vi you want, Press ESC to jump to the command mode, and then: w to save the file but do not exit vi: w file saves the changes to the file and does not exit vi: w! Force save, do not release vi: wq
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.
=mysql //start MySQL, but not stop Stop mysqladmin-u root-p shutdown//At this time root has no password, so the null value, prompt for the password, enter directly.To add the MySQL startup service to the system service[email protected] mysql]# CP Support-files/mysql.server/etc/init.d/mysqlStart MySQL[[Email protected] mysql]# service mysql start starting mysql ... error! The server quit without updating PID
=mysql //start MySQL, but not stop Stop mysqladmin-u root-p shutdown//At this time root has no password, so the null value, prompt for the password, enter directly.To add the MySQL startup service to the system service[email protected] mysql]# CP Support-files/mysql.server/etc/init.d/mysqlStart MySQL[[Email protected] mysql]# service mysql start starting mysql ... error! The server quit without updating PID
writelist=@RD
validusers=@RD
4. Restart the service
RedHat liunx is restarted with service restart SMB, and all service operations in centos are completed with systemctl.
Run the following command:
# Systemctl restart SMB
# Systemctl reload SMB
# Systemctl status SMB
The last command is to check the status.
650) this.width=650;" title="2.JPG" alt="wKioL1Qn0hnxC41_AANT1o1nrS8028.jpg" src="http://s3.51cto.com/wyfs02/M00/4B/0B/wKioL1Qn0hnxC41_AANT1o
.el7.ngx.noarch.rpm
$ sudo yum install Nginx
In this way, the Nginx is installed and the Nginx does not start automatically when the installation is complete. What needs to be done now is to get Nginx to start automatically, and to configure it to start as the operating system starts. We also need to open the TCP/80 port in the firewall so that the Nginx Web service can be accessed remotely. All of these actions and settings are implemented only
Percona xtradb Cluster (PXC) is the choice of many enterprises based on MySQL to implement the cluster scheme. PXC it supports high availability of services, data synchronization replication (concurrent replication), almost no latency, multiple simultaneous read and write nodes, write extensions, and so on. Before finishing a article Pxc 5.6, this article is based on the CentOS 7 PXC 5.7 version of a more s
Tags: config log set gre cmd BSP Baidu search Install configurationFirst, the environment1. Host:Windows ten2. virtual machine:vmware14 + CentOS 7-64(1)Vmware14 Baidu Search can be downloaded, such as:The installation process is a little, self-activating.(2)CentOS 7-64 download URL (here blue tag Select Install Ali pro
Install and configure Samba in CentOS 7
This Guide describes how to configure anonymous and secure Samba servers in CentOS7. Samba is an open-source/free software suite that provides seamless file and print services for SMB/CIFS clients. samba is free of charge. Unlike other SMB/CIFS implementations, Samba allows collaboration between Linux/Unix servers and Windows clients,
Preliminary description
I have
Laravel installation is not cumbersome, just follow this article to install on the CentOS 7 or Ubuntu 15 server.1) Server RequirementsBefore installing Laravel, it is necessary to install some of its dependencies, mainly some basic parameter adjustments, such as upgrading the system to the latest version, sudo permissions, and installing dependent packages.When you connect to your server, make sure you can
Deploy the RabbitMQ service in CentOS 7GuideMQ is called Message Queue. MQ is a communication method for applications. Applications communicate by reading and writing messages in and out of the queue (for Application Data) without dedicated connections. Message transmission refers to the communication between programs by sending data in messages, rather than by directly calling each other. Direct calls are usually used for such remote process calls. Q
In our traditional understanding that SQL can only be installed in Windows systems, but now Microsoft also embraced Linux, the emergence of SQL for Linux version, although currently a technical preview version, but in the near future will appear in the official commercial version. So today I will take you to install once, here I choose the system is CentOS 7, in my such a perennial play windows and very fam
Install and deploy Glassfish in CentOS 7
GlassFish is a robust business-compatible application server that delivers product-level quality and is free for development, deployment, and redistribution.
Environment: CentOS7.2
Steps:
1. Deploy the JDK Environment
Bytes
# Mvjdk1.8.0 _ 91 // usr/local/jdk
# Vim/etc/profile. d/java. sh
# Cat/etc/profile. d/java. sh
JAVA_HOME =/usr/local/jdk
JAVA_BIN = $ JAVA_HOME/b
executed container as follows
[Root@linuxprobe ~]# Docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
Docker.io/centos latest 0584b3d2cf6d less than a second ago 196.5 MB
# Start a Container and install httpd
[Root@lin Uxprobe ~]# Docker Run centos/bin/bash-c "yum-y update; Yum-y install httpd "
[root@linuxprobe ~]# docker ps-a | head-2
CONTAINER ID IMAGE COMMAND CRE ated
Centos 7 installation and configuration nginx detailed tutorial, centosng.pdf
Nginx is developed in C language. It is recommended to run on Linux. Of course, you can also install the Windows version. In this article, CentOS 7 is used as the installation environment.
1. Install gccTo install nginx, you must first compil
About linux-Centos 7 mysql 5.7.9 rpm package installation (conversion), linux-centos5.7.9
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-lib that comes with the system.
[root@5201351
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.