1. Create a new virtual host using VMware2. Install Linux using VMware and click on "Open Virtual host"3, enter the Linux installation interface, select the first "install or upgrade an existing system"4, skip disk detection, keyboard select "Skip"5.
System Environment: CentOS-6.5Installation Method: RPM InstallationSoftware: jdk-7-linux-i586.rpm: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlInspection System Original Version[email protected]localhost ~]# java-versionJava
After adding a new server, the next step is to install the system. It is recommended to use CentOS 5.8 x86_64, everyoneThere is a principle in using the server: the fewer application packages installed on the system, the more stable the server is,
After cloning the virtual machine, network card problems, resulting in the inability to surf the Internet;After cloning: Use IP addr show to find the NIC name eth1 is not the default eth0View:/etc/sysconfig/network-scripts/directory can only see the
Codeblocks InstallationNote: Run the following command under root user1. Install GCC, the C and C + + parts, the default installation, CentOS does not install the compiler, the terminal to enter the following commandYum Install GCCYum Install gcc-c++
1. See if VSFTP is installed[[Email protected] ~] #rpm-qa|grep vsftpdIf vsftpd-2.2.2-13.el6_6.1.x86_64 appears, the VSFTP is already installed.If no fields such as vsftpd appear, perform the second step;2. Installing VSFTPD[[Email protected] ~] #
1. Create a user#创建gitadmin用户useradd gitadmin# set gitadmin password passwd gitadmin# create git user useradd git# set git password passwd git2. Create an SSH key#切换到gitadmin > Su gitadmin# create an ssh key > ssh-keygengenerating public/private RSA
Vsftp is the most respected FTP server program in the Linux distribution. Features are small and light, safe and easy to use. The following is an introduction to CentOS under Installation and simple configuration vsftp this service software.The
Install the virtual machine Ah, use the company given CentOS 6.0 ISO image, the image is cropped, and work to use the mercurial (HG) version Control tool, so you need yum install mercurial.Just started to install the system, yum install mercurial
Because of the need to perform tasks on a timed basis, we found the Crontab tool and introduced its usage:Shell=/bin/bash path=/sbin:/bin:/usr/sbin:/usr/bin mailto=root home=/ # run-parts 01 * * * * Root run-parts/etc/cron.hourly 4 * * * Root
Finally put LXC network to pass, do not know right, rememberIt's all the same place at first.Yum Install Libcgroup LXC lxc-templatesInstalling LXC CgroupThen rememberChkconfig--level 345 libcgroup on Cgroup always startAdd a bridgeIfcfg-eth0 changed
1. Find the Occupied port
Netstat-tln
Netstat-tln | grep 8060
NETSTAT-TLN View port usage, while Netstat-tln | grep 8060 is a view of the usage of port 8060 only2. See which program the port belongs to? Which process is consuming the
CentOS 6.4-64-bit under compile ffmpeg a few simple steps:1. Pre-compilation environment preparation;2. Download the source code;3. compile, install;-----------------------------------------------Below is a description of one of the following:First,
[Centos] install openvpn server (easy-rsa3), centosopenvpnVPN is widely used in office and fan wall fields. We may use it in small office networks recently. Learn it first.The vpn server must have a public ip address, which can be used by clients in
Network problems after VMWaer clones centos
After the VM is cloned, the network card becomes unavailable due to a problem;
After cloning: the ip addr show shows that the NIC name is eth1, not the default eth0.
View: only the eth0 Nic can be seen
Solve the problem that the CentOS file cannot be deleted
When a file is deleted in the centos system, the system prompts that the operation cannot be performed. It is possible that the file is changed by chattr. You can use the lsattr command to
CentOS solves Device eth0 does not seem to be presentIfconfig... the eth0 .. Then restart the NIC and report the following error.Fault symptom:Service network restartShutting down loopback insterface: [OK]Bringing up loopback insterface:
How to restore the accidentally deleted/sbin/service from centosWhen executing the rm command, I accidentally deleted the very important System service Startup command/sbin/service by mistake. So I searched the internet and couldn't find any related
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