(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
# | |
# Automate mysql secure installation for debian-baed systems | |
# | |
# - You can set a password for root accounts. | |
# - You can remove root accounts that are accessible from outside the local host. | |
# - You can remove anonymous-user accounts. | |
# - You can remove the test database (which by default can be accessed by all users, even anonymous users), | |
# and privileges that permit anyone to access databases with names that start with test_. |
# install ruby, rubygems and all requirements, then install FPM (effing package manager) | |
# fpm: https://github.com/jordansissel/fpm | |
# as root | |
# update system, install requirements | |
yum update -y | |
yum install ruby-devel gcc curl libyaml-devel | |
# get the ruby version manager and install | |
curl -L get.rvm.io | bash -s stable |
#Ultimate solution for this:
#http://askubuntu.com/questions/289858/disk-drive-for-dev-mapper-cryptswap-1-is-not-ready
Run the following command:
sudo gedit /etc/fstab
# Git Every Day - Individual Developer | |
------------------------------------------------------------------------ | |
A developer working as a participant in a group project needs to | |
learn how to communicate with others, and uses these commands in | |
addition to the ones needed by a standalone developer. | |
* linkgit:git-clone[1] from the upstream to prime your local | |
repository. |
SaltStack: Could be apache, apache2, httpd, etc... sort of misses the point of multi-platform configuration management, IMO:
http://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
Puppet: It's just "apache":
https://forge.puppetlabs.com/puppetlabs/apache
# values from https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Welcome%20to%20High%20Performance%20Computing%20%28HPC%29%20Central/page/Linux%20System%20Tuning%20Recommendations | |
# install (root): curl -s https://gist.githubusercontent.com/polonskiy/00a71bab32360ffcb79f/raw/10-custom.conf > /etc/sysctl.d/10-custom.conf | |
# apply (root): sysctl -p /etc/sysctl.d/10-custom.conf | |
net.ipv4.neigh.default.gc_thresh1 = 30000 | |
net.ipv4.neigh.default.gc_thresh2 = 32000 | |
net.ipv4.neigh.default.gc_thresh3 = 32768 | |
net.ipv6.neigh.default.gc_thresh1 = 30000 | |
net.ipv6.neigh.default.gc_thresh2 = 32000 |
#Ultimate solution for this:
#http://askubuntu.com/questions/289858/disk-drive-for-dev-mapper-cryptswap-1-is-not-ready
(1) Run the following command:
sudo gedit /etc/fstab
(2) #### Then, using gedit, or vim, replace the following line:
sudo apt-get update | |
sudo apt-get install build-essential -y | |
sudo apt-get install tcl8.5 -y | |
wget http://download.redis.io/releases/redis-3.0.5.tar.gz | |
tar xzf redis-3.0.5.tar.gz | |
cd redis-3.0.5 | |
make | |
make test | |
sudo make install | |
cd utils |