##Shared Filesystem Resources (VirtualBox CentOS7) ####This Gist provides resources to help people trying to create shared folders between a linux host machine and a VirtualBox Virtual Machine.
#####Requires VirtualBox on a Host Machine
##httpd possible errors (VirtualBox CentOS7) ####While trying to figure out why my CentOS virtual machine wasn't working, I started to become frustrated with why my HTTP server (httpd service). Obviously my fault and not the computers (firewall was blocking an incoming connection on the Virtual Machine). Things to look out for when trying to connect to Virtual Machine Server:
Terminology Acronyms: Virtual Machine - VM
###Things to check:
####Is there a outward connection avaliable on the Virtual Machine to the outside world?
For now I am using an Ubuntu Virtual Machine General Setup Guide
On local machine run ssh-keygen
, if the file already exists, do not over write it.
If you need to copy an ssh key to an existing server, use ssh-copy-id username@remote_host
/etc/wpa_supplicant/wpa_suppolicant.conf
is used to set the network settings. Example File
/etc/rc.local
file for all startup scripts
Normally in a 3-tier architecture the application layer is exposed to external threats and exposed to the entire world. Using an auto-update server deploy and the tools currently available, it is possible to auto patch secure servers with 0 downtime.
Write a script to check Amazon Linux security page for critical patches. When the script encounters a Critical CVE, take the most recent image with the patch already included and deploy this base image.
class Parent extends Component { | |
constructor(props){ | |
super(props); | |
this.state = {passedValue: this.props.passedFromStaticView}; | |
this.handleParentStateUpdate = this.handleParentStateUpdate.bind(this); | |
} | |
// This method is passed as a prop to the child component | |
handleParentStateUpdate(e){ | |
console.log("handle state update for the parent!") | |
// Sets the state of this class's passedValue variable |
React based application and the error was related to the loader and the ability to compile code...
After some digging I used the mocha-webpack flag --webpack-config
and pointed it to my webpack config file and got everything working.
"scripts": {
"test": "./node_modules/mocha-webpack/bin/mocha-webpack --webpack-config ./config/webpack/test.js ./app/javascript/packs/setupTests.js ./app/javascript/packs/test"
}