Git Product home page Git Product logo

semana-do-mikrotik's Introduction

🚀 Semana do MikroTik - TechLabs

🤩 Repositório de Instalação e Configuração.

💻 Requisitos de Software

Instalação Será realizada no Proxmox - Mas pode ser instalado em um VMWARE ou VirtualBox usando seu PC Windows

  • PNETLab Bare Metal - Obrigatorio Ubuntu 18.04 Server
  • PHPIPAM - Instalação no Container



💻 Instalação do PNETLAB

Instalação do Servidor

  • Configuração do Disco:
Deve informar todo o disco disponível
  • Configuração do Usuário:
    • Informe os Dados do Usuário:
Seu Nome [Nilson Pessim]
Nome do Servidor [pnetlab]
Usuário do Servidor [nilson]
Senha do Servidor [nilson]
  • Pacotes Adicionais:
Instalar o OpenSSH
  • Após Instalação do Ubuntu Server:

    • Faça Login via SSH:
ssh [user]@[ip]
  • Adicionar Repositório: /etc/apt/sources.list
deb [trusted=yes] http://repo.pnetlab.com ./
  • Check a Conexão do Servidor com a Internet (Resolução de Nomes)
echo "nameserver 8.8.8.8" > /etc/resolv.conf
apt-get -y update && apt -y upgrade 
apt-get -y purge netplan.io
apt-get install pnetlab -y
  • Reinicie o Servidor
reboot

Instalação do MikroTik

  • Configuração MikroTik RouterOSv6:
mkdir -p /opt/unetlab/addons/qemu/mikrotik-6.49.15
cd /opt/unetlab/addons/qemu/mikrotik-6.49.15
wget https://download.mikrotik.com/routeros/6.49.15/chr-6.49.15.vmdk.zip
unzip chr-6.49.15.vmdk.zip
/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 chr-6.49.15.vmdk hda.qcow2
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
  • Configuração MikroTik RouterOSv7:
mkdir -p /opt/unetlab/addons/qemu/mikrotik-7.15.1
cd /opt/unetlab/addons/qemu/mikrotik-7.15.1
wget https://download.mikrotik.com/routeros/7.15.1/chr-7.15.1.vmdk.zip
unzip chr-7.15.1.vmdk.zip
/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 chr-7.15.1.vmdk hda.qcow2
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

💻 Instalação do PHPIPAM

  • Atualizar os Repositórios e Pacotes do Sistema:
apt -y update && apt -y upgrade
  • Instalação dos Pacotes Necessários (Servidor Web e Banco de Dados):
apt -y install apache2 libapache2-mod-php php mariadb-client mariadb-server
apt -y install php-gmp php-mysql php-mbstring php-gd php-curl php-xml php-pear
a2enmod rewrite
systemctl restart apache2
  • Configurar Banco de Dados:
mariadb -p

CREATE DATABASE phpipam;
GRANT ALL PRIVILEGES ON phpipam.* TO 'phpipam'@'localhost' IDENTIFIED BY 'techlabs';
FLUSH PRIVILEGES;

quit;
  • Configurar PHPIPAM:
cd /tmp
wget https://github.com/phpipam/phpipam/releases/download/v1.6.0/phpipam-v1.6.0.tgz
tar vxf phpipam-v1.6.0.tgz
  • config.php:
$db['host'] = "localhost";
$db['user'] = "phpipam";
$db['pass'] = "techlabs";
$db['name'] = "phpipam";
  • Acesso Padrão:
admin / ipamadmin

💻 Repositório Completo - Semana do MikroTik

💖 Nos Ajude a Crescer

Se este Material foi útil para você, ajude se inscrevendo no meu canal do YouTube.

(https://youtube.com/techlabs94?sub_confirmation=1)

Isso me incentiva a trazer mais materiais como este e muitos outros de redes e tecnologia.

YouTube Channel Subscribers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.