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
PrefaceYou need to use NGINX's reverse proxy function, the test environment is Centos+nginx 1.8.0.跳过一些繁琐的问题,直接记录核心Steps(1)centos 安装在VM中,因此需要注意网络连接问题(2)安装nginx使用的是具有网络的yum功能(3)配置centos防火墙,需要开启80 端口(4)nginx 反向代理配置(5)性能优化设置(后续工作...)RealizeA. Yum installation NginxAdd Nginx source First, test using the latest Nginx 1.8.0rpm -ivh Execute command:yum install nginxserv
Since MySQL was acquired by Oracle, the database built into the CentOS default Yum library changed from MySQL to MARIADB.In order to install MySQL, we need to add the official MySQL repo to the CentOS repo.Visit->mysql's official repo listFind link Address: http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpmOn the CentOS command line, runsudo rpm-ivh h
Build GlusterFS in CentOS 7
Lab requirements:
Install GlusterFS on four machines to form a cluster
The client stores docker registry in the file system.
The hard disk space of the four nodes is not integrated into one hard disk space. Each node must be stored in one copy to ensure data security.
Environment Planning
Server
Node1: 192.168.0.165 Host Name: glusterfs1
Node2: 192.168.0.157 Host Name: glust
Install MySQL database and centosmysql database on CentOS 7
Currently, software that does not use databases cannot be called software, but programs. On the Windows platform, MSSQLServer is deeply rooted in the hearts of the people. However, on the Linux platform, MySQL is replaced, so I have made some attempts to install MySQL on the Linux platform.
I. installation and configuration
1. download the required
System upgrade to CentOS 7 after the total feeling iptables strange, for example, no matter how to save the restart after the initialization, even if I finally issued a big trick when the start of the command:First iptables-save >/etc/iptables.rules saves the current state.And then force the addition in the/etc/rc.local
/etc/rc.localiptables-restore /etc/iptables.rules
After the reboot, although the rule
/elasticsearch/logging.yml/etc/init.d/ elasticsearch/etc/sysconfig/elasticsearch/usr/lib/sysctl.d/elasticsearch.conf/usr/lib/systemd/system/ Elasticsearch.service/usr/lib/tmpfiles.d/elasticsearch.confView Port Usage# netstat-nltpactive Internet connections (only servers) Proto recv-q send-q Local address Foreign address stateFirewalls open ports with 9200 and 9300 portsFirewall-cmd--permanent--add-port={9200/tcp,9300/tcp}firewall-cmd
7. Install PHPPHP is the server-side scripting language for Web-based services. It is also often used as a general programming language. To install PHP in a minimized installation of CentOS:# Yum Install PHPAfter installing PHP, confirm that the Apache service is restarted to render PHP in a Web browser.# systemctl Restart Httpd.serviceNext, verify PHP by creating the following PHP script in the Apache docu
Original Install Apache, PHP and MySQL on CentOS 7 (LAMP)This tutorial shows how can I install an Apache2 webserver on a CentOS 7.0 server with PHP5 Support (mod_php) and MySQL Support. LAMP is short for Linux, Apache,mysql, PHP.1 Preliminary NoteThe tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for
Preface
You need to use NGINX's reverse proxy function, the test environment is Centos+nginx 1.8.0.
跳过一些繁琐的问题,直接记录核心
Steps
(1)centos 安装在VM中,因此需要注意网络连接问题(2)安装nginx使用的是具有网络的yum功能(3)配置centos防火墙,需要开启80 端口(4)nginx 反向代理配置(5)性能优化设置(后续工作...)
Realize
A. Yum installation NginxAdd Nginx source First, test using the latest Nginx 1.8.0
rpm -ivh
Execute command:
yum install
The first chapter of the experimental environment
Hardware environment:Linux server one, IP address: 192.168.80.10;WIN7 client one, with OUTLOOK2013, test, and server in the same LAN.
Linux system environments, such as:
Chapter II Experimental ContentOne: Build a DNS serverSecond: Build Postfix server and generalThree: General receiving letterFour: Certification receivedFive: SquirrelMail send and receive mail (build Web mail)Six: Mail Bulk function configurationSeven: Mail sen
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 detailed installation records, I also hope to help
As the company requires the latest version of the ZABBIX2.4.4 need the latest version of the system CENTOS7 and the most recent LNMP environment, so I groped to use the latest version of the environment to build a LNMP system, the environment version is as follows:System: CentOS 7 x86_64nginx:nginx-1.7.12Database: mariadb-10.0.13php:php-5.5.23First of all to do some preparatory work, first to replace the CE
CentOS 7 sshd Connection denied, port changed to 2200, centossshd1. The server cannot be connected.
Ssh: connect to host XXXXX port 22: Connection refusedCause: centos7 changed the link port to 2200.
# Port 22Port 2200
Modify it back or use the 2200 link.
Modify: vi/etc/ssh/sshd_config2. The firewall is installed on centos7 by default instead of iptables.
1, server link not onSsh:connect to host XXXXX Port 22:connection refusedCause, CENTOS7 modified the linked port to become 2200.#Port 22Port 2200Change back, or use the 2200 link.Modified: Vi/etc/ssh/sshd_config2,centos7 the firewall is installed by default, not iptables.Because it is a local test, shut down the firewall directly and disable boot boot.Systemctl Stop
1. Confirm NTP Package: #yuminstallntp2, configure time source #vi/etc/ntp.conf serverpool.ntp.org #可选择其他优先服务器server 2.cn.pool.ntp.orgserver1.asia.pool.ntp.orgserver 2.asia.pool.ntp.org# allows the upper-level time server to proactively modify the native time restrict2.cn.pool.ntp.orgnomodify Notrapnoqueryrestrict1.asia.pool.ntp.orgnomodifynotrapnoqueryrestrict2. asia.pool.ntp.orgnomodifynotrapnoqueryserver127.0.0.1#local Clockfudge127.0.0.1stratum103, configure whether to provide time service f
CentOS 7 use seafile to create a personal cloud
Official Tutorial: http://manual-cn.seafile.com/
Installation environmentInstall a clean CentOS 7 64-bit system and switch to the root account1. Obtain the Seafile installation scriptThe installation script can help you quickly install the Seafile server, configure MariaD
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
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.