Brew by default doesn't install unsupported software versions. Like at this time, php7.3 was no longer supported. Installing it disables it and install instead the latest version (8.1.3 at this time). 1~$ brew install php@7.3 2Running `brew update --preinstall`... 3==> Auto-updated Homebrew! 4Updated 2 taps …
Read MoreCheck list of known versions 1~$ rvm list known Install specific version 1~$ rvm install ruby-2.7.2 Check installed version 1~$ rvm list 2=* ruby-2.7.2 [ x86_64 ] 3ruby-3.0.0 [ x86_64 ] 45# => - current 6# =* - current && default 7# * - default Switch versions 1~$ rvm use ruby-3.0.0 2Using …
Read MoreInstall RVM + Rails Manage Ruby versions (production or not using RVM). Trust me, been there and installing it otherwise is not a walk in the park... 1~$ gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB 2~$ curl -sSL https://get.rvm.io | bash -s stable 3~$ curl -sSL …
Read MoreGems Ruby applications or libraries. In Rails, you install gems so you would write less code. Creating Gemset To make it easy to manage, create gemset. Think of it as a group of libraries that you can switch to depending on situation. 1~$ rvm gemset list 23gemsets for ruby-2.7.0 (found in …
Read MoreInstall 1brew cask install powershell Run 1pwsh To update/upgrade later on: 1brew update 2brew cask upgrade powershell See https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-7
Read More1sudo yum install epel-release 2sudo yum install nginx 3sudo systemctl start nginx 4... 5... 6edit /etc/nginx/nginx.conf 78... 9... 10#add this line in bottom of 'server' block: 11Redirect 301 https://your_domain_here/$request_uri; 1213sudo systemctl restart nginx 14sudo systemctl enable nginx
Read MorePersonally, I'd like to use other's work as much as possible in its original state. With ansible roles, authors usually name their repos as 'ansible-role-java' but internally, it's something like 'geerlingguy.java' which is what they put in dependencies. Now, if you simply clone as is, you will need to change the …
Read More1example@user:/opt/ansible-playbooks$ cat vars/jenkins.yml 2## Search names from https://plugins.jenkins.io/ 3jenkins_plugins: 4- git 5- hipchat 6- log-parser 7- mask-passwords 8- ssh-agent 9- ssh
Read More1curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar 2php wp-cli.phar --info ## check if it's working. 3chmod +x wp-cli.phar 4sudo mv wp-cli.phar /usr/local/bin/wp 5wp --info ## re-check if it's working as 'wp' Details in https://wp-cli.org/
Read More