DEBIAN PRO

DEBIAN PRO
DEBIAN

martes, 15 de marzo de 2016

Centos 7 info


En estas semanas estoy probando Centos 7, algunas cosas son distintas al mundo "Debian" y sus hijos.
Tendré que re-entrenarme en los comandos diarios. Instalamos la versión "minimal", la idea era buena pero algunas cosas son muy difíciles de gestionar.

Tiene algunas particularidades:
* Existe un repositorio llamado EPEL de "extras" que hay que definir. hay que hacer eso, para poder instalar otros paquetes.
* comandos básicos como "ifconfig" no están disponibles
* MariaDB en lugar de MySQL como el standard.
* VirtualBox tools no se instalan correctamente.
*


Instalación mínima.
Definir NTP y zona horaria
definir teclado ESP
definir red, ipv6 solo local
definir disco para instalar

Documento con info
http://www.server-world.info/en/note?os=CentOS_7&p=install

Al bootear

dhclient porque no obtiene IP

yum update
vi /etc/yum.conf
proxy=http://192.168.1.200:8080

yum install mc htop bzip2 telnet nmap wget net-tools

servicectl disable firewalled
servicectl disable postfix

Agregar repositorios EPEL
yum -y install epel-release
## RHEL/CentOS 7 64-Bit ##
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm

wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm


Instalar VMWare tools.

TOOLS
yum
ip addr show
update-rc
systemctl status/disable/enable ssh
service postfix status/stop
yum repolist

repositorios
ls -1 /etc/yum.repos.d/mysql-community*

rpm -e ERASE



16 dhclient

35 yum install epel-release
36 yum groupinstall "X Window system"
37 yum groupinfo "MATE Desktop"
38 yum groupinstall xfce
39 sudo systemctl isolate graphical.target
48 rm '/etc/systemd/system/default.target'
49 ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
50 startx




No hay comentarios:

Publicar un comentario