First, prefaceRecently to engage in GRAILS+GROOVY+MONGODB software development, using the CentOS system, because it has been developed under Windows, some tools and materials are under the WINDWOS, so decided to use a virtual machine to install the
To view the installation environment: [Email protected] ~]# cat/proc/versionLinux version 2.6.32-573.22.1.el6.x86_64 ([email protected]) (GCC version 4.4.7 20120313 (Red Hat 4.4.7-16) (gcc)) #1 SMP Wed Mar 03:35:39 UTC 2016 [Email protected] ~]# cat/
Installation and cloning of CentOS
Environment description
Win7 x64 bit; vmware12;centos-6.5-x86_64-minimal
Installation and initial configuration
Installation
On the WM home page--"Create a new virtual
This picture describes the Linux system startup process.System initialization process (Kernel level): POST--Bootsequence (BIOS)-Kernel (RAMDisk)-Rootfs (readonly)-/sbin/init
User space Initiation Process:/sbin/init (/etc/inittab)Set the default
CentOS 6 startup process:POST--Boot Sequence (BIOS)--BootLoader (MBR)--Kernel (RAMDisk)--Rootfs Switchroot /init---/etc/inittab,/etc/init/*.conf--Set the default run level--system initialization script--shut down or start the service under the
To edit a configuration file:# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Change onboot=no to YesExit Save#:wqRestart the NIC#/etc/init.d/network restartVM clone, System Mac and UUID are duplicated, resulting in not getting IPError: Device eth0 does
Linux system startup logon processThe entire process from boot to login for a Linux system is roughly as follows: 1> Loading BIOS information: Includes hardware information such as cpu/graphics/memory/hard disk/NIC, device boot sequence, clock
To do this, log in to SSH:Vi/etc/sysconfig/network-scripts/ifcfg-eth0:0The second IP is aVi/etc/sysconfig/network-scripts/ifcfg-eth0:1A third IP is theIfcfg-eth0:2 (from this analogy)Device=eth0:0 NIC device name Onboot=YES random start Bootproto=
Build RAID5, LVM, and samba servers on CentOS 7 (5)--Set up a Samba server6. Setting up a Samba server6.1. PreparationThe task in this section is to configure the Samba service to share the/home/shared directory so that the specified Windows user
Install SVN and configuration via Yum under CentOS1. Environmentcentos5.52. Install SVNYum-y Install Subversion3. ConfigurationBuild the Repository DirectoryMkdir/www/svndataSvnserve-d-r/www/svndata4. Build the RepositoryCreate a new Subversion
First, configure the firewall to open the port required by the FTP serverCentOS 7.0 defaults to using firewall as the firewall, where the iptables firewall is changed.1. Close firewall:Systemctl Stop Firewalld.service #停止firewallSystemctl Disable
Partition when installing CentOS:Swap partition must have, in addition to a boot zone. EXT4 is also a partition that will later have more detailed partitioning(1)/boot partition divided by 100M (2) Swap partition divided by 2G (3) remaining
1. Install Tomcat (the installed Tomcat is best placed under the same path)A. Get the installation package and unzip it (get the installation package: Upload and download using Rz\sz, file sharing via mount, samba service)The method used this time
1 "First find out the Java default installation under CentOSWhereis JavaWhich Java (Java run path)Echo $JAVA _homeEcho $PATH2> View and Uninstall:See if there is a Java-used command: RPM-QA | grep javaSome words delete: pm-e--nodeps
Solution: CentOS cannot use the scp command
Solution
In the test, files must be transferred between two virtual machines. The scp command is first generated, and the result is as follows:
-Bash: scp: command not found
If you use the yum install
Possible causes for autojump failure in CentOS 7
UseYum install autojumpAfter installation, you will findAutojump xxxThe command does not do anything, but if you want to use the abbreviationJ xxx, Will receive a prompt
Zsh: j: command not found...
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