https://github.com/brian-emarquez/linux-course
Learn from the most basic, to become an Advanced Linux Administrator with Debian and Ubuntu
https://github.com/brian-emarquez/linux-course
linux nodejs ubuntu
Last synced: about 1 month ago
JSON representation
Learn from the most basic, to become an Advanced Linux Administrator with Debian and Ubuntu
- Host: GitHub
- URL: https://github.com/brian-emarquez/linux-course
- Owner: brian-emarquez
- Created: 2022-10-09T04:20:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T06:09:23.000Z (over 2 years ago)
- Last Synced: 2025-01-22T09:11:10.600Z (over 1 year ago)
- Topics: linux, nodejs, ubuntu
- Homepage: https://github.com/BrianMarquez3
- Size: 21.7 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Linux Operating System (Ubuntu)
Deliver, maintain,secure and sustain
open source from cloud to desktop and devices. - [Canonical](https://canonical.com/?_ga=2.48751398.1684371827.1666286236-2002334820.1666286236)
## Instalation
Fundamental Programs
* 📦 [Ubuntu downloads](https://ubuntu.com/download) ownload Ubuntu desktop and replace your current operating system whether it’s Windows or macOS or run Ubuntu alongside it. -
* 📦 [Ubuntu on WSL](https://ubuntu.com/wsl) Download, Install a complete Ubuntu terminal environment in minutes on Windows with Windows Subsystem for Linux (WSL).
* 📦 [How To Install Node.js on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04) Download, Install NodeJs Ubuntu
* 📦 [Download PostgreSQL](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-20-04-es) The world's most advanced open source database
* 📦 [Docker on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04) How To Install and Use Docker on Ubuntu
```bash
sudo service docker status
```
* 📦 [Redis on Ubuntu](https://redis.io/docs/getting-started/installation/install-redis-on-linux/) Install Redis on Linux
```bash
redis-server
redis-cli
redis-cli -v
```
## Commands
_Version de Linux_
```bash
lsb_release -a
```
*Linux - Update*
```bash
sudo apt-get update
sudo apt-get upgrade
```
```bash
apt-get update && apt-get upgrade
```
_Eliminar APT Ubuntu_
```bash
sudo apt remove nombre
sudo apt purge nombre
```
_History_
```bash
history | grep chwon
```
_Admin Linux(NoPermissions)_
```bash
sudo chown -R briandb api.9780p2p_back
sudo chmod -R 777 api.9780p2p_back
```
**UFW**
[Cómo configurar un firewall con UFW en Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04-es)
_Ver Puertos Libres_
```bash
sudo ufw status verbose
```
_Activar UFW_
```bash
sudo ufw status
sudo ufw enable
sudo ufw disable
```
_Abrir puertos_
```bash
sudo ufw allow 8000
```
_Cerrar puertos_
```bash
fuser -k 8080
```
_Cambiar una contraseña de usuario_
[Cómo cambiar una contraseña de usuario en Ubuntu](https://marquesfernandes.com/es/tecnologia-es/como-cambiar-una-contrasena-de-usuario-en-linux-ubuntu/)
```bash
sudo passwd brian
sudo passwd brian2
```
* Eliminart Usuario Ubuntu
[Eliminar Usuario](https://vivaubuntu.com/eliminar-usuarios-en-ubuntu/)
```bash
sudo userdel –remove-home nombredeusuario
```
_Memory usage on linux_
```bash
free -m
```
_Ver Procesos_
```bash
ps -aux
```
_Espacio en uso_
```bash
df -h
```
_Espacio en uso_
```bash
df -h
```
_Ingresar a Docker_
```bash
docker exec -it 02e3e2feabaa bash;
```
_Ver usuario en postgres_
```bash
cat /etc/group;
```
_Borrar Usuario Postgres_
```bash
sudo deluser username;
```
---
* Django with Postgres Nginx and Gunicorn Deploy - [Ngnix](https://github.com/BrianMarquez3/Django-with-Postgres-Nginx-and-Gunicorn)
## Paypal Donation
🍵 Hacer una donación [PAYPAL](https://www.paypal.com/donate?hosted_button_id=98U3T62494H9Y)
---
A
B
C
E
F
G