mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
commit
1e25e36ce6
195 files changed
+152301
No files matched your search
@@ -0,0 +1,40 @@
|
||||
# ubuntu-based
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Purpose
|
||||
This directory contains files related to **ubuntu based**.
|
||||
|
||||
## Contents
|
||||
- `ubuntu_install_apps.sh`
|
||||
|
||||
## Usage
|
||||
- Review each script or configuration file before running
|
||||
- Some scripts may require **root or sudo**
|
||||
- Paths and variables may need adjustment for your environment
|
||||
|
||||
## Notes
|
||||
- This folder is part of the **public-setupfiles** repository
|
||||
- Files are provided as-is for reference or automation
|
||||
|
||||
## Safety
|
||||
Always back up data before running scripts that modify system state.
|
||||
=======
|
||||
## Overview
|
||||
This directory is part of the **public-setupfiles** repository.
|
||||
It contains scripts, configuration files, or resources related to **ubuntu-based**.
|
||||
|
||||
## Usage
|
||||
- Review scripts before execution
|
||||
- Some files may require **root or sudo privileges**
|
||||
- Paths, variables, or credentials may need customization
|
||||
|
||||
## Logging & Output
|
||||
Scripts may generate logs or output files in the same directory or system locations.
|
||||
|
||||
## Safety Notes
|
||||
- Always back up important data before running scripts
|
||||
- Test in a non-production environment when possible
|
||||
- Use at your own risk
|
||||
|
||||
---
|
||||
>>>>>>> main
|
||||
@@ -0,0 +1,76 @@
|
||||
!/bin/bash
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | Add repos |
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | Update sources |
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y dist-upgrade
|
||||
sudo apt-get -y full-upgrade
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | Install apps |
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
sudo apt-get -y install
|
||||
wireshark\
|
||||
nmap \
|
||||
openvpn \
|
||||
etherape \
|
||||
remmina \
|
||||
monitorix \
|
||||
samba-common-bin \
|
||||
openssh-server \
|
||||
smbclient \
|
||||
cifs-utils \
|
||||
exfat-fuse \
|
||||
cups \
|
||||
software-properties-common \
|
||||
curl \
|
||||
unattended-upgrades \
|
||||
cron-apt \
|
||||
putty \
|
||||
gpart \
|
||||
deja-dup \
|
||||
git \
|
||||
curl \
|
||||
libgconf-2-4 \
|
||||
libappindicator1
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | Install Discord |
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
cd /home/traver/Downloads
|
||||
wget -O discord-0.0.1.deb https://discordapp.com/api/download?platform=linux&format=deb
|
||||
sudo dpkg -i discord-0.0.1.deb
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | creates folders for shares, Install fstab entries, maps mounts to nas|
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
sudo cp /etc/fstab /etc/ftab.orig.backup
|
||||
|
||||
# cd ~/home/traver
|
||||
|
||||
sudo mkdir /home/traver/naspublic
|
||||
sudo mkdir /home/traver/nasdownloadedmedia
|
||||
|
||||
sudo echo "//nas/public /home/traver/naspublic cifs vers=2.0,username=admin,password=mypassword,file_mode=0777,dir_mode=0777 0 0
|
||||
//nas/DownloadedMedia /home/traver/nasdownloadedmedia cifs vers=2.0,username=traver,password=mypassword,file_mode=0777,dir_mode=0777 0 0" >> /etc/fstab
|
||||
|
||||
sudo mount -a
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# | Update sources, Second time to complete installs. |
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y dist-upgrade
|
||||
sudo apt-get -y full-upgrade
|
||||
sudo apt-get -y autoremove
|
||||
Reference in new issue
Block a user