chirale

IT and beyond

  • Coding
  • SysAdmin
  • whoami
  • Autorestart nodejs app with supervisor on error and changes

    This howto will show how to restart automatically a nodejs app on crash or on file changes using supervisor and nodemon. Autorestart on changes To install nodemon to autorestart app when you change app files: To test it’s working, use nodemon like node, passing all parameters you would pass to node: Autorestart on errors To […]

    chirale

    May 2, 2019
    Howtos, NodeJS
    autorestart, changes, on errors, supervisor
  • Using multiple deploy keys on github using .ssh/config

    You can use multiple deploy keys for Github created with ssh-keygen following with these steps. You have to add to your ~/.ssh/config If you haven’t added your github name on git: Then clone your repository specifying your custom host, adapting what github suggest to you on repo page: If you have enabled push permissions you […]

    chirale

    April 20, 2019
    Howtos
    deploy keys, github, ssh
  • Create a Windows 10 recovery disk on Linux

    In this howto there are the steps to follow when a Windows 10 OS is not bootable anymore and you haven’t a recovery disk. This is a typical case after a new OS will be installed on Dual boot or boot partition was altered. Download Windows 10 iso: Download the official Windows 10 image Prepare […]

    chirale

    March 26, 2019
    Howtos, System Administration
    mbr, recovery, windows, windows 10
  • Disable password authentication on sshd

    To disallow password authentication on ssh, adduser –disabled-password will not disable openSSH password. To disable the password authentication, you have to put these values on /etc/ssh/sshd_config to: PasswordAuthentication no UsePAM no PermitRootLogin no Then you’ve to: to apply changes. Connection will not be reset so before logout try to login on a different terminal to […]

    chirale

    March 10, 2019
    Howtos, System Administration
    linux, password, pubkey, ssh
  • Partition a new disk on linux using fdisk, lsblk and mkfs

    First, you’ve to create a new partition. You can list all available storage device with: lsblk If your disk is new, the new device will appear empty (without children on the tree). Then: fdisk /dev/sdc Press m to show the manual. To create a partition larger than 2TB, you’ve to use a GPT partition (g) […]

    chirale

    February 2, 2019
    Howtos, System Administration
    fdisk, lsblk, mkfs
←Previous Page
1 2 3 4 5 … 30
Next Page→

Blog at WordPress.com.

  • Follow Following
    • chirale
    • Join 28 other followers
    • Already have a WordPress.com account? Log in now.
    • chirale
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar