Difference between revisions of "User:Paul/sandbox/OpenBSD Basic Server"

From UNPM.org Wiki
Jump to navigation Jump to search
Line 10: Line 10:
  
 
Ubuntu default shell uses [//en.wikipedia.org/wiki/Bash_(Unix_shell)GNU Bash] (BASH) while OpenBSD uses [//en.wikipedia.org/wiki/KornShell KornShell] (ksh).
 
Ubuntu default shell uses [//en.wikipedia.org/wiki/Bash_(Unix_shell)GNU Bash] (BASH) while OpenBSD uses [//en.wikipedia.org/wiki/KornShell KornShell] (ksh).
 +
 +
=== <code>ll</code> (<code>ls -alF</code>) ===
 +
 +
Ubuntu has a convenient command, <code>ll</code>, for viewing directory contents that is a shortcut for <code>ls -alF</code>.
 +
 +
To add <code>ll</code> to the OpenBSD command line:
 +
 +
$ nano .profile
 +
 +
Add the following line:
 +
 +
alias ll="ls -alF"

Revision as of 15:27, 19 February 2020

OpenBSD has earned its reputation as a BSD descendant focused on security. With the increased development of OpenBSD's httpd and OpenSMTPD, plus most of the components commonly used in a basic web server, OpenBSD provides a highly secure and efficient choice for building simple mail servers.

Finding online support for OpenBSD can be much more difficult when compared to Linux. While the OpenBSD project requires its man pages to be very complete, support beyond man pages such as tutorials or sample configurations can be much harder to find. This has largely been due to the project being targeted at use primarily by professional systems administrators.

This tutorial will establish a basic web server that includes a functioning transactional mail server with local maildir.

Notable differences from Ubuntu Linux

Shell

Ubuntu default shell uses Bash (BASH) while OpenBSD uses KornShell (ksh).

ll (ls -alF)

Ubuntu has a convenient command, ll, for viewing directory contents that is a shortcut for ls -alF.

To add ll to the OpenBSD command line:

$ nano .profile

Add the following line:

alias ll="ls -alF"