Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/escalopa/script-installer
Shell scripts to quickly install applications & services on linux machine
https://github.com/escalopa/script-installer
automation bash prompt shell zsh
Last synced: about 13 hours ago
JSON representation
Shell scripts to quickly install applications & services on linux machine
- Host: GitHub
- URL: https://github.com/escalopa/script-installer
- Owner: escalopa
- Created: 2022-10-08T11:34:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T09:25:40.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T05:23:42.410Z (over 1 year ago)
- Topics: automation, bash, prompt, shell, zsh
- Language: Shell
- Homepage:
- Size: 73.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# script-installer
shell installer is a set of shell files that helps to install services on linux automatically.
**Requirement commands for installation `git` `curl`**
For applications installation see [here](https://github.com/escalopa/script-installer/tree/main/scripts/app)
## ZSH
Default theme is `strug`
For manual installation look [here](https://www.freecodecamp.org/news/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38/)
### **Installation**
### Debian
```shell
sudo apt install zsh -y && curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/zsh.sh" | bash && chsh -s $(which zsh)
```
### CentOS | RHEL
```shell
sudo dnf install zsh -y && curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/zsh.sh" | bash && chsh -s $(which zsh)
```To add ZSH shell to `root` run `su - ` then the command above that matches your system.
After installing ZSH, you have to re-login so that changes take place.
## Aliases
Created aliases file on your system(if not existed) and adds default aliases
### **Installation**
### Zsh
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/alias.sh" | zsh
```
### Bash
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/alias.sh" | bash
```## prompt colors
If you have already `strug` theme, no need to install the prompt since they are the same.
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/prompt.sh" -o prompt.sh && bash prompt.sh default
```Set danger prompt on root shell,
**YOU MUST BE IN DIR /root** so that the prompt color changes, to go there run `su -` and type root password
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/prompt.sh" -o prompt.sh && bash prompt.sh root
```**Uninstall**
To remove color prompt from your shell you have to manually remove the `export PS1="***"` from your shell file `~/.zshrc` or `~/.bashrc`
then run `source ~/.SHELL_FILE_NAME`.## FRR
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/frr.sh" | bash
```## Ansible
```shell
curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/ansible.sh" | bash
```