-
Notifications
You must be signed in to change notification settings - Fork 0
/
005.pmd
97 lines (73 loc) · 2.67 KB
/
005.pmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
title: "Installing Jekyll On a VirtualBox"
description:
This page is about how to install Jekyll with Rbenv on a VirtualBox Debian Guest.
Why Rbenv? Because This Is How Me Do It!
If it works today, there is no warranty if it will still work the day after.
tagline:
Jekyll, VirtualBox
---
[ℼ](#idx001)<br id="idx000">
Did you ever hear how "great" Ruby is?
If that is true, how come not many are (still) using it? Ruby is free software, i.e.,
it is free if you have free time!
IMHO, Ruby’s most significant <b>f*ing problem</b> is
"Just because version X works fine; version X+1 should work fine too!"
Therefore, stick with version X until it is obsolete or vulnerable.
Why use Ruby anyway?
Because GitHub and GitHub Page were developed with it, so was Jekyll!
This page is about how to install Jekyll with Rbenv on a VirtualBox Debian Guest.
Why Rbenv?
Because This Is How Me Do It!
If it works today, there is no warranty if it will still work the day after.
Take it or leave it.
PS: For setting a VirtualBox Guest, visit <https://osp4diss.vlsm.org/>.
I have spoken!
[ℼ](#)<br id="idx001">
<hr>
{% include inc005.html %}
<hr>
[ℼ](#idx001)<br id="idx002">
# PART 1: SuperUser (root) Mode
## VirtualBox Debian Guest Setting
Check how the NAT (Network Address Translation) redirects ports:
* **Rule 2**:<br>
JEKYLL: 127.0.0.1:5000 (host) to 10.0.2.15:4000 (guest)
* See also [Network: Adapter 1](013.md#idx033)
* <span style="color:red; font-weight:bold; font-size:larger;">
TAKE NOTE: Your NAT might be using other settings!
</span>
<img src="{{ site.baseurl }}/assets/images/doit-008.jpg" style="width:960px;">
<br>
[ℼ](#idx001)<br id="idx003">
## Settings in SuperUser (root) Mode
You need to have SuperUser (root) access for the first part of the installation.
For the next part, just user privilege is needed.
<br>
### /etc/apt/sources.list
* You need to have SuperUser (root) privilege ("su -" or "sudo su -") to replace the "sources.list" file.
* See [sources.list](021.md)
[ℼ](#idx001)<br id="idx004">
### assets/scripts/clean-system.sh
* This script (clean-system.sh) purges whatever was installed previously.
```
(> assets/scripts/clean-system.sh <)
```
* You might "copy and paste" that file or fetch it with:
```
wget https://doit.vlsm.org/assets/scripts/clean-system.sh
```
* You need to have SuperUser (root) privilege ("su -" or "sudo su -") to run the script:
```
bash clean-system.sh
```
[ℼ](#idx001)<br id="idx005">
## Installing Debian Packages
The package list are:
```
{% raw %}
(> assets/scripts/026-debJEKYLL <)
{% endraw %}
```
[ℼ](#idx001)<br id="idxXXX"><br>
[NEXT: PART2: User Mode](006.md)