centos装机

1.安装lrzsz软件,方便进行上传下载文件(如果没有yum源的话需要配置)
   yum install lrzsz

2.配置jdk
   vim /etc/profile
       JAVA_HOME=/Develop/jdk1.8.0_73
       CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
       PATH=$JAVA_HOME/bin:$PATH
       export JAVA_HOME CLASS_PATH PATH
   #加载本文件
   source /etc/profile

3.安装postgres  参考(https://www.postgresql.org/download/linux/redhat/)
 Install the repository RPM:
      yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-
      centos10-10-1.noarch.rpm
Install the client packages:
      yum install postgresql10
Optionally install the server packages:
      yum install postgresql10-server
Optionally initialize the database and enable automatic start:
     /usr/pgsql-10/bin/postgresql-10-setup initdb
     systemctl enable postgresql-10
     systemctl start postgresql-10

4.安装redis

  依赖gcc
  参考https://www.cnblogs.com/hanyinglong/p/5036558.html

5.安装nginx


猜你喜欢

转载自my.oschina.net/jjjjjjjjjjj11111/blog/1818268