Skip to main content

Posts

Showing posts from October, 2019

Reformat Bootable Flashdrive in Ubuntu

The commands and procedure described in this article have been executed on an Ubuntu 18.04 LTS system. Format USB Drive Through the Command Line Formatting a USB drive is very simple through the command line. Even a beginner can format a USB drive through the simple process and commands we are describing here. 1. The first step is to identify the USB drive correctly in order to avoid formatting any other drive by accident. Open the Terminal application through the Dash or through the  Ctrl+Alt+T  shortcut and enter the following command: $ df -h The last line in the output lists /dev/sdb1 as our USB drive. 2. Use the following command in order to format the USB as per the VFAT file system: $ sudo mkfs.vfat /dev/sdb1 You will be using the location as per the output you got from the df -h command. 3. You can only format an unmounted USB drive, otherwise, you will get the following message: Therefore, please unmount the drive through the following command:

GitLab Repository Command Line Instructions

Start project repository Command line instructions You can also upload existing files from your computer using the instructions below. Git global setup git config --global user.name "Jaime Moncada" git config --global user.email "jaimemoncadajr@gmail.com" Create a new repository git clone https://gitlab.com/jaimemoncadajr/library-system.git cd library-system touch README.md git add README.md git commit -m "add README" git push -u origin master Push an existing folder cd existing_folder git init git remote add origin https://gitlab.com/jaimemoncadajr/library-system.git git add . git commit -m "Initial commit" git push -u origin master Push an existing Git repository cd existing_repo git remote rename origin old-origin git remote add origin https://gitlab.com/jaimemoncadajr/library-system.git git push -u origin --all git push -u origin --tags Credit :  https://gitlab.com OR Simple Way to Push an existing

How To Install Docker Compose on Ubuntu 18.04

Not using  Ubuntu 18.04 ? Choose a different version: CentOS 7 Ubuntu 16.04 Ubuntu 14.04 Automated: Docker request Automated: Bash request Automated: Ansible request Debian 9 request Debian 8 request Debian 10 request View All Introduction Docker  is a great tool for automating the deployment of Linux applications inside software containers, but to take full advantage of its potential each component of an application should run in its own individual container. For complex applications with a lot of components, orchestrating all the containers to start up, communicate, and shut down together can quickly become unwieldy. The Docker community came up with a popular solution called  Fig , which allowed you to use a single YAML file to orchestrate all your Docker containers and configurations. This became so popular that the Docker team decided to make  Docker Compose  based on the Fig source, which is now deprecated. Docker Compose makes it easier for user

Install Docker on Ubuntu Using Default Repositories

Docker  is an increasingly popular software package that  creates a container  for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two versions of Docker – Docker CE (Community Edition) and Docker EE (Enterprise Edition). If you have a small-scale project, or you’re just learning, you’ll want to use Docker CE. In this tutorial, we will cover  how to install Docker on Ubuntu 18.04 . Docker  is an increasingly popular software package that  creates a container  for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two versions of Docker – Docker CE (Community Edition) and Docker EE (Enterprise Edition). If you have a small-scale project, or you’re just learning, you’ll want to use Docker CE. In this tutorial, we will cover  h

How to install Laradock on your machine?

1. Introduction Laradock is a full PHP development environment based on Docker. Supporting a variety of common services, all pre-configured to provide a full PHP development environment. Features Easy switch between PHP versions: 7.3, 7.2, 7.1, 5.6… Choose your favorite database engine: MySQL, Postgres, MariaDB… Run your own stack: Memcached, HHVM, RabbitMQ… Each software runs on its own container: PHP-FPM, NGINX, PHP-CLI… Easy to customize any container, with simple edit to the  Dockerfile . All Images extends from an official base Image. (Trusted base Images). Pre-configured NGINX to host any code at your root directory. Can use Laradock per project, or single Laradock for all projects. Easy to install/remove software’s in Containers using environment variables. Clean and well structured Dockerfiles ( Dockerfile ). Latest version of the Docker Compose file ( docker-compose ). Everything is visible and editable. Fast Images Builds. Use Docker First -