Alright, here you go ...
#check if network is connected
ip link
ping google.com
#sync time
timedatectl set-ntp true
#check partition info
fdisk -l
Alright, here you go ...
#check if network is connected
ip link
ping google.com
#sync time
timedatectl set-ntp true
#check partition info
fdisk -l
name: kafka_cluster | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:7.5.3 | |
container_name: zookeeper | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
ports: |
name: rabbitmq | |
services: | |
rabbitmq: | |
image: rabbitmq:3-management | |
container_name: rabbitondocker | |
ports: | |
- 5672:5672 | |
- 15672:15672 | |
environment: |
name: redis | |
services: | |
redis: | |
image: redis:6 | |
container_name: redis | |
command: "redis-server --loglevel warning" | |
volumes: | |
- redis_data:/data/ | |
ports: |
name: mysql | |
services: | |
mysql: | |
image: mysql:8 | |
container_name: mysql | |
ports: | |
- "3306:3306" | |
command: | |
[ |
name: mongodb | |
services: | |
mongodb: | |
container_name: mongo | |
image: mongo:7 | |
volumes: | |
- mongodb_data:/data/db/ | |
ports: | |
- 27017:27017 |
name: postgres | |
services: | |
postgresql: | |
image: postgres:16 | |
container_name: postgresql | |
environment: | |
- POSTGRES_USER=superuser | |
- POSTGRES_PASSWORD=youmayneverguess |
#!/bin/bash | |
# Install dependencies for pyenv(because pyenv compiles python from the source) | |
## Debian / Ubuntu | |
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl | |
## Fedora | |
# sudo yum install gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel xz xz-devel libffi-devel |
#!/bin/bash | |
# Check the latest version of NVM | |
curl https://github.com/nvm-sh/nvm/releases/latest | cut -d \/ -f 8 | cut -d \" -f 1 | |
# Run the install script | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash | |
# Paste in this scripts into your .bashrc or .bash_profile | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
# Install node and npm |