mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Updates and changes
This commit is contained in:
1 parent
59c910462c
commit
1948b36625
20 files changed
+45
-8
No files matched your search
Generated
+4
-1
@@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11" project-jdk-type="Python SDK" />
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.11" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (public-setupfiles)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
Generated
+4
-2
@@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.11 (public-setupfiles)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Executable → Regular
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,13 @@
|
||||
# Update Apt-cache
|
||||
sudo apt-get update
|
||||
|
||||
# install needed packages
|
||||
sudo apt install cron cron-apt crontab-y
|
||||
|
||||
# enable system services
|
||||
sudo systemctl enable cron
|
||||
sudo systemctl start cron
|
||||
|
||||
# Echo the command below into the file /etc/crontab
|
||||
echo 'MAILTO="alert@tyates.one"
|
||||
0 */6 * * * root apt-get update && apt install upgrade -y && apt-get -y -d full-upgrade && apt-get autoremove -y' | sudo tee -a /etc/crontab
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,24 @@
|
||||
# base
|
||||
apt update
|
||||
apt-get -y install \
|
||||
samba-common-bin \
|
||||
smbclient \
|
||||
cifs-utils \
|
||||
exfat-fuse \
|
||||
curl \
|
||||
unattended-upgrades \
|
||||
cron-apt \
|
||||
git \
|
||||
curl
|
||||
|
||||
# Make directories
|
||||
cd /home
|
||||
mkdir nasmedia
|
||||
mkdir naspublic
|
||||
|
||||
# Echo the command below into the file /etc/fstab
|
||||
echo '//nas/public /home/naspublic cifs vers=2.0,username=admin,password=,file_mode=0777,dir_mode=0777 0 0
|
||||
//nas/DownloadedMedia /home/nasmedia cifs vers=2.0,username=admin,password=,file_mode=0777,dir_mode=0777 0 0' | sudo tee -a /etc/fstab
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
git init
|
||||
|
||||
git remote add origin https://github.com/wickedyoda/public-setupfiles
|
||||
|
||||
git fetch
|
||||
|
||||
git checkout main
|
||||
|
||||
|
||||
To remove "rm -rf .git"
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Executable → Regular
File renamed without changes.
Reference in new issue
Block a user