Do not use Yum to install OPENJDK, the damn thing is a pit of goods.First download the jdk,http://www.oracle.com/technetwork/java/javase/downloads/website jdk7-downloads-1880260.html, I download jdk-7u49-linux-x64.tar.gz, download to main directory (
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
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
Installation InstructionsSystem Environment: centos-6.3Installation Method: RPM InstallationSoftware: jdk-7-linux-x64.rpm: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.htmlInspection System Original Version
Using the Aliyun host, run the centos6.4 64-bit system and bind the domain name after installing the lamp environment. The configuration file is as follows:documentroot/var/www/htmlservername 120.24.54.xxx documentroot/var/www/html/domain1
Installing the JDK1 Yum Install java-1.7. 0-openjdk*3 Check Installation: java-versionCreate Hadoop users, set up Hadoop users so that they can password-free ssh to localhost1 su - hadoop 2ssh-keygen" -f ~/. SSH/id_dsa 3cat ~/. SSH/id_dsa.pub>>
When setting up the environment encountered the Yum update problem, reported the following error:Yumrepo Error:all Mirror URLs is not using FTP, Http[s] or file.Eg. $releasever is not a valid release or hasnt been released yet/Removing mirrorlist
Environment: CentOS 6.41. Installation of tigervnc-server and related softwareFirst check if the Tigervnc-server installation package is installed in the systemRpm-qa Tigervnc-serverIf not, install directlyYum Install tigervnc-server*2, modify the
Environment: CentOS 6.41. Install related softwareYum groupinstall "desktop" (You can gapping this command if you have installed your desktops)Yum Install XRDPYum Install Tigervnc-server2. Start XRDP ServiceService XRDP Restart3. Configure Iptables
Today, in order to deploy a GitHub gadget, a cent OS was re-installed in VMware.650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7C/F9/wKioL1bdhmfyFlpIAAAbWM6OTrw123.png "title=" QQ picture 20160307214324.png "alt="
1. Login System switch Directory:# cd/etc/sysconfig/network-scripts/2. Add The configuration of the binding nic bond## Vim ifcfg-bond0Device=bond0Type=ethernetOnboot=yesBootproto=staticipaddr=59.151.2.134netmask=255.255.255.240gateway=59.151.2.129#
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
Solve the problem that the CentOS command has been installed, but the system prompts that the problem cannot be found.
Today, a CENTOS is installed on the VM. After the installation, many commands are prompted to fail to be found, such as tcpdump,
Solution to CentOS Nic restart failureCheck whether the networking settings are correct
Command: ip addrDisable Network Management in configuration
Command: chkconfig NetworkManager off
Enable Network Management in configuration
Command:
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...
Solve "cocould not resolve host: centos.ustc.edu.cn; Unknown error"
When using mysql to create multiple instances in CentOS, you need to use the tree Command. It is found that no default installation is performed on centos. Therefore, if the tree
Solution for connecting to CentOS 7 in Xshell
Note: virtual machines use bridging.
1. First, check the local ip address and gateway.
2. Enter nmtui in the command line under centos7, edit the network connection, and press Enter.
3. Press
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