Software | Installation Steps |
---|
sudo dnf install nginx -y
sudo systemctl start nginx
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
** NOTE **
When adding NGINX entries within RHEL, apparently you MUST checkout your code into the /var/www/
directory.
I will update this once I learn why NINX entries can't point outside of of this directory.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":1,"resource":"file:///Users/cesarperez/web-projects/aba-applied-api/.gitignore","entries":[{"id":"TMvt","source":"Workspace Edit","timestamp":1670693277072}]} |
The purpose of this this is to document every day commands we use in the terminal on linux based systems.
(we'll use ZSH as our shell)
The directory on the left is where you're coping FROM
scp -r /YOUR_LOCAL_DIRECTORY YOUR_USER_NAME@REMOTE_SERVER_IP:REMOTE_SERVER_DIRECTORY
sudo apt install gdebi-core
- Install the taskel and samba server packages
sudo tasksel install samba-server
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo bash -c 'grep -v -E "^#|^;" /etc/samba/smb.conf_backup | grep . > /etc/samba/smb.conf'
sudo nano /etc/samba/smb.conf
- Install via chocolately
choco install conemu -y
- Install via chocolately
choco install nginx -y
** The-y
argument is to skip any confirmation messages...just install it. It's fine ;)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function palindrome(string) { | |
let reverseString = string.split('').reverse().join('') | |
return reverseString === string | |
} | |
document.querySelector('#test').innerHTML = palindrome('level') |
NewerOlder