It is likely JRE is only installed. Install JDK:
yum install java-1.8.0-openjdk-devel -y
It is likely JRE is only installed. Install JDK:
yum install java-1.8.0-openjdk-devel -y
Simple instructions to install an SFTP server on Amazon Linux backed with S3 Storage.
1. Launch Amazon Linux 2 instance (micro is sufficient)
2. Install and configure s3fs:
2.1 Install dependencies
sudo yum install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel
2.2 Compile and install s3fs:
git clone https://github.com/s3fs-fuse/s3fs-fuse.git cd s3fs-fuse ./autogen.sh ./configure make sudo make install
3. Create and Mount S3 Bucket:
3.1 Create S3 Bucket:
Through AWS GUI
To fix:
sudo rm -rf /opt/eff.org/
Then run e.g. renew:
sudo /opt/letsencrypt/certbot-auto renew --debug
1. Download latest version:
curl -O https://dl.eff.org/certbot-auto
2. Mod script:
chmod +x certbot-auto
3. Move location:
mv certbot-auto /usr/local/bin/certbot-auto
4. Generate SSL
/usr/local/bin/certbot-auto certonly --standalone -d example.com
5. New certificates will be generated and saved here:
/etc/letsencrypt/live/
1. Power off Virtual Machine to be cloned
2. Create a new directory within the datastore:
mkdir /vmfs/volumes/datastore/clone_name
3. Clone a vmdk to the new directory using vmkfstools:
vmkfstools -i /vmfs/volumes/datastore/sourcevm/name.vmdk /vmfs/volumes/datastore/clone_name/clone.vmdk
4. Create New Virtual Machine:
5. Power on Virtual Machine
6. Update hostname and IP address
Recent Comments