Take the Aliyun server as an example
One, mounted hard disk
1, disk partition
Fdisk-l #查看设备, you can generally see the device named/dev/xvdb
Fdisk/dev/xvdb #对磁盘进行分区
Enter N #创建新分区
Enter P #创建主分区
Enter 1 #创建第一个主分区
Enter the W #保存并执行以上命令 to
CentOS installation VPN appears some of the site can not access the problem! Some forwarding rule settings for iptables
The NAT conversion rule is established, otherwise the dial cannot be connected to the public network through the remote gateway.
Using Dockerfile to create CentOS Docker mirrors with Apache services
List of files prepared on the host:
Dockerfile
#启动ssh和apache服务的角本
run.sh
The above files are placed in the/root/apache_centos directory
Describes how to use the Yum configuration installed under the CentOs6.2 lamp environment, some brothers also like to use the installation method of compiling, personal feel if not to the server to do custom, with Yum installation stability simple,
Let's briefly introduce a few nouns
Atomic Clock: Now the most accurate calculation time is the physical clock (Atomic Clock) computed using the atomic oscillation cycle, which is also defined as the standard Time (International Atomic times)
UTC (
1, installation mariadbInstallation commandsYum-y Install mariadb Mariadb-serverInstallation Complete mariadb, first start mariadbSystemctl Start mariadbSet boot upSystemctl Enable MARIADBThe following is a simple configuration of
Vi/etc/sysconfig/iptables #编辑防火墙配置文件# Firewall configuration written by System-config-firewall# Manual Customization of this file are not recommended.*filter: INPUT ACCEPT [0:0]: FORWARD ACCEPT [0:0]: OUTPUT ACCEPT [0:0]-A input-m state--state
Ubuntu,centos the SSH Remote Encryption Connection service is not installed by default.Use the command to install.0.sudo apt-get Install Openssh-server openssh-client1.rpm-qa | grep ssh to see if SSH is installed if no No. 0 step is
CentOS 6.X converged Link0, check NetworkManager service, stop NetworkManager service. Not doing this is likely to be a problem.Service NetworkManager StatusService NetworkManager Stop1. Modify three types of filesifcfg-* files
Bind two network cards, share one IP, realize the redundancy effect. In fact, there are 7 types of bindings for Linux dual NICs:
The mode=0 indicates that load balancing (round-robin) is balanced, and both NICs work.
mode=1 says
The TFTP (Trivial file Transfer Protocol, simple Files Transfer Protocol) is one of the TCP/IP protocol families used between the client and the serverThe protocol for simple File transfer, provides an uncomplicated, inexpensive file transfer
CentOS Uninstall OPENJDKThe installed CentOS will bring openjdk, with the command java-version, will have the following information:Java Version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-bit Server VM (build 1.6.0-b09, Mixed
Before saying the text, thank happy_fish100 for providing the FASTDFS, lightweight Distributed File server.With the amount of users, pictures, videos and so on will continue to increase, this time a hard disk may not be enough, you need to add hard
Alfrasco is a Java based Electronic Content Management tool, that's available with an Open Source license. This open platform helps your regain control of critical business content, strengthen compliance, optimize processes and MA KE collaboration
1. What is VirtualizationVirtualize a computer into multiple logical computers with virtualization technology. Each logical computer can have a different operating system that is independent of each other and does not interfere with each other.2.
Solve the Problem of Unit iptables. service failed to load in CentOS 7.
Click me to enter the original address
Solve the Problem of Unit iptables. service failed to load in RHEL 7/CentOS 7/Fedora
I have been using CentOS 6 for a while, but I am
Statistics on piwik and centospiwik installed in centos 7
The original connection of this article is: http://blog.csdn.net/freewebsys/article/details/47146525 is not allowed by the blogger can not be reproduced.1. About piwik
Piwik is an open
EPEL is short for Extra Packages for Enterprise Linux. It is officially translated as an additional software package for Enterprise Edition Linux. As the name suggests, he can expand your software library, saving a lot of time when installing a lot
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