https://github.com/nikkolasg/setup
setup scrip for new laptop/server for archlinux - my own -
https://github.com/nikkolasg/setup
Last synced: 3 months ago
JSON representation
setup scrip for new laptop/server for archlinux - my own -
- Host: GitHub
- URL: https://github.com/nikkolasg/setup
- Owner: nikkolasg
- Created: 2016-10-01T16:12:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-16T20:07:34.000Z (over 7 years ago)
- Last Synced: 2025-01-06T19:35:20.305Z (5 months ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup
Set of scripts / configs to setup a new laptop / server with Archlinux /customized mainly for myself/
# Usage./init_laptop.sh
is the name of the user we want to do operations for.
can be one of the following:
* user:
+ create new user (given on cmd line)
+ install sudo & set user as sudoers
* packages:
+ configure pacman & update repo
+ install predefined packages for laptop mode.
* system:
+ install some common configuration files
* backup:
+ rsync data from backup server:
- BACKUP_SERVER ip address
- BACKUP_USER name to connect with ssh
- BACKUP_PATH path to sync with data folders in home
It will sync all packages in download.rsync
- It first asks the users these informations
+ install a cron job to periodically backup the folders in upload.rsync.
The difference is to avoid downloading big files for a new setup.
* all: makes all operations by default