Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

EFS mounting on EC2 Instances

# INSTANCE A


df -k
sudo mkdir -p /efs/wp-content
sudo yum -y install amazon-efs-utils
cd /etc
sudo nano /etc/fstab

file-system-id:/ /efs/wp-content efs _netdev,tls,iam 0 0 

sudo mount /efs/wp-content
df -k
cd /efs/wp-content
sudo touch amazingtestfile.txt

# INSTANCE B

df -k
sudo yum -y install amazon-efs-utils
sudo mkdir -p /efs/wp-content
sudo nano /etc/fstab
file-system-id:/ /efs/wp-content efs _netdev,tls,iam 0 0
sudo mount /efs/wp-content
ls -la
Comment

PREVIOUS NEXT
Code Example
Shell :: how to create a file and multiple lines to it in unix 
Shell :: sed: 1: "package.json": extra characters at the end of p command 
Shell :: maven archetype magnilia 
Shell :: start adb exe manually if necessary 
Shell :: microk8s port forward 
Shell :: How to init redis in background 
Shell ::  
Shell :: how to get device name in lsusb 
Shell :: install Open broadcaster software. Free video recording software for linux 
Shell :: bash pause in file read line by line 
Shell :: instsall typo3 
Shell :: npm install hangs on lodash 
Shell :: grep end of line csh 
Shell ::  
Shell :: how to pass a variable to remote ssh command 
::  
Shell ::  
Shell :: github token windows 
:: Remove Lock with folder & sub directory 
Shell ::  
Shell :: bash read length of fasta file seqeunces 
::  
Shell ::  
Shell ::  
Shell ::  
Shell :: sh /usr/lib/systemd/scripts/vmware no such file or directory 
Shell :: uninstall libxcb 
Shell :: sbt debian 
Shell :: start cinnamon from command line redhat 7 
Shell :: return wm_class 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =