Quantcast
Image

Search Results for: df

How to create public S3 bucket in AWS

By  •  May 28, 2023

S3 buckets are by default private. You can configure your S3 buckets to be publicly accessible by applying appropriate bucket policy with the following steps. Be warned that his method will make the whole content of the bucket public.

  1. Create a private S3 bucket if you don’t already have one.

  2. In the AWS S3 console, select the bucket that you want to make public.
  3. Click on the Properties tab to the top right of the page and click on the Permissions card.
  4. Click on Add bucket policy link.
  5. Here you can use the AWS Policy Generator via the link at the bottom left, or just paste the following code at the editor.

    {
      "Version":"2012-10-17",
      "Statement":[
        {
          "Sid":"AddPerm",
          "Effect":"Allow",
          "Principal": "*",
          "Action":["s3:GetObject"],
          "Resource":["arn:aws:s3:::osdocs-testbucket/*"]
        }
      ]
    }

    Make sure you replace osdocs-testbucket with your own bucket name.


  6. Click on the Save button.
  7. And click on the Save button again here.
  8. Within your bucket, select any of your object and click on the Properties tab.
  9. Click on the link for your object.
  10. You should be able to view your content now.

How to speed up website load time

By  •  December 2, 2021

It is crucial to optimize page load time as it helps with user experience (UX) and conversion. It's also important for SEO with Google now officially using Core Web …
Read More

How to insert disk image to VM disc drive in VirtualBox

By  •  December 2, 2021

A virtual optical device is by default attached to the virtual machines in VirtualBox. You can insert a disk image into the optical drive to install an application or …
Read More

How to install Unity Desktop on Ubuntu

By  •  December 2, 2021

Canonical developed Unity as a graphical shell for GNOME and was first introduced in Ubuntu 10.10. Canonical has since stopped the development of Unity though UBports now maintains it. …
Read More

How to add SSH public key to server

By  •  December 2, 2021

The public-key authentication method requires you to copy your public SSH key to the server's authorized_keys file. Your public key could be copied manually or by using tools such …
Read More

How to block SSH login brute force

By  •  December 2, 2021

If your SSH server is internet-facing and you've been monitoring the logs, you could probably see constant login attempts to your SSH server from unknown IP addresses. These are …
Read More

How to mount remote filesystem using SSH

By  •  December 2, 2021

You can access remote filesystem as a local filesystem by mounting the remote filesystem using sshfs. This is similar to other remote filesystem implementations such as SAMBA/CIFS or NFS. …
Read More

How to create shared virtual IP using Pacemaker

By  •  December 2, 2021

Shared resources in a cluster need to be made accessible via an IP address. For this, we need to create a clustered IP address for our Pacemaker cluster, which …
Read More

How to install Node.js on Ubuntu or Debian

By  •  December 2, 2021

Node.js is very popular and is available in all popular platforms including Ubuntu. It is also very fast-moving, and some Linux distributions, including Ubuntu, do not provide the latest …
Read More

How to view and extract rar archive in Linux

By  •  December 2, 2021

rar is a popular file archiving format where WinRAR is typically used to create and extract rar files in Microsoft Windows environment.

Linux users can use unrar
Read More

Top