23 lines
707 B
Markdown
23 lines
707 B
Markdown
# baremetal-basics
|
|
|
|
Basics for baremetal servers
|
|
|
|
INSTALL:
|
|
|
|
rm -rf baremetal-basics; git clone https://servtx.net/bmixed/baremetal-basics.git; cd baremetal-basics; chmod +x *; sudo ./bbi; cd;
|
|
|
|
-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
Passwordless sudo
|
|
|
|
RUN AT OWN RISK: You've been warned! Know what you are doing?
|
|
|
|
runs as root#:
|
|
|
|
sudo echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
|
|
-----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
TODO:
|
|
|
|
Script to use "sudo ntfsfix -d /dev/sdX1" to fix NTFS partitions when removed dirty |