User Tools

Site Tools


user:nbrimme1:portfolio:alpine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
user:nbrimme1:portfolio:alpine [2018/06/09 17:56]
nbrimme1 created
user:nbrimme1:portfolio:alpine [2018/06/19 18:57] (current)
nbrimme1 [Configuration:]
Line 39: Line 39:
 The actual steps taken to accomplish the project. Include images, code snippets, command-line excerpts; whatever is useful for intuitively communicating important information for accomplishing the project. The actual steps taken to accomplish the project. Include images, code snippets, command-line excerpts; whatever is useful for intuitively communicating important information for accomplishing the project.
  
 +=====Installation:​=====
 +
 +=====Configuration:​=====
 +
 +**Base System:**
 +
 +**Kernel:**
 +[[https://​wiki.alpinelinux.org/​wiki/​Custom_Kernel|Alpine Wiki: Custom Kernel]]
 +
 +
 +=====Networking:​=====
 +
 +=====Packages/​Ports/​Source:​=====
 +[[https://​pkgs.alpinelinux.org/​packages|Alpine Linux Packages]]
 +<​code:​cli>​
 +## List installed packages:
 +apk info -vv | sort | tee packages.txt
 +
 +## Setup package repositories:​
 +$> setup-apkrepos
 +
 +## Update the package list:
 +$> apk update
 +
 +## List all available packages with descriptions:​
 +$> apk search -v
 +
 +## List all packages that are part of the ACF system:
 +$> apk search -v '​acf*'​
 +
 +## List all packages that have NTP in their description:​
 +$> apk search -v --description '​NTP'​
 +
 +## Package information:​
 +$> apk info -a <​package-name>​
 +
 +## Determine which package a file belongs to:
 +$> apk info --who-owns </​path/​to/​file>​
 +
 +## List installed packages:
 +$> apk info
 +
 +## List installed packages in alphabetical order:
 +$> apk info -vv | sort
 +
 +## Install a package:
 +$> apk add <​package-name>​
 +
 +## Remove a package:
 +$> apk del <​package-name>​
 +</​code>​
 +=====Upgrading/​Updating:​=====
 +**Upgrading to a new release:**
 +
 +**Update all packages on a running system:**
 +<​code:​bash>​apk update
 +apk upgrade --available
 +sync
 +reboot</​code>​
 +
 +**Update only select packages on a running system:**
 +<​code:​bash>​apk upgrade
 +apk add --upgrade <​package-name>​
 +sync
 +reboot</​code>​
 +=====Administration:​=====
 +
 +**Services:​**
 +
 +**Users:​** ​ \\
 +**Adding a new user:​**<​code:​bash>​$>​ adduser -D -u 1000 test-user
 +$> passwd test-user</​code>​
 +**Setting up sudo:​**<​code:​bash>​$>​ sudo apk install sudo
 +$> visudo</​code>​
 +=====Security:​=====
 +
 +**PGP/​GPG:​**
 +
 +**SSH:**
 +
 +**SSL:**
 +
 +=====Miscellaneous:​=====
 +
 +**Working with ISO images:**
 +<​code:​bash>##​ Create a mount point
 +$ sudo mkdir /​mnt/​mount_point
 +
 +## Mount iso image
 +$ sudo mount -o loop /​path/​to/​image.iso /​mnt/​mount_point
 +
 +## Unmount iso image
 +$ sudo umount /​mnt/​mount_point</​code>​
 =====Code===== =====Code=====
 Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within <​nowiki><​code>​ </​code></​nowiki>​ blocks here. Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within <​nowiki><​code>​ </​code></​nowiki>​ blocks here.
user/nbrimme1/portfolio/alpine.1528581417.txt.gz · Last modified: 2018/06/09 17:56 by nbrimme1