Configure CentOS6.9 and centos6.9

Source: Internet
Author: User

Configure CentOS6.9 and centos6.9

Various problems, reinstalled countless times, record the most successful operation process.

(Although the first line is wrong)

Rmp-ivh jdk-8u11-linux-i586.rpm rpm-ivh jdk-8u11-linux-i586.rpm java-versioncd/usrlscd javalswhich javacd/usr/bincat javalsll-a javarm-rf java1- s/etc/alternatives/java/etc/bin/java1.pwdln -s/etc/alternatives/java/usr/bin/java1.7ll-a java * ls/usr/java1- s/usr/java/jdk1.8.0 _ 11/jre/bin/java/ usr/bin/javayum-vexit () qexitmv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Bas E. repo. backupwget-O/etc/yum. repos. d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repoyum-vyum list mpich * yum install mpich2 mpich2-devel mpich2-docmv/etc/yum. repos. d/CentOS-Base.repo.backup/etc/yum. repos. d/CentOS-Base.repols/etc/yum. repos. d/yum install mpich2 mpich2-devel mpich2-docwhich mpiccfind/-name "mpich" cd ~ Vim. bashrc .. bashrc which mpiwhich mpiccmpicc-o OK. o OK. cmpirun-np 1. /OK. ovim/etc/resolv. confcd/etclsvim hostvim hostsgedit hostscp hosts/home/hostslsgedit hostssource hostsmpirun-np 1. /OK. ompirun-np 4. /OK. omkdir my backup file cd my backup file/mv .. /hosts hostslscd .. lstar Jxvf Python-3.5.0.tar.xzcd Python-3.5.0which make install. /configure -- prefix =/usr/local/python3.5make installmv/etc/yum. repos. d/C EntOS-Base.repo/etc/yum. repos. centOS-Base.repo.backup wget-O/etc/yum. repos. d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repoyum install openssl-develmake installhistoryln-s/usr/local/python3/bin/python3.5/usr/local/bin/python3.5python3.5ln-s/usr/local/python3.5/bin/ python3.5/usr/local/bin/python3.5rm-rf/usr/local/bin/python3.5historyln-s/usr/local/python3.5/bin/python3. 5/usr/local/bin/container-s/usr/local/python3.5/bin/pip3.5/usr/local/bin/pip3.5pip3.5 install -- upgrade pip3.5 install matplotlibkill % 1 jobskill % 1jobspip3. 5 install numpy-I https://pypi.shuosc.org/simplepython3.5pip3.5 install matplotlib-I https://pypi.shuosc.org/simplesudo python3.5-m pip3.5 install -- upgrade -- force pipsudo python-m pip3.5 install -- upgrade -- force pippyt Hon3.5yum install freetype-develyum install libpng-develhistorypip3.5 install matplotlib-I https://pypi.shuosc.org/simplegcc-vg ++-vyum install build-essential tialyum install g ++ yum-y install gcc + gcc-c ++ -vgcc-vhistorypip3.5 install matplotlib-I https://pypi.shuosc.org/simplepip3.5 install scipy-I https://pypi.shuosc.org/simplecd git-2.9.5ls. /configure -- prefix =/usr/local/mygitmakemake insta Llwhich gitcd/usrlshistorycd/usr/local/mygit/lscd liblscd .. /bin/git -- helplsgit. /githistoryln-s. /git/usr/local/bin/gitgitlspwdln-s/usr/local/mygit/bin/git/usr/local/bin/gitrm-rf/usr/local/bin/gitln -s/usr/local/mygit/bin/git/usr/local/bin/gitgitcd ~ Ls-asshpwdssh-keygen-t rsa-C "java233@foxmail.com" cd. /. ssh/lscat id_rsa.pub ssh-T git@github.com ssh-T git@github.comgit config -- global user. name "LaoZiHou" git config -- global user. email "java233@foxmail.com" ssh-T git@github.comcd/usrlscd local/lscd/home/lzh/eclipse-workspace/lsgit clone https://github.com/LauZiHou/FancyCat.gitcd/usr/local/mygit/lscd libexec/lscd git-core/ lspwdPATH = $ PATH: /usr/local/mygit/libexec/git-corecd/home/lzh/eclipse-workspace/git clone https://github.com/LauZiHou/FancyCat.gitcat $ PATHgitwhich gitlsrm-rf/usr/local/bin/git PATH = $ PATH: /usr/local/mygit/libexec/git-coregit clone slave/usr/local/mygit/lscd liblscd .. cd binls. /git-shell cd .. lscd libexec/lscd git-core/lsfind 'git-remote-http' find/"git-remote-https" find/"LZH" kill % 1 kill % 2 githistorycd/usr/ local/mygit/lscd libexec/lscd git-core/lscd mergetools/lscd .. which gityum install gitwhich gitcd/home/lzh/lscd eclipse-workspace/lshistorygit clone https://github.com/LauZiHou/FancyCat.gitlscd FancyCat/lshistory
The reason for the last reinstallation is that Eclipse cannot be opened in any way and a segment error is prompted. At that time, Python packages and hot deployment were added to Eclipse, and the project directory git was directly written to GitHub during programming. I don't know which cause is wrong.

I will check again later... now I have to hurry up and do my homework. It's good to use it temporarily.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.