Giter Club home page Giter Club logo

add-fonts-to-ec2's Introduction

Add Custom Fonts to your AWS EC2 Instance

This is a tutorial on how you can add custom fonts to you AWS EC2 instance.

Why:

EC2 instance does not include custom fonts like sans-serif, Poppins on its own therefore we need to add them seperately

Steps:

Here are the steps for adding Poppins font to you EC2. Change the Link and folder names according to your desired font:

  • Connect to you EC2 instance via SSH
  • Copy the download link of the zip archive of the font of your choice
  • Run wget https://fonts.google.com/download?family=Poppins to download the zip compressed font files.
  • Run unzip download?family=Poppins where download?family=Poppins is the file name of the zip file downloaded.
  • Run sudo mkdir -p /usr/share/fonts/poppins to make a folder for the font of your choice.
  • Run sudo mv *.ttf /usr/share/fonts/poppins to move the extracted .ttf files to the folder you made earlier.
  • Run fc-cache -r to add the newly added font to cache.

You are all set. Now you can use these fonts in your nodeJS, python or any server that is running on you EC2 instance.

Tip:

You can use ls command to check the contents of the extracted folder or the file name of the downloaded file

add-fonts-to-ec2's People

Contributors

talha-irshad-kodexo avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.