Open TawfikDaim opened 3 months ago
#Samba share
sudo apt update sudo apt upgrade sudo apt install samba sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup sudo nano /etc/samba/smb.conf
Add a new share definition at the end of the file:
[automation] path = "/home/tawfik/Docker" # SHARE is case sensitive browseable = no writable = yes guest ok = no valid users = @sambashare
sudo adduser username sudo smbpasswd -a username
To apply changes, restart the Samba services: sudo systemctl restart smbd sudo systemctl restart nmbd
Enable the Samba services to start on boot: sudo systemctl enable smbd sudo systemctl enable nmbd
sudo apt install net-tools ifconfig # to get the IP
sudo apt update sudo apt install openssh-server sudo systemctl status ssh
First, confirm the latest version available in their releases page. At the time of this writing, the most current stable version is v2.26.1
sudo apt install curl sudo curl -L "https://github.com/docker/compose/releases/download/2.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
or those of you actually trying to do what the feature says, e.g. Disable Power-save for Wi-Fi, you have to... use a text editor.
Edit your /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and change wifi.powersave = 3 to wifi.powersave = 2
How to install docker copmpose @https://www.cherryservers.com/blog/how-to-install-and-use-docker-compose-on-ubuntu-20-04
sudo apt update -y
sudo apt install ca-certificates curl gnupg lsb-release
sudo mkdir /etc/apt/demokeyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/demokeyrings/demodocker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/demokeyrings/demodocker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
apt update -y
apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
docker --version; docker compose version
install below software