From: Chris Koeritz Given the configuration above, your host PC should now be able to access
- the new website.# sudo service apache2 restart
Test the new web site
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).
+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/
+Run this command: ifconfig
+In the results, look for "inet addr". There may be more than one, + if there are multiple network interfaces.
+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.
+
+
+
+
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.
The guest VM should already be set up appropriately. These steps are provided for reference and updates.
** 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.# sudo mount /dev/sr0 /media/cdrom+
# cd /media/cdrom+
# sudo sh VBoxLinuxAdditions.run
auto enp0s8
iface enp0s8 inet dhcp
-
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/
-
-
Run this command: ifconfig
-In the results, look for "inet addr". There may be more than one, - if there are multiple network interfaces.
-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.
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.