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 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 install mysql-workbench-community

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 icinf.* TO 'icinf'@'localhost';

FLUSH PRIVILEGES;

\q

exit

 snap connect mysql-workbench-community:password-manager-service

 snap connect mysql-workbench-community:ssh-keys

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

Multimedia

echo "deb https://www.deb-multimedia.org bookworm main non-free" | sudo tee /etc/apt/sources.list.d/multimedia.list


sudo apt-get update -oAcquire::AllowInsecureRepositories=true


wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb


sudo dpkg -i deb-multimedia-keyring_2016.8.1_all.deb


sudo apt-get install libfaac0 alsamixergui lame libmp3lame0 libdvdnav4 libdvdcss2  ffmpeg

Acceso Documentos al escritorio

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

VS Code Componentes

Instalación Automática:

Ambos deben estar en la misma carpeta.

Abrir la terminal y dirigirnos al directorio.

Cambiamos los permisos (esto es opcional):

chmod 754 code_extensiones.sh

Ejecutar el script desde terminal y esperar.

./code_extensiones.sh

Comenzara a salir algo como lo siguiente hasta finalizar:

Installing extension 'zainchen.json'...

Extension 'zainchen.json' v2.0.2 was successfully installed.

Installing extensions...

Installing extension 'zhiyuan-lin.simple-perl'...

Extension 'zhiyuan-lin.simple-perl' v0.0.4 was successfully installed.

Installing extensions...

Extension 'zignd.html-css-class-completion' is already installed.

Instalación Manual

Abrir VS Code Quick Open (Ctrl+P)

ext install aaron-bond.better-comments

ext install abdoseadaa.node-js-snippet

ext install adpyke.codesnap

ext install AhadCove.js-quick-console

ext install ailisp.commonlisp-vscode

ext install AlanizPalomeraMiguelAngel.prolog

ext install alexcvzz.vscode-sqlite

ext install amirmarmul.laravel-blade-vscode

ext install Angular.ng-template

ext install AntonyDalmiere.android-support

ext install apommel.matlab-interactive-terminal

ext install aslamanver.node-js-dependency-manager

ext install bagonaut.mongogo

ext install batisteo.vscode-django

ext install bmewburn.vscode-intelephense-client

ext install bradymholt.pgformatter

ext install casian.plsql

ext install cfgweb.vscode-perl

ext install christian-kohler.npm-intellisense

ext install chrmarti.regex

ext install ckolkman.vscode-postgres

ext install cstrap.flask-snippets

ext install cweijan.vscode-mysql-client2

ext install cweijan.vscode-ssh

ext install danielpinto8zz6.c-cpp-compile-run

ext install Dart-Code.dart-code

ext install Dart-Code.flutter

ext install dbaeumer.vscode-eslint

ext install DotJoshJohnson.xml

ext install doublefint.pgsql

ext install dstang2000.py2flowchart

ext install dunstontc.vscode-docker-syntax

ext install dzhavat.css-flexbox-cheatsheet

ext install eamodio.gitlens

ext install ecmel.vscode-html-css

ext install efoerster.texlab

ext install esbenp.prettier-vscode

ext install fenkinet.swiftui

ext install formulahendry.auto-rename-tag

ext install formulahendry.code-runner

ext install formulahendry.code-runner

ext install formulahendry.terminal

ext install franneck94.c-cpp-runner

ext install george3447.docker-run

ext install Gimly81.matlab

ext install GitHub.copilot

ext install golang.Go

ext install gornivv.vscode-flutter-files

ext install hars.CppSnippets

ext install jakethashi.vscode-angular2-emmet

ext install James-Yu.latex-workshop

ext install jchannon.csharpextensions

ext install JoeyYiZhao.mongo-runner

ext install junstyle.vscode-django-support

ext install loiane.frontend-extension-pack

ext install MarioSchwalbe.gnuplot

ext install mathematic.vscode-latex

ext install MathWorks.language-matlab

ext install mattn.Lisp

ext install Meezilla.json

ext install MelvinGuerrero.latino-vscode

ext install mitaki28.vscode-clang

ext install mongodb.mongodb-vscode

ext install moozzyk.Arduino

ext install ms-azuretools.vscode-cosmosdb

ext install ms-azuretools.vscode-docker

ext install ms-dotnettools.csharp

ext install ms-mssql.mssql

ext install ms-ossdata.vscode-postgresql

ext install ms-python.debugpy

ext install ms-python.python

ext install ms-python.vscode-pylance

ext install ms-toolsai.jupyter

ext install ms-vscode.cpptools

ext install ms-vscode.cpptools-extension-pack

ext install ms-vscode.cpptools-themes

ext install ms-vscode.makefile-tools

ext install ms-vscode.PowerShell

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

ext install ms-vscode.vscode-typescript-next

ext install MS-vsliveshare.vsliveshare

ext install mtxr.sqltools

ext install mtxr.sqltools-driver-sqlite

ext install nespinozacr.mysql-autocomplete

ext install nickfode.latex-formatter

ext install ohansemmanuel.css-grid-snippets

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

ext install Oracle.oracle-java

ext install Oracle.sql-developer

ext install pranaygp.vscode-css-peek

ext install qwtel.sqlite-viewer

ext install rebornix.prolog

ext install rebornix.Ruby

ext install redhat.vscode-xml

ext install redhat.vscode-yaml

ext install REditorSupport.r

ext install rifi2k.format-html-in-php

ext install ritwickdey.LiveServer

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

ext install sdras.night-owl

ext install seanwu.vscode-qt-for-python

ext install shigma.vscode-wl

ext install Shopify.ruby-extensions-pack

ext install SimonSiefke.svg-preview

ext install sswg.swift-lang

ext install svipas.code-autocomplete

ext install TabNine.tabnine-vscode

ext install tecosaur.latex-utilities

ext install toasty-technologies.octave

ext install torn4dom4n.latex-support

ext install twxs.cmake

ext install VisualStudioExptTeam.vscodeintellicode

ext install vscjava.vscode-java-pack

ext install vscode-icons-team.vscode-icons

ext install WallabyJs.quokka-vscode

ext install wix.vscode-import-cost

ext install WolframResearch.wolfram

ext install xabikos.JavaScriptSnippets

ext install yjt.maple

ext install yy0931.vscode-sqlite3-editor

ext install yzhang.markdown-all-in-one

ext install ZainChen.json

ext install zhiyuan-lin.simple-perl

ext install Zignd.html-css-class-completion