How to set up a minimal Debian 40r4a server
This assumes you have a dedicated intel machine with a network connection, and you do not need to keep any data existing on the hard drive. Before you begin, you should know what your system's host name will be (e.g. Koha), what your domain will be (e.g. AllStateAuditions.com), and already have the FQDN (Koha.AllStateAuditions.com) registered to an IP address (172.17.17.17) before you begin. Setup should be done live on the host network.
Some steps are purposely vague, like the first one - "Download and burn the Debian NetInstall ISO to CD" - because there are so many ways of doing this and most people already have a preferred method. If you need more info on how to accomplish a specific task, please ask.
There are a lot of values that is specific to our site, as in fourth one - Select language [English] - just insert the appropriate local values.
Some steps are preceeded with a "#" - depending on your situation you may or may not see this step.
---------------
INSTALL BASE DEBIAN SYSTEM
---------------
1) Download and burn the Debian NetInstall ISO to CD
2) Insert the CD and start the machine from the CD (may have to adjust the BIOS)
3) Press <enter> to boot from the CD
... wait for system to boot ...
4) Select language [English]
5) Select country [United States]
6) Select keymap [American English]
... wait for hardware detection ...
# 7) Select active network interface
8) Enter a hostname [koha]
9) Enter a domain name [rsu1.org]
10) Select a partitioning method [Guided - use entire disk]
11) Select the disk [IDE1 master (hda)]
12) Select partitioning scheme [All files in one partition]
13) Select "Finish partitioning and write changes to disk"
... if you do the next step, you will be irretrievably wiping out all existing data on the hard drive ...
14) Select "Yes"
... wait for partitioning and formatting to finish ...
15) Select Time Zone [Eastern]
16) Set a root password [password]
17) Re-enter the root password [password]
18) Enter a non-root user name [Koha Administrator]
19) Enter a short-name for the non-root user [kohaadmin]
20) Enter a password for the non-root user [password]
21) Re-enter the non-root user password [password]
... wait for installation of base system ...
22) Select "Yes" to use a network mirror
23) Select a country [United States]
24) Select a mirror [debian.lcs.mit.edu]
# 25) Select a protocol [http]
26) Enter a http proxy [blank]
... wait for mirror to be scanned ...
27) Select package usage survey [Yes]
28) De-select all additional packages and continue
29) Select "Yes" to install GRUB
30) Select "Continue" to reboot
---------------
INSTALL SSH FOR REMOTE ACCESS
1) After restart, re-insert the CD-ROM (or disable in #3)
2) login: [root], password: [password]
# 3) Edit /etc/apt/sources.list to comment out the line which calls for the CD-ROM as a source if you do not want to be prompted for the CD-ROM during apt installs.
4) type the following line and confirm "Y" to continue when prompted
apt-get install ssh
5) type the following line to find your IP address
ifconfig -a
6) to test, from a remote terminal type
ssh root@[ipaddress]
and enter the password [password] to create a remote connection
This assumes you have a dedicated intel machine with a network connection, and you do not need to keep any data existing on the hard drive. Before you begin, you should know what your system's host name will be (e.g. Koha), what your domain will be (e.g. AllStateAuditions.com), and already have the FQDN (Koha.AllStateAuditions.com) registered to an IP address (172.17.17.17) before you begin. Setup should be done live on the host network.
Some steps are purposely vague, like the first one - "Download and burn the Debian NetInstall ISO to CD" - because there are so many ways of doing this and most people already have a preferred method. If you need more info on how to accomplish a specific task, please ask.
There are a lot of values that is specific to our site, as in fourth one - Select language [English] - just insert the appropriate local values.
Some steps are preceeded with a "#" - depending on your situation you may or may not see this step.
---------------
INSTALL BASE DEBIAN SYSTEM
---------------
1) Download and burn the Debian NetInstall ISO to CD
2) Insert the CD and start the machine from the CD (may have to adjust the BIOS)
3) Press <enter> to boot from the CD
... wait for system to boot ...
4) Select language [English]
5) Select country [United States]
6) Select keymap [American English]
... wait for hardware detection ...
# 7) Select active network interface
8) Enter a hostname [koha]
9) Enter a domain name [rsu1.org]
10) Select a partitioning method [Guided - use entire disk]
11) Select the disk [IDE1 master (hda)]
12) Select partitioning scheme [All files in one partition]
13) Select "Finish partitioning and write changes to disk"
... if you do the next step, you will be irretrievably wiping out all existing data on the hard drive ...
14) Select "Yes"
... wait for partitioning and formatting to finish ...
15) Select Time Zone [Eastern]
16) Set a root password [password]
17) Re-enter the root password [password]
18) Enter a non-root user name [Koha Administrator]
19) Enter a short-name for the non-root user [kohaadmin]
20) Enter a password for the non-root user [password]
21) Re-enter the non-root user password [password]
... wait for installation of base system ...
22) Select "Yes" to use a network mirror
23) Select a country [United States]
24) Select a mirror [debian.lcs.mit.edu]
# 25) Select a protocol [http]
26) Enter a http proxy [blank]
... wait for mirror to be scanned ...
27) Select package usage survey [Yes]
28) De-select all additional packages and continue
29) Select "Yes" to install GRUB
30) Select "Continue" to reboot
---------------
INSTALL SSH FOR REMOTE ACCESS
1) After restart, re-insert the CD-ROM (or disable in #3)
2) login: [root], password: [password]
# 3) Edit /etc/apt/sources.list to comment out the line which calls for the CD-ROM as a source if you do not want to be prompted for the CD-ROM during apt installs.
4) type the following line and confirm "Y" to continue when prompted
apt-get install ssh
5) type the following line to find your IP address
ifconfig -a
6) to test, from a remote terminal type
ssh root@[ipaddress]
and enter the password [password] to create a remote connection