dsd
This commit is contained in:
WickedYoda committed 2025-01-23 14:14:13 -06:00
1 parent f70699a2aa
commit 0b911a2d07
27 files changed
+8 -162

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="docker mysql" uuid="025ccf30-fbb8-45bf-9fa1-b9f6791821ec">
<driver-ref>mysql.8</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mysql://docker2:3306/main_db</jdbc-url>
<jdbc-additional-properties>
<property name="com.intellij.clouds.kubernetes.db.host.port" />
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
<property name="com.intellij.clouds.kubernetes.db.container.port" />
</jdbc-additional-properties>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>
-11
View File
@@ -1,11 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<Languages>
<language minSize="262" name="Python" />
</Languages>
</inspection_tool>
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>
-6
View File
@@ -1,6 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
-7
View File
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<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>
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/public-setupfiles.iml" filepath="$PROJECT_DIR$/.idea/public-setupfiles.iml" />
</modules>
</component>
</project>
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<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>
Generated
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
-7
View File
@@ -1,7 +0,0 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\updates.sh",
"PreviewInSolutionExplorer": false
}
Whitespace-only changes.
Binary file not shown.
BIN
View File
Binary file not shown.
File renamed without changes.
@@ -1,12 +1,14 @@
#!/bin/bash
# Script: install_docker_compose.sh
# Description: Script to install Docker Compose and its dependencies on Linux
# Update package lists and install dependencies
sudo apt update
sudo apt-get install libffi-dev libssl-dev python3-dev python3-pip -y
# Script install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
# Script: install_docker_compose.sh
# Description: Script to install Docker Compose and its dependencies on Linux
# Install Docker Compose using pip
sudo pip3 install docker-compose
@@ -22,4 +24,4 @@ if [ $? -eq 0 ]; then
echo "Docker Compose is installed and ready to use."
else
echo "Failed to install Docker Compose."
fi
fi
File renamed without changes.
File renamed without changes.
-55
View File
@@ -1,55 +0,0 @@
!/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 \
openvpn \
samba-common-bin \
openssh-server \
smbclient \
cifs-utils \
exfat-fuse \
exfat-utils \
software-properties-common \
python \
curl \
unattended-upgrades \
cron-apt \
deja-dup \
git \
curl \
snapd \
libgconf-2-4 \
libappindicator1 \
# ----------------------------------------------------------------------
# | 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
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
-5
View File
@@ -1,5 +0,0 @@
sudo mount /dev/sda1 /mnt/drive1
sudo mount /dev/sdb1 /mnt/drive2
sudo chmod 777 -R /mnt/drive1
sudo chmod 777 -R /mnt/drive2
File renamed without changes.
File renamed without changes.
@@ -1,16 +0,0 @@
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get purge docker.io docker-doc docker-compose podman-docker containerd runc
sudo apt-get update
sudo apt-get install ca-certificates curl -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo adduser traver docker
echo "Install complete, please reboot"