Prerequisitos
- Cuenta de Google con two-factor authentication
- Internet
Documentos y manuales de UDP
Para entrar a otro servidor SSH sin que este nos este pidiendo clave en cada acceso podemos crear un ssh key pair, el proceso en muy sencillo, ejecutamos:
1 2 3 4 5 6 7 8 9 10 |
ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): DEJAMOS EN BLANCO Enter passphrase (empty for no passphrase): DEJAMOS EN BLANCO Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: SHA256:jUxrQRObADE8ardXMT9UaoAcOcQPBEKG4622646P8ho |
Después de completado el paso anterior, copiamos la llave en el servidor que queremos entrar
Continuar leyendo «Entrar a un servidor SSH sin que pida clave»
Para instalar el servidor debemos seguir los siguientes pasos:
El siguiente tutorial es para instalar el software para hacer inventario de las maquinas que tenemos en nuestra red, para esto vamos a utilizar centos 7.
Continuar leyendo «Instalar Software para inventario de Hardware – OCS Inventory»
Grabar videos de la pantalla con Simple Screen Recorder es muy facil, pero muy poderoso
How to record programs and games using Simple Screen Recorder.
Website: http://www.maartenbaert.be/simplescreenrecorder/
Jaspersoft Studio es un diseñador de reportes que se pueden exportar en varios formatos, como por ejemplo PDF.
Website: http://community.jaspersoft.com/
Visual Studio Code es un editor de software que tiene varios plugins muy utiles
Website: https://code.visualstudio.com/
Website: http://sourceforge.net/projects/tuxguitar/
Softphone para Linux y tambien para Windows.
Website: http://www.ekiga.org/
Juegos y actividades para niños
Website: http://childsplay.sourceforge.net/
As you will probably guess from its name and based on the image above, Dia is a versatile diagram editor comparable to Microsoft Visio. Besides the native shapes, others can be added very easily by editing a XML file. Diagrams can be exported to several known formats (EPS, SVG, XFIG, WMF and PNG, to name a few) for sharing and easier visualization.
Website: http://live.gnome.org/Dia
FreeCAD is a general purpose 3D Computer-Aided Design program fit for use in engineering and architecture. Given the fact that FreeCAD is FOSS, it is easily customizable and extensible through the use of Python scripts.
Website: http://www.freecadweb.org/
Es una alternativa a Dropbox, sirve para crear una nube de archivos propia
Create Personal/Private Cloud Storage Solution in Linux
Website: http://www.owncloud.com
MediaWiki is a program for creating and managing a Wikipedia-like website (in fact, Wikipedia itself is based on MediaWiki) where a community can add, remove, update and revert entries, and authors are notified upon such changes.
Website: http://www.mediawiki.org
You can think of Bleachbit as the CCleaner for Linux – but more powerful. It will not only recover disk space by deleting temporary or otherwise unnecessary files, but will also improve Firefox performance and securely destroy unnecessary files to prevent recovery.
We already covered installation about Bleachbit in depth here: Disk Space Cleaner and Privacy Guard for Linux
Website: http://bleachbit.sourceforge.net/
CodeMirror is a very powerful Javascript-based text editor for the web browser. CodeMirror includes syntax highlighting for over 100 languages and a robust API. If you own a website or blog that provides programming tutorials, you will find CodeMirror to be a very useful tool.
Website: http://codemirror.net
Having been extensively tested by real doctors in their practice, GNUMed enable health professionals to keep a medical record of their patients history. To use GNUMed, you will need to install both the client and the server, and take necessary precautions to protect and back up data as you would do in any other case where information is highly valuable.
Website: http://wiki.gnumed.de
Open Computer and Software Inventory Next Generation, or OCS Inventory NG for short, is a lightweight web application that can help network and system administrators to keep track of 1) all the devices connected to the network, and 2) machine configuration and software installed in them.
The project’s website (listed below) has a fully functional demo in case you want to check it out before attempting to actually install the program. In addition, OCS Inventory NG relies on well-known technologies as Apache and MySQL / MariaDB, making it a robust program.
Website: http://www.ocsinventory-ng.org/en/
Often used in conjunction with OCS Inventory NG, GLPI is a multilingual, free IT asset management software that not only provides the tools to build up a database with an inventory of your network devices, but also includes a job-tracking-system with mail notifications.
Other distinguishing features include, but are not limited to:
We already covered installation about GLPI IT Asset Management tool in depth here: Install GLPI IT and Asset Management Tool in Linux
Website: http://glpi-project.org/spip.php?lang=en
With Ampache, you can set up your own home media center or online audio and video streaming application and access it from anywhere with an Internet connection.
Although it is designed as a personal application, Ampache allows for public registration if an administrator chooses to enable that feature.
Website: http://ampache.org/
As a complete pdf document editing solution, PDFEdit lets you edit and manipulate PDF documents very easily. PDFEditor includes a rich API that allows you to extend its native functionality through the use of scripts.
The website and the wiki provide detailed documentation on how to use and tweak PDFEdit.
Website: http://pdfedit.cz/
If you own a small or medium business you will undoubtedly need a Point Of Sale program. As such, Lemon POSmay be a lifesaver for you. It uses a MySQL / MariaDB database for data storage, and thus a single database can be used with multiple active terminals at the same time. On top of all that, Lemon POS also includes a search panel, a price-checker utility, and a tool to create printed reports.
Website: http://sourceforge.net/projects/lemonpos/
OpenShot is a FOSS video editor for Linux that can help you create “the film you have always dreamed of” (in the words of its developers) with your home videos, pictures, and music files. It also allows you to add subtitles, transition effects, and export the resulting video file to DVD and many other common formats.
Website: http://www.openshot.org
LAN Messenger is a multilingual (a language pack is needed) and cross-platform (works in Linux, Windows, and Mac) IM program for communication over a LAN. It provides file transfers, message logging, and event notifications – all without the need to set up a server!
Website: http://lanmsngr.sourceforge.net/
Fuente:
https://www.tecmint.com/best-free-open-source-softwares-of-2017/
En esta pagina hay varios ejemplos de uso de este comando de Linux que es muy util.
Si en la consola nos sale estos errores:
1 2 3 4 5 |
showmount -e mynfsserver clnt_create: RPC: Port mapper failure - Timed out rpcinfo -p mynfsserver mynfsserver: RPC: Port mapper failure - Timed out |
Normalmente al ver este error y tratar de montar el recurso nos saldra mount.nfs: Connection timed out
con nuestra NFS share.
1 2 |
mount mynfsserver:/data /nfs_data mount.nfs: Connection timed out |
Check NFS services on NFS server
Lo primero es probar si el servicio esta activo
1 2 3 4 5 6 7 8 9 10 |
service nfs-server status nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled) Drop-In: /usr/lib/systemd/system/nfs-server.service.d └─nfsserver.conf /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: active (exited) since Tue 2017-11-07 15:58:08 BRST; 6 days ago Main PID: 1586 (code=exited, status=0/SUCCESS) CGroup: /system.slice/nfs-server.service |
Si no esta corriendo o esta bloqueado debe reiniciar el servicio NSF.
Check connectivity between NFS server and client
Estar seguro que se puede llegar al servidor NFS desde el cliente usando ping y telnet a puertos como 111 y 2049
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
ping mynfsserver PING lasnfsp01v.la.holcim.net (10.186.1.22) 56(84) bytes of data. 64 bytes from 10.186.1.22: icmp_seq=1 ttl=56 time=3.92 ms 64 bytes from 10.186.1.22: icmp_seq=2 ttl=56 time=3.74 ms 64 bytes from 10.186.1.22: icmp_seq=3 ttl=56 time=3.82 ms ^C --- mynfsserver ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 3.748/3.830/3.920/0.086 ms telnet 10.186.1.22 2049 Trying 10.186.1.22... Connected to 10.186.1.22. Escape character is '^]'. |
Check if RPC info is reachable from client
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
rpcinfo -p 10.186.1.22 program vers proto port service 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100005 1 udp 20048 mountd 100005 1 tcp 20048 mountd 100005 2 udp 20048 mountd 100005 2 tcp 20048 mountd 100005 3 udp 20048 mountd 100005 3 tcp 20048 mountd 100024 1 udp 4000 status 100024 1 tcp 4000 status 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 3 tcp 2049 nfs_acl 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100227 3 udp 2049 nfs_acl 100021 1 udp 4001 nlockmgr 100021 3 udp 4001 nlockmgr 100021 4 udp 4001 nlockmgr 100021 1 tcp 4001 nlockmgr 100021 3 tcp 4001 nlockmgr 100021 4 tcp 4001 nlockmgr |
Si el problema es de conectividad tendremos el siguiente error mynfsserver: RPC: Port mapper failure - Timed out
Check if you can read exported share info from client
Usar el siguiente comando para saber si el recurso esta compartido.
1 2 3 |
showmount -e 10.186.1.22 Export list for 10.186.1.22: /data *(rw,sync,no_root_squash) |
Si todos los comando dan las respuestas esperadas, estamos listo para montar el recurso compartido.
Teleconsole es un servicio gratuito para compartir su sesión de terminal con personas de su confianza o con cualquier persona en cuestión de segundos. Los usuarios de destino pueden unirse a través de una línea de comando usando SSH o usando su navegador a través de HTTPS.
También puede reenviar puertos TCP locales a sus amigos. Utilice esta característica para permitirles acceder a las aplicaciones web que se ejecutan en su servidor local cuando está detrás de NAT.
Ejecutar
1 |
curl https://www.teleconsole.com/get.sh | sh |
1 |
teleconsole |
Se puede dar clic en el vinculo web o digitando
1 |
teleconsole join as8bd1465ca92149d21fe4885f834fb8499e7b1696 |
1 |
exit |
Por defecto el centos tiene la instalacion de PHP 5.4 pero en las nuevas versiones de FREEPBX necesitamos instalar la version 5.6 es por eso que vamos a hacer lo siguiente:
1 2 |
yum install centos-release-scl yum install rh-php56 rh-php56-php rh-php56-php-pdo rh-php56-php-devel rh-php56-php-mysql |
Despues instalar
1 |
yum install rh-php56-php-fpm rh-php56-php-gd rh-php56-mbstring |
Desactivar el PHP 5.3 viejo del modulo Apache:
1 2 |
mv /etc/httpd/conf.d/php.conf /root/php53.off mv /etc/httpd/conf.modules.d/10-php.conf /root/ |
1 2 3 |
cp /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php56-php.conf /etc/httpd/conf.d/ cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-php56-php.conf /etc/httpd/conf.modules.d/ cp /opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so /etc/httpd/modules/ |
1 |
systemctl restart httpd |
Crear el vinculo al php
1 2 |
mv /usr/bin/php /usr/bin/phpOLD ln -s /opt/rh/rh-php56/root/bin/php /usr/bin/php |
Despues de instalar nuestro servidor, para poder acceder a el debemos instalar el servidor SSH.
Para esto seguimos los siguientes pasos:
1 2 3 |
yum install openssh-server chkconfig sshd on service sshd start |
Con esto el servidor queda activo.