Use laravel-sheploy instead. It's more capabale and much eaiser to use.
ssh root@IP
adduser git
usermod -aG sudo git
(?i)((access_key|access_token|admin_pass|admin_user|algolia_admin_key|algolia_api_key|alias_pass|alicloud_access_key|amazon_secret_access_key|amazonaws|ansible_vault_password|aos_key|api_key|api_key_secret|api_key_sid|api_secret|api.googlemaps AIza|apidocs|apikey|apiSecret|app_debug|app_id|app_key|app_log_level|app_secret|appkey|appkeysecret|application_key|appsecret|appspot|auth_token|authorizationToken|authsecret|aws_access|aws_access_key_id|aws_bucket|aws_key|aws_secret|aws_secret_key|aws_token|AWSSecretKey|b2_app_key|bashrc password|bintray_apikey|bintray_gpg_password|bintray_key|bintraykey|bluemix_api_key|bluemix_pass|browserstack_access_key|bucket_password|bucketeer_aws_access_key_id|bucketeer_aws_secret_access_key|built_branch_deploy_key|bx_password|cache_driver|cache_s3_secret_key|cattle_access_key|cattle_secret_key|certificate_password|ci_deploy_password|client_secret|client_zpk_secret_key|clojars_password|cloud_api_key|cloud_watch_aws_access_key|cloudant_password|cloudflare_api_key|cloudflare_auth_k |
Use laravel-sheploy instead. It's more capabale and much eaiser to use.
ssh root@IP
adduser git
usermod -aG sudo git
#!/bin/bash | |
# Source: | |
# https://gist.github.com/ericharth/8334664 | |
# | |
# Thanks: | |
# https://github.com/anderssonjohan | |
# | |
# Usage: | |
# ./createcertfilesfrompfx.sh /path/to/domain.pfx | |
# |
server { | |
server_name DOMAIN_NAME; | |
access_log /var/log/nginx/DOMAIN_NAME_access.log; | |
error_log /var/log/nginx/DOMAIN_NAME_error.log; | |
rewrite_log on; | |
root /var/www/DOMAIN_NAME/public; | |
index index.php index.html; |
Two common options for getting FreeBSD software is to use pkg or ports. Whilst ports may take longer to install software and might also need to have dependancies sourced prior to compiling the port, ports can be configured and optimised for the current system through compiler configuration and version. Pkg on the other had is already compiled so is easier to install. Either can be used, but it is easier to maintain one rather than both, so it might be wise to choose a pattern and stick to it.
First show the list of users currently setup on the system to see where your at by entering:
awk -F":" '{print $1}' /etc/passwd