CenOS 7
# install perl
sudo yum install –y perl
# install java
sudo yum install -y java-1.8.0-openjdk
# install python3
sudo yum install -y python3
#install nodejs
curl --silent --location https://rpm.nodesource.com/setup_12.x| sudo bash -
sudo yum install –y nodejs
# install postgresql
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo yum install -y postgresql12 postgresql-12-server postgresql12-contrib
sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
sudo cp /var/lib/pgsql/12/data/pg_hba.conf /var/lib/pgsql/12/data/pg_hba.conf.orig
sudo bash -c 'echo "local all all peer">/var/lib/pgsql/12/data/pg_hba.conf'
sudo bash -c 'echo "host all all 127.0.0.1/32 md5" >>/var/lib/pgsql/12/data/pg_hba.conf'
sudo bash -c 'echo "host all all ::1/128 md5" >>/var/lib/pgsql/12/data/pg_hba.conf'
#start postgresql service
sudo systemctl start postgresql-12
sudo systemctl enable postgresql-12
sudo -i -u postgres psql -U postgres -d postgres -c "alter user postgres with password '1rysview';"
sudo systemctl restart postgresql-12
Bionano Access Web
wget http://www.bnxinstall.com/access/Access-Install.tar.gz
网友评论