Configuración ICINF

Ubuntu/Mint

sudo apt -y install gimp gimp-plugin-registry gimp-resynthesizer recordmydesktop shutter cheese ntfs-3g hfsplus hfsutils hfsprogs exfat-fuse p7zip-full p7zip-rar gparted planner ooo-thumbnailer imagemagick curl glabels meld aa3d libdvdcss2 ubuntu-restricted-extras openjdk-11-jre x264 faad mencoder ffmpeg cabextract cups-pdf brasero wine winetricks wine64 wine64-tools gramps geany libsdl1.2-dev default-jre default-jdk gprolog swi-prolog make dia umbrello postgresql libpq-dev postgresql-client postgresql-client-common php-pgsql sqlite3 libsqlite3-dev libgmp3-dev build-essential libssl-dev python3-virtualenv python3-dev libpq-dev gnupg samba smbclient proftpd-core filezilla kile gummi latexila preview-latex-style texlive-full gedit-latex-plugin texlive texlive-latex-extra texlive-pstricks texlive-science aspell aspell-es texstudio equalx snap snapd geary inkscape vlc terminator relational k3b rpi-imager bluefish xournal gscan2pdf icoutils solaar scilab gnuplot ssh proftpd odbc-postgresql postgis postgresql-*-pglogical libreoffice libreoffice-l10n-es  wget gpg arduino samba smbclient apache2 php libapache2-mod-php lsb-release sysstat iftop nethogs bmon iptraf monitorix cacti php-cgi php-cli php-common lighttpd libapache2-mod-perl2 php-curl php-dev php-gd php-imap php-ldap php-odbc php-sqlite3 libapache2-mod-python latexdraw gpg mariadb-server mariadb-client php-mysql phpmyadmin php-mysql gnupg libfuse2 software-properties-common dirmngr numpy* scilab octave flatpak r-base* git unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 lib32stdc++6 libstdc++6 libcurl4-openssl-dev apt-transport-https command-not-found python3-pip zlib1g-dev libxml2-dev libxmlsec1-dev g++

SNAP

sudo snap install vnstat

sudo snap install --classic netbeans android-studio code

sudo snap alias flutter.dart dart

flutter

Ejecutar Android Studio para terminar la instalación

Luego ir a Customize/all settings, en el buscador poner SDK y luego instalar los sistemas que soportaremos y las herramientas (SDK tools)

En pluggins buscar vs code, dart y flutter e instalar

Luego:

flutter config --android-studio-dir /home/icinf/Android/Sdk/

flutter doctor --android-licenses

Node JS

curl -sL https://deb.nodesource.com/setup_21.x | sudo -E bash

sudo apt -y install nodejs

Instalar Paquetes Deb

Zoom

Virtual Box

Beekeper

Instalar con:

sudo apt install *.deb

o

sudo dpkg -i *.deb

PSeint

Configuraciones posteriores

sudo apt --fix-broken install

sudo dpkg-reconfigure libdvd-pkg

sudo smbpasswd -a icinf

sudo a2enmod cgi cgid

sudo groupadd www-data

sudo usermod -a -G www-data www-data

sudo chmod 777 -R /var/www

ln -s /var/www/ WEB

echo '<?php phpinfo(); ?>' > WEB/html/compatible.php


Apache

sudo nano /etc/apache2/apache2.conf

Añadir:

<Directory /var/www/>

        Options Indexes FollowSymLinks

        AllowOverride None

        Require all granted

        DirectoryIndex index.html

        DirectoryIndex index.php

</Directory>

Guardar y salir con Ctrl + O y luego  Ctrl + X

Postgres

sudo su

su postgres

psql postgres

CREATE USER icinf PASSWORD 'icinf';

ALTER ROLE icinf WITH SUPERUSER;

\q

exit

exit

createdb icinf;

sudo nano /etc/postgresql/16/main/pg_hba.conf

añadir al inicio

local all icinf md5

añadir al final

host all all 0.0.0.0/0 md5

Guardar y salir con Ctrl + O y luego  Ctrl + X

sudo nano /etc/postgresql/16/main/postgresql.conf

Agregar

listen_addresses='*'

Guardar y salir con Ctrl + O y luego  Ctrl + X

MariaDB

sudo su

mysql

CREATE DATABASE icinf;

CREATE USER 'icinf'@'localhost' IDENTIFIED BY 'icinf';

GRANT ALL PRIVILEGES ON PruebaSQL.* TO 'icinf'@'localhost';

FLUSH PRIVILEGES;

\q

exit

MongoDB

Clave publica

curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor

Añadimos el repositorio

echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list

El proceso de instalación es muy sencillo.

sudo apt update

sudo apt-get install mongodb-org mongoose mongocli

PGadmin

curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o  /usr/share/keyrings/packages-pgadmin-org.gpg


sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'


sudo apt install pgadmin4


Acceso Documentos al escritorio

ln -s /home/icinf/Documentos/* /home/icinf/Desktop

VS Code Componentes

Instalación Automatica:

Descargar este archivo

en la terminal:

curl -fsSL https://raw.githubusercontent.com/rmmgc/vscode-extensions-bulk-install/main/bulk-install.sh | sh -s vscodeextension.txt

Recordar incluir la ruta al archivo

Instalación Manual

Abrir VS Code Quick Open (Ctrl+P)

ext install ms-python.python

ext install GitHub.copilot

ext install ms-python.vscode-pylance

ext install ms-python.debugpy

ext install ms-vscode.cpptools

ext install vscjava.vscode-java-pack

ext install ms-vscode.vscode-typescript-next

ext install ecmel.vscode-html-css

ext install rifi2k.format-html-in-php

ext install Dart-Code.flutter

ext install VisualStudioExptTeam.vscodeintellicode

ext install Dart-Code.dart-code

ext install Meezilla.json

ext install ZainChen.json

ext install ckolkman.vscode-postgres

ext install ms-ossdata.vscode-postgresql

ext install cweijan.vscode-ssh

ext install cweijan.vscode-mysql-client2

ext install Oracle.mysql-shell-for-vs-code

ext install nespinozacr.mysql-autocomplete

ext install mtxr.sqltools-driver-sqlite

ext install alexcvzz.vscode-sqlite

ext install qwtel.sqlite-viewer

ext install yy0931.vscode-sqlite3-editor

ext install mtxr.sqltools

ext install mongodb.mongodb-vscode

ext install ms-azuretools.vscode-cosmosdb

ext install ms-vscode.vscode-node-azure-pack

ext install roerohan.mongo-snippets-for-node-js

ext install abdoseadaa.node-js-snippet

ext install mathematic.vscode-latex

ext install James-Yu.latex-workshop

ext install torn4dom4n.latex-support

ext install tecosaur.latex-utilities

ext install nickfode.latex-formatter

ext install ms-azuretools.vscode-docker

ext install twxs.cmake

ext install ms-dotnettools.csharp

ext install formulahendry.code-runner

ext install redhat.vscode-yaml

ext install golang.Go

ext install bmewburn.vscode-intelephense-client

ext install ms-vscode.PowerShell

ext install batisteo.vscode-django

ext install Dart-Code.dart-code

ext install redhat.vscode-xml

ext install DotJoshJohnson.xml

ext install Angular.ng-template

ext install ms-mssql.mssql

ext install ms-vscode.makefile-tools

ext install mtxr.sqltools

ext install danielpinto8zz6.c-cpp-compile-run

ext install rebornix.Ruby

ext install REditorSupport.r

ext install jchannon.csharpextensions

ext install formulahendry.terminal

ext install Gimly81.matlab

ext install seanwu.vscode-qt-for-python

ext install gornivv.vscode-flutter-files

ext install jakethashi.vscode-angular2-emmet

ext install Shopify.ruby-extensions-pack

ext install sswg.swift-lang

ext install rebornix.prolog

ext install MathWorks.language-matlab

ext install amirmarmul.laravel-blade-vscode

ext install ms-vscode.cpptools-extension-pack

ext install ms-vscode.cpptools-themes

ext install franneck94.c-cpp-runner

ext install yy0931.vscode-sqlite3-editor

ext install Oracle.oracle-java

ext install mattn.Lisp

ext install moozzyk.Arduino

ext install apommel.matlab-interactive-terminal

ext install casian.plsql

ext install bradymholt.pgformatter

ext install AhadCove.js-quick-console

ext install george3447.docker-run

ext install svipas.code-autocomplete

ext install toasty-technologies.octave

ext install MelvinGuerrero.latino-vscode

ext install JoeyYiZhao.mongo-runner

ext install cfgweb.vscode-perl

ext install doublefint.pgsql

ext install junstyle.vscode-django-support

ext install dunstontc.vscode-docker-syntax

ext install Oracle.sql-developer

ext install AntonyDalmiere.android-support

ext install shigma.vscode-wl

ext install zhiyuan-lin.simple-perl

ext install bagonaut.mongogo

ext install efoerster.texlab

ext install AlanizPalomeraMiguelAngel.prolog

ext install ailisp.commonlisp-vscode

ext install MarioSchwalbe.gnuplot

ext install WolframResearch.wolfram

ext install fenkinet.swiftui

ext install dstang2000.py2flowchart

ext install yjt.maple

ext install aslamanver.node-js-dependency-manager

ext install esbenp.prettier-vscode

ext install MS-vsliveshare.vsliveshare

ext install aaron-bond.better-comments

ext install adpyke.codesnap

ext install formulahendry.code-runner

ext install christian-kohler.path-intellisense

ext install vscode-icons-team.vscode-icons

ext install sdras.night-owl

ext install formulahendry.auto-rename-tag

ext install SimonSiefke.svg-preview

ext install Zignd.html-css-class-completion

ext install pranaygp.vscode-css-peek

ext install eamodio.gitlens

ext install dbaeumer.vscode-eslint

ext install xabikos.JavaScriptSnippets

ext install WallabyJs.quokka-vscode

ext install christian-kohler.npm-intellisense

ext install wix.vscode-import-cost

ext install ms-toolsai.jupyter

ext install cstrap.flask-snippets

ext install GitHub.copilot

ext install TabNine.tabnine-vscode

ext install yzhang.markdown-all-in-one

ext install chrmarti.regex

ext install ckolkman.vscode-postgres

ext install ritwickdey.LiveServer

ext install pranaygp.vscode-css-peek

ext install Zignd.html-css-class-completion

ext install ohansemmanuel.css-grid-snippets

ext install dzhavat.css-flexbox-cheatsheet

ext install loiane.frontend-extension-pack

ext install hars.CppSnippets

ext install mitaki28.vscode-clang