Skip to content

purcaro/linux-mint-ubuntu-nodejs-hacker-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Linux Mint (Ubuntu) Node.js Hacker Setup

This guide is for a Node.js focused development environment for developers.

Advice, suggestions, pull requests, and comments can be filed on Github as issues.

Hardware

If you are on a budget (e.g. $400-500), then use the following setup for a fast environment:

Software

The instructions below install a complete tech stack including, but not limited to:

Get Started

You could also run these instructions inside a VirtualBox instance for evaluation.

  1. Download and install Linux Mint 15 Cinnamon 64-bit (use the torrent and remove from seeding once finished downloading).

  2. Log in, load a new terminal process (CTRL+SHIFT+T), and install the environment's setup:

    wget https://raw.github.com/niftylettuce/linux-mint-ubuntu-nodejs-hacker-setup/master/install.sh -O - | sh
  3. Hit ENTER on prompts when needed (unfortunately add-apt-repository does not support -y flag and environment variable FORCE_ADD_APT_REPOSITORY=force doesn't work; you have to hit ENTER a few times).

  4. Set up Git and Github configurations.

  5. Change default shell to ZSH:

    chsh -s `which zsh`
  6. Reboot.

Notes

  • Generate passwords easily with DuckDuckGo's random password plugin

  • Optimize your Solid State Drive for running Linux.

  • Change the latitude/longitude for gtk-redshift in Startup Applications to match yours.

  • If running a laptop with Intel HD Graphics (e.g. Lenovo B570), then consider adding the following kernel modules to your Grub config:

    sudo apt-get install grub-efi-amd64
    sudo vim /etc/default/grub
    -GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    +# Use semaphores for inter-ring sync: `i915.semaphores=1`
    +# Activate RC6 mode of Intel GPU: `i915.i915_enable=rc6=1`
    +# Activate PCIe Active State Power Management: `pcie_aspm=force`
    +# Use panel (LVDS/eDP) downclocking for power savings: `i915.lvds_downclock=1`
    +# Enable frame buffer compression for power savings `i915.i915_enable_fbc=1`
    +GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.semaphores=1 i915.i915_enable_rc6=1 pcie_aspm=force i915.lvds_downclock=1 i915.i915_enable_fbc=1"
    sudo update-grub

    More info on i915 kernel module is available by using:

    modinfo i915

    For example, if you have a Haswell processor, you might want to try adding i915.preliminary_hw_support=1.

    If you mod everything correctly, you can get 4-5+ hours of battery life (lowering your screen brightness helps as well).

License

MIT License

About

Development environment setup and how-to Linux developers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published