Skip to content

Instantly share code, notes, and snippets.

@edinsoncs
Last active May 24, 2019 15:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edinsoncs/5159deeb0eafac14a3cf1f982bf0eaf2 to your computer and use it in GitHub Desktop.
Save edinsoncs/5159deeb0eafac14a3cf1f982bf0eaf2 to your computer and use it in GitHub Desktop.
Student centos
yum
//Usaremos yum para hacer el update completo
yum update
//Usaremos un editor de texto como vim, nano o vi
yum install vim
yum install nano
yum install vi
//Para instalar alguna dependencia necesitaremos instalarlo por vim o por repo
#ejemplo
sudo vim /etc/folder/folder/edinson.repo
#o con nginx
sudo vim /etc/yum.repos.d/nginx.repo
#luego instalaremos nginx
yum install nginx
#iniciamos o preguntamos el status de nginx
systemctl status nginx
systemctl start nginx
#instalamos el gcc
yum install -y gcc-c++ make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment