Step 1: Create a VM
Set the memory size to 1024.
Set Virtual Disk
Select Hard Disk Type
Select File Location
Click OK and select the ISO file as the installation file.
Now the virtual machine settings are complete.
Step 2: Install
# Mount a New GB hard disk to the serverFdisk-l# New mounted Hard Disk/dev/SDB found
# Create a physical volume (PV)Pvcreate/dev/SDB
# Extend the volume group and add/dev/SDB physical volumes to the volgroup00 volume groupVgextend volgroup00/dev/
It is not an experience, but a personal summary.Problems encountered during setup, and record them.Friends who have just started learning to set up the environment are less likely to make detours.There are no too many parameters, and it is not the
Samba is mainly used to share files or devices between Windows and Linux systems. It is a software package for sharing files and printing services between computers on the network. The protocol is the client service protocol, provided by a client
When centos is used as the server, the server may sometimes reject the connection from the client. The client may suffer Connection reset by peer errors. The reason should be that the default file descriptor of the server is 1024, at this time, it
[Root @ bogon test] # vi/etc/sysconfig/i18n
Lang = "zh_cn.gb18030"Language = "zh_cn.gb18030: zh_cn.gb2312: zh_cn"Supported = "zh_CN.UTF-8: zh_cn: Zh: en_US.UTF-8: en_us: en"Sysfont = "lat0-sun16"
Restart the system.
If the problem persists, you
When you configure phpMyAdmin, enter http: // 192.168.8.250/PHPmyAdmin/in the browser/
You also encountered the problem of you don't have permission to access on this server.
I found a lot of information on the Internet, some of which are the
Restart command
Common shutdown and restart commands in Linux include shutdown, halt, reboot, and init, which can be used for shutdown and restart. However, the internal working process of each command is different, next we will introduce them one
I. Prepare the environment1. Install gccYum install GCC gcc-C ++
2. Install PCRETo make sure that you can use regular expressions in nginx for more flexible configuration, You need to determine whether the PCRE (Perl Compatible Regular
First, check whether the rpm-Qa | grep MySQL has been installed. Check both of them.Rpm-Qa | grep MySQLIf the installation is detachable, run the rpm-e ****** command to uninstall the customer service and server.
1. Download the MySQL
I had a hard night yesterday and finally got it done. Now I can access the Internet. Pay attention to the following points during bridging:
1. After the bridge is successful, br0 has an IP address and eth0 does not have an IP address. You can access
1. Configuration File/Etc/hosts (the local host IP address ing can have multiple aliases )./Etc/services (correspondence between port numbers and standard services ).
/Etc/sysconfig/Network (set the host name, gateway, and domain name ).Hostanme =
1. Enter the following content in the address bar:
SMB: // windows IP/share folder name. SMB is short for Server Message Block protocol. It is an IBM protocol running on TCP/IP protocol.
Since Windows 95, Microsoft Windows provides SMB protocol
Document directory
1. install Apache in yum
2. Install MySql in yum
3. install Apache in yum
4. Install phpredis in source code
Recently, reids has been used in the project. to simplify the work of testers, we are preparing to build
Centos host name modification (hostname)
You need to modify either of them:/etc/sysconfig/network and/etc/hosts. modifying only one of them will cause system startup exceptions. Switch to the root user first.
/Etc/sysconfig/Network
Open the
1. Configure the NIC
Modify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following contentDevice = eth0 (describe the device alias for the NIC, for example, it is eth0 in the ifcfg-
. Check whether vsftpd is installed:Rpm-Qa | grep vsftpd
2. Install vsftpd in Yum:Yum install vsftpd
3. Install vsftpd with RPM: You can get the latest vsftpd RPM package from the following two places: https://www.redhat.com/?http://www.rpmfind.net/
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