A hard drive was added under the virtual machine.
You now need to partition and format your hard disk.
Typing the following command FDISK/DEV/SDC
And then in the pop-up dialog box, typing n (new partition)
As shown in the following figure
These days have been plagued by the merging of SVN's branches, and everyone reflects that merging between branches is too much trouble, and sometimes it's not known which version was last merged. There were ways to prevent errors from occurring on
Spark 2.2 needs to run in the Java environment, is not any version can do. Not Before the spark official website to see the need to run the environment is jdk8+, so I installed Jdk9, but in the JDK 9 environment did not install successfully, run
install python3.5.2 under CentOS
Pyenv is a tool that facilitates the use of multiple versions of the Python environment, written by pyenv using shell scripts and can be used only for downloading, without the need for root users
1, the
Turn from: http://www.linuxidc.com/Linux/2016-04/129784.htm
Key points:
1. Installation may need to rely on: Yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
2. Download python3.5.1 's tar packets from the
Centos 6.5 has been released, but Python is a 2.6.6 version, and you can upgrade Python yourself for friends who want to use a new version of Python. 1. View the current version of Python.
[root@localhost liukk]# python
python 2.6.6 (r266:84292,
Before you deploy Docker, you need to preview the Docker command Docker basic command
Docke pull nginx# Download Nginx mirrors
Docke Push 192.168.161.117:5000/os/centos #上传本地制作的镜像到本地镜像库
Docker Images #查看下载到本地的镜象
Docker tag 980E0E4C79EC 192.168.161.11
1, CentOS7 to modify the host name
1) Hostname host name
Eg:
Hostname ityangs
Note: This way, only the temporary host name can be modified, when the machine is restarted, the host name changes back.
2) hostnamectl set-hostname xxx
Eg:
Hostnamectl
A new Linuxcentos server, installed PHP environment, found that the Apache default resolution path is/var/www/html, if you do not want to use this default path, you can set up a directory. Example: Create a new/data/website folder under the root
Linux installation tomcat7.0.61, Linux CentOS 6.6 installation tomcat7.0.61, Linux Redhat installation tomcat7.0.61.
The Linux settings tomcat boot from boot.
1. Download Tomcat
Tomcat official website Download tomcat installation package, download
In some cases we may need to use the virtual IP (VIP)
First we can use the command:
IP addr
Check the name of the network card currently in use and the current IP.
As shown in the figure above, eno16777736 is the current network card name.
Reprint Address: http://jingyan.baidu.com/article/6b182309b95badba58e159e0.html
1, start CentOS system, into the desktop, the author's system is CentOS 6
2, can display the Chinese prerequisite is: The system has installed the Chinese voice pack.
Experienced hardships in VirtualBox installed Centos7, habitual played a day ifconfig, the results found that the command is invalid, and then after a series of checks found no ifconfig this package,
So to install a ifconfig package with Yum, it
1, download the JDK and Tomcat installation package to the/OPT directory, use the command: Wget installation package in the network address;
2, use the command decompression installation package: TAR-ZXVF package name;
3, to extract the file to be
1. Vi/etc/sysconfig/iptables
Way One
Add the following content
-A input-m state--state new-m tcp-p TCP--dport your port-j ACCEPT
Mode two/sbin/iptables-i input-p TCP--dport your port-j ACCEPT/etc/rc.d/init.d/iptables Save
Reboot the firewall
[Root@master ~]#/etc/init.d/named RestartStop named: [OK]Start named:Error in Named configuration:Zone centos.vbird/in:loaded Serial 2011080401Dns_master_load:named.192.168.100:2: unexpected end of lineDns_master_load:named.192.168.100:1: Unexpected
Environment:
centost6.5 x64
MongoDB 3.0 1, to the official website to download this file:
Mongodb-linux-x86_64-rhel62-3.0.0.gz
2. Install MongoDB (install to/usr/local)
Unpack the installation package under the/usr/local directory;
TAR-ZXVF
I am using ansible to do the deployment, according to the document or easy to deploy. 1. File system has used EXT4 format to modify mount parameters (increase nodelalloc and noatime)
First, check the file format of the system, the command is as
Workaround:
Edit $JAVA _home/jre/lib/security/java.security file,
Find Securerandom.source=file:/dev/random or
Securerandom.source=file:/dev/urandom This line of content
Modify to Securerandom.source=file:/dev/./urandom
Tomcat Settings start
Simply introduce some simple tools that I have to install. If there is a good, I will add content in this article.
A) Nano editor
Yum Install Nano-y
It may be used, much better than the built-in one.
II) Network Toolkit
Yum Install
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