Tuesday, September 21, 2021

Using Alpine Linux

 Using Alpine Linux

adduser -h /home/buster -s /bin/ash buster
passwd username
deluser username

# as root
apk update
apk upgrade
apk add pkgname
#
apk info nano
apk add nano
 
# show version
cat /etc/os-release
 
 
 
 
 
# doas = sudo
apk add doas
adduser <YourUsername> wheel
 
nano /etc/doas.d/doas.conf
# add this line:
permit persist :wheel
 
 
 
# apk add sed attr dialog bash bash-completion grep util-linux pciutils usbutils binutils findutils readline lsof less nano curl
 

 

# for Mac keyboard
https://superuser.com/questions/918823/how-to-copy-and-paste-selected-text-in-nano-on-a-mac
 
https://itsfoss.com/nano-editor-guide/
https://linuxhandbook.com/cut-copy-paste-nano/

 
https://www.cyberciti.biz/faq/how-to-add-and-delete-users-on-alpine-linux/


docker commit [ContainerID]

No comments:

Post a Comment