From project root directory:
$ express --hbs --git
$ npm install
- Installs boilerplate dependencies
$ npm install --save pg knex method-override
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" > | |
<plist version='1.0'> | |
<dict> | |
<key>Label</key><string>org.macports.mongodb</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/bin/daemondo</string> | |
<string>--label=mongodb</string> |
#!/bin/bash | |
#################################### | |
# Exit if program echo does not exist (this allows us to do one line if statements) | |
[ ! -x "$(which echo)" ] && exit 1 | |
######################################## | |
# pretty printing functions | |
function print_status { echo -e "\x1B[01;34m[*]\x1B[0m $1"; } | |
function print_good { echo -e "\x1B[01;32m[*]\x1B[0m $1"; } |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>IncompatiblePaths</key> | |
<array> | |
<dict> | |
<key>Application Name</key> | |
<string>Sxs Memory Card Driver</string> | |
<key>Blurb</key> |
We download the latest release of pfSense as a gzipped ISO, then extract it and pass it to virt-install
to get the VM up and running. Interactive portions of setup are handled with a VNC viewer because the pfSense installer doesn't seem to be able to work with virt-install
's native console redirection, at least not out of the box. I'd love a tip from anyone if it's possible to fix that somehow.
CentOS 8 instructions are this way.
Find the latest release here.
There is so much documentation online from RedHat and CentOS about this topic - it's sad that I am writing this. But the real state of documentation on this topic (CentOS 7 + KS + ISO = Bootable DVD) is almost non-existent.
I found this: http://smorgasbork.com/component/content/article/35-linux/151-building-a-custom-centos-7-kickstart-disc-part-1
Which I greatly appreciate and +1, but the documentation is half-baked and there are numerous errors.
Finally... FINALLY! After four days of banging my head, I got this to work. Hopefully someone else will be able to do this in a few hours, instead of blowing their weekend like me. :(
knexjs ( http://knexjs.org/ ) is SQL query builder.
This gist is a simple knexjs sample.
npm run build
in the local foldernode index.js --createSchema
: Create the database schema. (The default SQL client is sqlite3. The schema is created by db_schema.js )#!/bin/bash | |
# | |
# SSH Exit Codes | |
# | |
# Using SSH in scripting is pretty standard, but sometimes you want to stop execution of a script | |
# if a command inside an SSH session fails to exit cleanly (return 0). The key to remember is that | |
# the ssh command's exit code will be that of the *last executed* command inside the ssh session, just | |
# like a bash script ends with the exit code of the last command executed unless you specifically | |
# call exit. | |
# |
Tmux is a "terminal multiplexer", it enables a number of terminals to be accessed and controlled from a single terminal. | |
If you use Debian/Ubuntu, you can just run apt-get install tmux, and voila. | |
Since the title was about centos 7, then do the following step to install tmux. | |
(1). tmux has a library dependency on libevent which, of course, isn’t installed by default. | |
$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
$ tar xzvf libevent-2.0.21-stable.tar.gz | |
$ cd libevent-2.0.21-stable | |
$ ./configure && make |