Escolar Documentos
Profissional Documentos
Cultura Documentos
mquinas
317M
1:
2:
3:
4:
Debian8.2.0
Debian 8.2.0
Debian 8.2.0
Debian 8.2.0
LXDE 5,99 Gb
XFCE 4,07 Gb
Cinnamon 4,97 GB
KDE 5,43GB
http://lxde.org/es/
http://www.xfce.org/
http://cinnamon.linuxmint.com/
https://www.kde.org/
Espacio en disco
root@debian:/home/mdauser/Descargas# df h
S.ficheros
/dev/sda1
/opt/:
/opt/
/opt/
teamviewer
TeamViewer
VBoxGuestAdditions-5.0.10
#apt-get update
#apt-get upgrade
#aptitude update #aptitude upgrade
#apt-get install make gcc
#reboot
#uname a
Insertar el cd
VBoxguestAdditions.iso en el
Sistema husped.
Cambiarse al directorio donde se
mont el cd-rom y ejecutar
Sh ./VBoxLinuxAdditions.run
#sh ./VBoxLinuxAdditions.run
reboot
Usuarios y contraseas
Se crearn 2 usuarios, la contrasea de root solo pueden ser manejadas
por el personal de soporte para prevenir cualquier cambio en el
sistema por parte de los alumnos, se le conceder permisos suficientes
a mdauser para que pueda ver informacin del sistema necesaria para
las clases (mdauser) no puede instalar nada
Usuario: mdauser
Usuario: root
ENTORNO GRFICO:
Ligero
Rpido
Ahorrador de Energa
Simple
Fcil
Personalizable
Caractersticas Adicionales
Seleccionar desde la instalacin o por la cli Apt-get install lxde
Pentium II
266 MHz
192 MB
moderada rpida
5400 rpm
512
MB
512
MB
512
MB
4500 rpm
rpida
7200 rpm
muy rpida
Flash
Disk
muy rpida
Aplicaciones y programas:
Putty,packet tracer, firefox, chrome, team viewer, ofice, adobe flash player,
adobe reader, wireshark, gns3,
Nano /etc/apt/sources.list
Instalacin Java
#apt-get install default-jre
#aptitude install default-jre
#apt-get install default-jdk
#aptitude install default-jdk
Instalacin Putty
LAUNCHER
root@debian:/usr/share/applications# nano
putty.desktop
[Desktop Entry]
Version=1.0
Name=PuTTY
GenericName=PuTTY
Comment=Connect to an SSH server with PuTTY
Type=Application
Exec=putty
Icon=/usr/share/icons/putty-icon.png
Categories=GTK;Network;
Instalacin de
packet tracer
tar -zxvf
Cisco_Packet_tracer.tar.gz
cd PacketTracer611Student
sudo ./install
chmod 755 set_ptenv.sh
sudo ./set_ptenv.sh
modificar el launcher
nano usr/share/application/pt6.desktop
[Desktop Entry]
Name= Packettracer
Exec=packettracer
Icon=/usr/share/icons/packettracer.jpeg
Type=Application
Terminal=false
Instalacin GNS3
Linux installation
Installation from source
Fedora
Finally, you will have to manually install dependencies (VPCS, iouyap and Dynamips) found in
the GNS3 source archive.
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
root@debian:/opt/GNS3#
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
aptitude
install
install
install
install
install
install
install
install
install
install
install
install
python3
python3-dev
python3-setuptools
python3-pyqt45
python3-ws4py
python3-pip
libelf-dev
uuid-dev
libpcap-dev
python3-tornado
python3-zmq
python3-netifaces
root@debian:/opt# cd GNS3/
root@debian:/opt/GNS3# ls
GNS3-1.4.0rc3.source.zip
root@debian:/opt/GNS3# unzip GNS3-1.4.0rc3.source.zip
Archive: GNS3-1.4.0rc3.source.zip
extracting: dynamips-0.2.14.zip
extracting: iouyap-0.97.zip
extracting: ubridge-0.9.0.zip
extracting: vpcs-0.6.1.zip
extracting: gns3-server-1.4.0rc3.zip
extracting: gns3-gui-1.4.0rc3.zip
root@debian:/opt/GNS3# cd dynamips-0.2.14
root@debian:/opt/GNS3/dynamips-0.2.14# ls
ChangeLog common
cmake
CMakeLists.txt
man
COPYING
MAINTAINERS
README.hypervisor stable
profiler_resolve.pl README.md
README
RELEASE-NOTES
TODO
unstable
:
:
:
:
:
:
:
:
:
/usr/local
x86
stable
dynamips_x86_stable -> dynamips (aut$
ON
OFF
OFF
ENABLE_LARGEFILE=ON
ENABLE_LINUX_ETH=ON (linux_eth)
root@debian:/opt/GNS3/dynamips-0.2.14# make
Scanning dependencies of target rom2c
[ 1%] Building C object stable/CMakeFiles/rom2c.dir/__/common/rom2c.c.o
Linking C executable rom2c
[ 1%] Built target rom2c
gns3-gui-1.3.13
gns3-gui-1.3.13.zip
gns3-server-1.3.13.zip
iouyap-0.97.zip
ubridge-0.9.0.zip
vpcs-0.6.1.zip
root@debian:/opt/GNS3# cd gns3-gui-1.4.0rc3
root@debian:/opt/GNS3/gns3-gui-1.4.0rc3# ls
AUTHORS
dev-requirements.txt LICENSE
resources
CHANGELOG Dockerfile
MANIFEST.in scripts
CONTRIBUTING.md fake_frozen_gns3.py
README.rst
setup.py
COPYING
gns3
requirements.txt tests
tox.ini
Installed /usr/local/lib/python3.4/dist-packages/pycrypto-2.6.1-py3.4-linux-i686.egg
Searching for six==1.8.0
Best match: six 1.8.0
Adding six 1.8.0 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Finished processing dependencies for gns3-gui==1.4.0rc3
root@debian:/opt/GNS3/gns3-gui-1.4.0rc3# cd ..
root@debian:/opt/GNS3#
dynamips-0.2.14
dynamips-0.2.14.zip
GNS3-1.4.0rc3.source.zip
gns3-gui-1.3.13
gns3-gui-1.3.13.zip
iouyap-0.97.zip
gns3-gui-1.4.0rc3
ubridge-0.9.0.zip
gns3-gui-1.4.0rc3.zip
vpcs-0.6.1.zip
gns3-server-1.4.0rc3.zip
scripts
utils
ERROR DYNAMPS
El beta es que no se instalo bien el dynamimps
4 - Install iouyap
Download iouyap.tar.gz from: http://sourceforge.net/projects/gns-3/f ... z/download
tar zxvf iouyap.tar.gz
cp iouyap /usr/local/bin/iouyap
5 - Specify your IOURC License file
You will need a License for IOU. It is a text file named "iourc" or
"IOURC".
Start a xterm or a console
Run GNS3 by typing "gns3" and <ENTER> in the console
window you just opened. You will need to give your Membership
Number and email address.
Go to: Edit->Preferences->IOU on UNIX->General settings
In "Path to IOURC:", specify the path of your IOURC file.
Click "Apply" button
Click "OK" button
6 - Specify the location of iouyap
Go to: Edit->Preferences->IOU on UNIX->General settings
In "Path to iouyap (local Linux server only):", specify the path of your
iouyap file. In my case, it is "/usr/local/bin/iouyap". Modify step 4
if you want another location.
Click "Apply" button
Click "OK" button
7 - Specify your IOU images (e.g. i86bi-linux-l3-ipbase-12.4.bin)
Go to: Edit->Preferences->IOU devices->IOU images
In "IOU path:", specify the IOU image
Click "Save" button
Click "Apply" button
Click "OK" button
8 - You are ready
Now play with GNS3 v1.0. Your IOU devices must be ready
to be used.
apt-get
sudo apt-get install
./teamviewer_i386.deb
Gdebi method:
First, install gdebi:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gdebi
In the same directory you downloade
the .deb file just run:
sudo gdebi teamviewer_i386.deb
It will list the dependencies and install
it with a y.
Manual method:
Here you need to do everything manual.
First, query the package dependencies so
you can install them first:
dpkg-deb -I teamviewer_i386.deb | grep
Depends
It will return something like this:
Depends: libc6 (>= 2.4), libgcc1,
libasound2, libfreetype6, zlib1g, libsm6,
libxdamage1, libxext6, libxfixes3,
libxrender1, libxtst6
Just installing such dependencies with
:i386 should be enough:
sudo apt-get install libc6:i386
libgcc1:i386 libasound2:i386
libfreetype6:i386 zlib1g:i386 libsm6:i386
libxdamage1:i386 libxext6:i386
libxfixes3:i386 libxrender1:i386
libxtst6:i386 libxrandr2:i386
Then installing Teamviewer as normal:
sudo dpkg -i teamviewer_i386.deb
That should be all:
dpkg --no-act -i
Downloads/teamviewer_i386.deb
dpkg: could not open log
'/var/log/dpkg.log': Permission denied
Selecting previously unselected package
teamviewer.
(Reading database ... 210950 files and
directories currently installed.)
Unpacking teamviewer (from
Downloads/teamviewer_i386.deb) ...
Instalacin de
team viewer:
root@debian:/opt/TeamViewer/#ls
teamviewer_11.0.53191_i386.deb
LAUNCHER
root@debian:/usr/share/applications# cat
teamviewer-teamviewer11.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=TeamViewer 11
Comment=TeamViewer Remote Control Application
Exec=/opt/teamviewer/tv_bin/script/teamviewer
Icon=/opt/teamviewer/tv_bin/desktop/teamviewer.png
Type=Application
Categories=Network;
#Categories=Network;RemoteAccess;
Instalacin de
Firefox
LAUNCHER
nano
usr/share/application/firefox.desktop
[Desktop Entry]
Name= Firefox
Exec=firefox
Icon=/usr/share/icons/firefox.png
Type=Application
Terminal=false
https://lwn.net/Articles/676799/ 2016
Google Chrome
# nano /etc/apt/sources.list
# Chromedeb
http://dl.google.com/linux/ch
rome/deb/ stable main
Guardamos los cambios (Ctrl+O
Enter Ctrl+X).
# gpg --keyserver
keys.gnupg.net --recv-key
A040830F7FAC5991
# gpg --export --armor
A040830F7FAC5991 | apt-key
add Actualizamos la base de
datos.
#apt-get update
#aptitude update
# apt-get install googlechrome-stable
LAUNCHER
root@debian:/usr/share/applications# cat googlechrome.desktop
[Desktop Entry]
Version=1.0
Name=Google Chrome
# Only KDE 4 seems to use GenericName, so we
reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base
Exec=/usr/bin/google-chrome-stable %U
Terminal=false
Icon=/usr/share/icons/GoogleChromeBlackBlueCore.
png
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xm
l;image/webp;x-scheme-handler/http;x-schemehandler/https;x-scheme-handler/ftp;
X-Ayatana-DesktopShortcuts=NewWindow;NewIncognito
Exec=/usr/bin/google-chrome-stable
TargetEnvironment=Unity
Exec=/usr/bin/google-chrome-stable --incognito
TargetEnvironment=Unity
Instalacin
Para instalar Lethe (en su versin de prueba 0.2) en Lihuen
GNU/Linux o en Debian GNU/Linux son necesarios dos paquetes, aufsmodules y aufs-tools. Estos paquetes se pueden instalar con
Synaptic, o desde una terminal con privilegios de administrador
con los siguientes comandos
apt-get install aufs-modules-`uname -r` aufs-tools
dpkg -i lethe_0.2_i386.deb
Bugs conocidos
Example:
jesin@localhost:~$ sudousermod-a -G dialout jesin
You have to logout and login before changes take effect. After
logging back in try the id command again.
jesin@localhost:~$ id-Gn jesin
jesin adm dialout cdrom sudodip plugdev lpadmin
sambashare kvm
Now all your terminal emulator applications will work with the
serial port without any issues.
firewall
+-----{Configuracion}-----+
|Nombres de archivos y rutas
|Protocolos de transferencia de |archivos
|Configuracin de la puerta serial
|Modem y marcado de numero
|Pantalla y teclado
|Salvar configuracin como dfl
|Salvar configuracin como
|Salir
|Salir de minicom
A Dispositivo Serial :/dev/ttyS0
B Localizacin del Archivo de
Bloqueo:/var/lock
C . Programa de Acceso
D Programa de salida
E Bps/Paridad/bits:9600BN1
F Control de flujo por hardware si
G control de flujo por software no
Que configuracin alterar?
Dropbox
cd ~ && wget -O "https://www.dropbox.com/download?plat=lnx.x86"
| tar xzf ~/.dropbox-dist/dropboxd
Virtual box
uname -a
apt-get install linux-headers3.16.0-4-amd64
apt-get install dkms
libqt5core5a
You might want to run 'apt-get -f install' to correct
these:
eduardo@debian:/opt$ sudo apt-get -f
install
antivirus
Vpn client
Fuente:
http://micro.stanford.edu/wiki/How_to_install_and_configure_the_Cisco_VP
N_client_on_a_Linux_computer
http://www.infradead.org/openconnect/download.html
# sudo apt-get install wine
# wine program.exe
Gnome screenshot
1 sudo dd if=[path_to_iso]
of=[path_to_usb]
https://www.debian.org/releases/jessie/amd64/ch04s03.html.en
https://docs.fedoraproject.org/enUS/Fedora/20/html/Burning_ISO_images_to_disc/Making_USB_MediaUNIX_Linux.html
Configuring gdm
A display manager is a program that provides graphical login capabilities for the X windows
system.
only one display manager can manage a given x server but multiple display manager
packages are installed. please select ehich display manager should run by default
multiple display managers can run simultaneously if they are configured to manage
different servers; to achieve this configure the display manager accordingly, edit each
oftheir scripts in /etc/init.d and disable the check for a default display manager.
gdm3*
lightdm
https://wiki.debian.org/GDM
Download the architecture-appropriate file above, save it somewhere, then run one of the
following two commands to extract the package archive:
tar -xvJf tor-browser-linux32-6.0.4_LANG.tar.xz
or (for the 64-bit version):
tar -xvJf tor-browser-linux64-6.0.4_LANG.tar.xz
(where LANG is the language listed in the filename).
Once that's done, switch to the Tor browser directory by running:
cd tor-browser_LANG
(where LANG is the language listed in the filename).
To run Tor Browser, click either on the Tor Browser or the Tor Browser Setup icon or
execute the start-tor-browser.desktop file in a terminal:
./start-tor-browser.desktop
This will launch Tor Launcher and once that connects to Tor, it will launch Firefox. Do not
unpack or run TBB as root.
It is very easy to convert a VirtualBox .vdi disk images to KVM qcow2 file. You have to use
the RAW file format as an intermediate.
1 Make sure the VirtualBox machine is shutdown.
2 Convert the vdi to a raw disk images. Note: vdi are compressed and raw images are not
and so you will need to leave enough disk space for entire uncompressed disk.
VBoxManage clonehd --format RAW vm.vdi
vm.img
3 Then on your KVM host:
qemu-img convert -f raw vm.img -O qcow2
vm.qcow2
Hope this is helpful.
Net flow
382 cd ManageEngine/OpManager/
383 ls
384 cd bin/
385 ls
386 ./run.sh
387 ls
388 ./StartOpManagerServer.sh
389 sudo ./StartOpManagerServer.sh
390 history
BIND9
http://www.zytrax.com/books/dns/ch7/address_match_list.html
http://www.zytrax.com/books/dns/ch7/acl.html
http://www.cyberciti.biz/tips/howto-restrict-unauthorized-zone-transfers-dns-bind.html
http://man-es.debianchile.org/bind.html