From: Chris Koeritz Date: Fri, 17 Nov 2017 02:55:13 +0000 (-0500) Subject: funkytown engaged; one page of edits left X-Git-Tag: 2.140.101^2~1^2~12 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=7593522610ff868d3abea2e30858dfc4fd814cb8 funkytown engaged; one page of edits left --- diff --git a/production/sites/cakelampvm.com/docs/manual/cakelampvm_guide_v002.html b/production/sites/cakelampvm.com/docs/manual/cakelampvm_guide_v002.html index f23c2c06..1b2f9b54 100644 --- a/production/sites/cakelampvm.com/docs/manual/cakelampvm_guide_v002.html +++ b/production/sites/cakelampvm.com/docs/manual/cakelampvm_guide_v002.html @@ -410,28 +410,57 @@ meow
# sudo service apache2 restart

Test the new web site

Given the configuration above, your host PC should now be able to access - the new website.

+ the new website on the domain "excalibur.tv".

To test this, first try pinging the new DNS name:

# ping excalibur.tv
-

If there are responses to the ping, it means the DNS is working.  If - there are no responses, check the instructions in the above DNS option - section.

-

Once the DNS is working, one can try browsing to the site at: - http://greatsite.cakelampvm.com or http://greatsite.tv (depending on the - DNS option chosen).

-

If the site is not showing up properly, try examining the apache logs for - error messages that can be corrected.  The log files are stored in - /var/log/apache2 and are generally named after the website.

+

If there are responses to the ping *and* the answer is 10.28.42.20, then + it means the DNS is working.  If there are no responses or it's some + other IP address talking back, check the instructions in the above DNS + sections.

+

Once the DNS is working, try browsing to the site at "http://excalibur.tv".  + That should at least bring up the configured site storage path, even if + nothing is being served from that folder yet.

+

If the new site is not showing up properly, try examining the apache logs + for error messages that can be corrected.  The log files are stored + in "/var/log/apache2" and are named after the website (if configured as + shown above).

+

Handy Techniques

+

Assorted Guides and Cheat-Sheets

+

Cheat sheet for Vim: https://vim.rtorr.com/

+

Git branching model that seems to work well: http://nvie.com/posts/a-successful-git-branching-model/

+

Get the network address on the guest vm

+

Run this command: ifconfig

+

In the results, look for "inet addr".  There may be more than one, + if there are multiple network interfaces.

+

How to cleanly reboot or shut down the guest VM

+

When you've got the DNS and everything integrated, these commands will + manage the vm's state:

+

First, log into the guest VM: ssh developer@cakelampvm.com

+

Then, reboot the guest VM: sudo reboot

+

Or, halt the guest VM: sudo shutdown -h now

+

Using these commands is better than just cycling the power from the + virtualbox control panel.

+


+

+


+

+


+

+

Gritty Details

+

This is the lowest level of plumbing for your VM.  Hopefully you + will not need to engage with this section.  The most useful area here + is the one below about the "virtualbox guest additions", which you will + probably need at some future point.  Oracle releases updates to the + guest additions fairly regularly.

Configuring the guest VM

The guest VM should already be set up appropriately.  These steps are provided for reference and updates.

Set up virtualbox guest additions for the VM

-

** note for v001 of cakelampvm: the below steps are still needed on the - shipped image.

-

This procedure is needed if the guest provides an older or incompatible - version of the guest additions (which have already been installed on the - guest vm).  It may also be necessary when a new version of the guest - additions becomes available.

+ This procedure is needed if the guest provides an older or incompatible + version of the guest additions (which have already been installed on the + guest vm).  It may also be necessary when a new version of the guest + additions becomes available.
  1. To install the guest additions, open the guest VM and have its window in focus.
  2. @@ -439,11 +468,12 @@ meow Image".  This will mount the CD's ISO image on the VM.
  3. On the guest VM, it may be necessary to mount the CD image that's now available:
    - sudo mount /dev/sr0 /media/cdrom
  4. +
    # sudo mount /dev/sr0 /media/cdrom
    +
  5. Since the VM currently has no windowing system installed, one must start the Guest Additions install manually:
    - cd /media/cdrom
    - sudo sh VBoxLinuxAdditions.run
  6. +
    # cd /media/cdrom
    # sudo sh VBoxLinuxAdditions.run
    +
  7. This should install the guest additions.

Set up network adapters on guest VM

@@ -464,25 +494,6 @@ meow
auto enp0s8
iface enp0s8 inet dhcp

-

Handy Techniques

-

Assorted Guides and Cheat-Sheets

-

Cheat sheet for Vim: https://vim.rtorr.com/

-

Git branching model that seems to work well: http://nvie.com/posts/a-successful-git-branching-model/

-


-

-

Get the network address on the guest vm

-

Run this command: ifconfig

-

In the results, look for "inet addr".  There may be more than one, - if there are multiple network interfaces.

-

How to cleanly reboot or shut down the guest VM

-

When you've got the DNS and everything integrated, these commands will - manage the vm's state:

-

First, log into the guest VM: ssh developer@cakelampvm.com

-

Then, reboot the guest VM: sudo reboot

-

Or, halt the guest VM: sudo shutdown -h now

-

Using these commands is better than just cycling the power from the - virtualbox control panel.

Notes on building the Cake Lamp VM

This is all work that should already have been done.  It is mentioned here just as breadcrumbs for a future vm builder.

@@ -507,20 +518,11 @@ https://askubuntu.com/questions/293816/in-virtualbox-how-do-i-set-up-host-only-v here: https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated%2C%20Simple%20and%20Brief%20Way%21 -


-

-


-

-


-

-

remaining work:

-

todo: arrange gritty details to back.

-

todo: toc goes after intro paragraph.


+
-


-