User Tools

Site Tools


user:nbrimme1:portfolio:alpine

Other Project:

A project for COURSENAME by YOUR NAME OR GROUPMEMBER NAMES during the SEMESTER YEAR.

This project was begun on DATE and is anticipated to take X AMOUNT OF TIME. (Upon completion you can correct this with the actual length).

Objectives

State the purpose of this project. What is the point of this project? What do we hope to accomplish by undertaking it?

Prerequisites

In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:

  • resource1
  • resource2
  • resource3
  • experience1
  • experience2
  • etc.

Background

State the idea or purpose of the project. What are you attempting to pursue?

Upon approval, you'll want to fill this section out with more detailed background information. DO NOT JUST PROVIDE A LINK.

Providing any links to original source material, such as from a project page, is a good idea.

You'll want to give a general overview of what is going to be accomplished (for example, if your project is about installing a web server, do a little write-up on web servers. What is it, why do we need one, how does it work, etc.)

Scope

Give a general overview of your anticipated implementation of the project. Address any areas where you are making upfront assumptions or curtailing potential detail. State the focus you will be taking in implementation.

Attributes

State and justify the attributes you'd like to receive upon successful approval and completion of this project.

  • attribute1: why you feel your pursuit of this project will gain you this attribute
  • attribute2: why you feel your pursuit of this project will gain you this attribute
  • etc…

Procedure

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: Alpine Wiki: Custom Kernel

Networking:

Packages/Ports/Source:

Alpine Linux Packages

# list installed packages:
apk info -vv | sort | tee packages.txt
 
# setup package repositories:
setup-apkrepos
 
# update the package list:
apk --progress 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 --progress add <package-name>
 
# remove a package:
apk --progress del <package-name>

Upgrading/Updating:

Upgrading to a new release:

Update all packages on a running system:

apk --progress upgrade -U --available && sync
# or #
apk update
apk upgrade --progress --available
sync
reboot

Update only select packages on a running system:

apk --progress upgrade -U <package-name> && sync
# or #
apk update
apk add --progress --upgrade <package-name>
sync
reboot

Administration:

Services:

Users:
Adding a new user:

adduser -D -u 1000 test-user
passwd test-user

Setting up sudo:

sudo apk --progress add sudo
visudo
test-user ALL=(ALL) ALL

Security:

PGP/GPG:

SSH:

SSL:

Miscellaneous:

Mounting disks:

## create a mount point
sudo mkdir /mnt/mount_point
 
## mount disk image
sudo mount -omount /mnt/mount_point
## remount disk image as readable/writeable
sudo mount -oremount,rw /mnt/mount_point
## unmount disk image
sudo umount /mnt/mount_point
 
## mount iso image
sudo mount -oloop /path/to/image.iso /mnt/mount_point
## unmount iso image
sudo umount /mnt/mount_point

Code

Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within <code> </code> blocks here.

/*
 * hello.c - A sample "Hello, World!" program
 * 
 * written by NAME for COURSE on DATE
 *
 * compile with:
 *   gcc -o hello hello.c
 *
 * execute with:
 *   ./hello
 */
 
#include <stdio.h>
 
int main()
{
    printf("Hello, World!\n");    // Output message to STDOUT
    return(0);
}

Execution

Again, if there is associated code with the project, and you haven't already indicated how to run it, provide a sample run of your code:

lab46:~/src/cprog$ ./hello
Hello, World!
lab46:~/src/cprog$ 

Reflection

Comments/thoughts generated through performing the project, observations made, analysis rendered, conclusions wrought. What did you learn from doing this project?

References

In performing this project, the following resources were referenced:

  • Google: Of course Google was used, it knows everything. No particular page from Google was used, It was mainly used for information about the project (Linked Lists in general): http://www.google.com/; If ya don't know, now ya know, and knowing is half the battle.

Back to my Portfolio
Back to my Opus

user/nbrimme1/portfolio/alpine.txt · Last modified: 2018/07/24 23:09 by nbrimme1