Para Red VirtualBox Centos 7
- vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 (cambiar ONBOOT a yes)
- systemctl restart network
Instalacion de JDK
- yum update
- yum install -y vim
- yum install -y wget
- yum install -y unzip
- yum install -y tar
ver enlace :
http://javadev.org/development-tools/jdk/installation/centos/7/
wget --no-check-certificate --no-cookies - --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz
ver mi ip
ip addr show
Instalar postgres
Enlace: https://www.unixmen.com/postgresql-9-4-released-install-centos-7/
Enlace de la pagina de postgres:
https://www.postgresql.org/download/linux/redhat/
Instalar postgis
yum install postgresql96-libs postgresql96-contrib postgresql96-devel
rpm -qa|grep ^epel
yum update
yum install epel-release-7-9.noarch
yum install postgis2_96
Iniciar como servicio
- systemctl enable postgresql
Si no esta instalado o iniciado firewalld
yum install firewalld -y
systemctl enable firewalld
systemctl start firewalld
Instalar netstat y ifconfig
yum whatprovides netstat
yum whatprovides ifconfig
yum install net-tools
Instalar Tomcat 9
https://hostpresto.com/community/tutorials/how-to-install-apache-tomcat-9-on-centos-7/
https://tecadmin.net/install-apache-tomcat-9-on-centos/
Instalar Node Js
# Install Node.js 8.x repository
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
# Install Node.js and npm
yum install nodejs
Instalar MongoDB
https://www.liquidweb.com/kb/how-to-install-mongodb-on-centos-7/
https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-red-hat/
https://www.mkyong.com/mongodb/mongodb-allow-remote-access/
PHP 7
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml
yum install httpd
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload
systemctl enable httpd.service
Mysql MariaDB
sudo yum install mariadb-server mariadb
systemctl start mariadb
mysql_secure_installation
systemctl enable mariadb.service
sudo vi /var/www/html/info.php
<?php phpinfo(); ?>
firewall-cmd --permanent --add-port=3306/tcp
firewall-cmd --reload
bind-address=0.0.0.0
GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.%' IDENTIFIED BY '' WITH GRANT OPTION;
Instalación Jboss 7
Pagina de Referencia
Descargar Jboss con wget en la carpeta /tmp
unzip jboss-eap-7.0.0.zip\?_auth_\=1502338733_a7841d0d06cd5e9e7586ab6aadb8c974 -d /usr/share
adduser jboss
cd /usr/share/
chown -fR jboss.jboss
chown -fR jboss.jboss jboss-eap-7.0/
cd jboss-eap-7.0/bin/
su jboss
./add-user.sh
./standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0&
firewall-cmd --permanent --add-port=9990/tcp
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload
-- para deterner servicio
./jboss-cli.sh --connect command=:shutdown
Instalar Oracle XE 11g
yum install libaio bc flex
unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
rpm -Uvh oracle-xe-11.2.0-1.0.x86_64.rpm
/etc/init.d/oracle-xe configure
vi ~/.bash_profile
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export PATH=$ORACLE_HOME/bin:$PATH
source ~/.bash_profile
firewall-cmd --permanent --add-port=1521/tcp
firewall-cmd --reload
http://hypsoluciones.com/2014/09/instalacion-de-oracle-11g-xe-sobre-centos-7/