Giter VIP home page Giter VIP logo

pcsetup's Introduction

PCSETUP

Usage

Pre-requisites

  • An Arch Linux installation with internet access
  • Have sudo installed
  • Create an user with the name you desires using useradd <NAME> -m
  • Add this user to the sudoers list
    • You might want to install vim to make this task easier

First time only

  • Install the make package
  • At the root dir run make preconfig
    • Creates sudo group and add the current user to it as several ansible steps will require sudo
    • Create a super user that can run sudo passwordless. This is require to properly make pacaur work without asking sudo password
    • Update the system
    • Install ansible
  • If you are not me, you need to set your own personal information
    • Specially set the vault files and password

Everyday

  • ansible-playbook <HOST PLAYBOOK> -K

Things to know the first time you run:

  • there may be errors related to group changes in your user
    • logout, log back in and run the playbook again
  • reboot the machine after the first successful run

Known issues features

Firewall (UFW)

  • Error enabling the UFW when running for the first time
    • Reboot and start again
  • Locks you out of Vagrant box after rebooting the machine
    • Going through the VirtualBox's gui, disable UFW (sudo ufw disable) and reload the box (vagrant reload)
  • CUPS network printer discovery
    • Simplest thing is to disable UFW while setting up the printer (sudo ufw disable), set it up and enable UFW back (sudo ufw enable). After configured the printer should stay working
    • If you know the printer network address and model (for driver choosing), you can go through CUPS configuration process

Other

  • {"msg": "privilege output closed while waiting for password prompt:\nmanzo is not in the sudoers file. This incident will be reported.\n"}
    • This is expected the first time you are running the playbook on a fresh install
    • It happens because of changes to the sudoers file that are now based on newly create user groups that are not loaded in the ansible ssh session
    • Logout, login and reun again the playbook
  • black screen after installing a playbook, such as BURN-E's, with Intel Graphics on VirtualBox
    • remove the XOrg configuration for intel graphics (use virtualbox console and get a tty with ctrl+alt+f3)

Managed machines

  • WALL-E (Notebook)
    • Specs
      • Intel Core i7 2620M
      • Geforce GT 520M
      • 8 GB RAM
      • 240 GB SSD
      • 640 GB HDD
    • Statistics (v2.0.0)
      • Boot time: < 20s
      • Mem. usage after boot: ~250MB
      • Expected battery life: ~3h
      • Disk usage: 14GB
  • WALL-A (Desktop)
    • Specs
      • AMD FX8320E
      • Geforce GTX 1050
      • 32 GB RAM
      • 256 GB SSD
    • Statistics (v3.0.0)
      • Boot time: < 35s
      • Mem. usage after boot: ~365MB
      • Disk usage: 18GB
  • BURN-E (Rapsberry Pi 4 B)
    • Running Ubuntu

pcsetup's People

Contributors

rafamanzo avatar

Stargazers

Alessandro Palmeira avatar Fellipe Souto avatar  avatar

Watchers

 avatar James Cloos avatar Eduardo Silva avatar

Forkers

diegoamc

pcsetup's Issues

More neovim configurations

  • CoffeeScript syntax highlight
  • Multicursor
  • Text collapse
  • ctrl direction fast move cursors
  • home to first word (instead of line beginning)
  • prevent terminal from opening vim or neovim

Neovim as difftool

  • how to dirdiff?
  • git set difftool

Installing kdiff3 is still my workaround while I don't have the time to configure this.

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.