Under CentOS the APAHCE Web site root directory is installed under/var/. The mount point is out of space, so we have to change the position to/home/www.
Switch to this directory and restart Apache. Also give this directory 777 permissions, but
System Environment: CentOS 7MARIADB version: Mariadb 10.0.14Download Address: http://mirrors.neusoft.edu.cn/mariadb/mariadb-10.0.14/source/mariadb-10.0.14.tar.gzOther Package Address: https://downloads.mariadb.org/
Add a MySQL User
Useradd MySQL
Note: Basic operation commands for firewalls:
code is as follows
copy code
query Firewall status: [root@localhost ~]# service Status To stop the firewall: [root@localhost ~]# service
1. Modify SSH telnet port to 8888# Vi/etc/ssh/sshd_config
Port 8888 #把 #Port 22 modified to port 8888
# servicesshd Restart #重启SSH服务 or service sshd restart2. Firewall Add portThe default iptables only part of the port, use additional ports such
First download the phpMyAdmin:
http://www.phpmyadmin.net/home_page/index.phpChange a convenient name, like PMN.And then upload it to/var/www/html,centos and enter:
Cd/var/www/htmlTar Xvfz pmn.tar.gzInstall and decompress, change folder name to
Recently because of using CAs to do single sign-on, you need to configure SSL, the process is relatively simple, record the meaning of each step, so as not to forget later.Requirements Scenario: CAs single sign-on requires SSL and the server
The "local Yum source" in this article includes three types: one is to use the CentOS disc directly as a local Yum source, the advantage is simple and convenient, the disadvantage is that the CD package may be incomplete (CentOS 7 Everything A total
View the current system Jdk:rpm-qa | grep jdk
The results obtained:
The code is as follows
Copy Code
[Root@dc-01 java]# Rpm-qa | grep JDKjava-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.i686
Uninstall OPENJDK:
1, the Installation SVN service side:
[Root@localhost ~]# Yum Install subversion
2, to determine whether the installation of SVN success:
[Root@localhost ~]# Svnserve--versionSvnserve, Version 1.6.11 (r934486)...3, create the SVN library
Demo EnvironmentWindows 7 is my computer using this machineVMware8.0 installed the Linux CentOS 6.2 X32
I first talk about my network situation, currently I use the IP address is 192.168.1.99, subnet mask is 255.255.255.0, Gateway is 192.168.1.1.
The code is as follows
Copy Code
./configureMake allMake installMake cleanMake Distclean
No accident, you should be able to see the python2.7 file in/usr/local/bin/, also explained 2.7 installation success. The next thing
First, the installation of Nginx must install the appropriate compilation tools
Yum-y install gcc gcc-c++ autoconf automake yum-y install zlib zlib-devel OpenSSL openssl-devel pcre-devel
Set up Nginx Group
Groupadd-r
First, view the log file
Linux View /var/log/wtmp file view suspicious IP login
Last-f/var/log/wtmp
This log file permanently records each user's logon, logoff, and system startup, downtime events. So as the system uptime increases,
Today, let's talk about how to compile and install nodejs separately. If so, let's take a look at the end. If not, let's install nodejs step by step.System: centos 6.x( 64-bit)Software version: nodejs 5.3.01. Upgrade gcc firstFor more information
The method is very simple. Thanks to the tutorials provided by the N16 group of friends!1. Make necessary preparations first!#! /Bin/shYum install-y gcc automake autoconf libtool make build-essential autoconf libtool curl-devel zlib-devel
Recently, I have been tossing the CentOS6.4 server configuration, and I have been configuring LNMP + Django on the server.Although I have been using MAC for development, the configuration in CentOS/RHEL for the first time still needs to be
View the users in the system: cut-d:-f 1/etc/passwdView users who can log on to the system: cat/etc/passwd | grep-v/sbin/nologin | cut-d:-f 1View user operations: w command (root permission required)View a User: w user nameView logon User: whoView
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service