User contributions for Bacchas
Jump to navigation
Jump to search
- 20:34, 28 June 2023 diff hist +306 N Ftp Server Created page with "== Setting up an FTP server == apt install vsftpd ftp ufw '''Check Status to see if it's running''' systemctl status vsftpd '''If it shows disabled''' systemctl enable vsftpd ''' if it's not running ''' systemctl start vsftpd == Create an ftp user == useradd -m bach ''' set password ''' passwd bach" current
- 20:29, 28 June 2023 diff hist +19 Linode current
- 19:53, 26 June 2023 diff hist +48 Tailscale current
- 19:52, 26 June 2023 diff hist +2 Tailscale
- 19:52, 26 June 2023 diff hist +342 N Tailscale Created page with " ==Enable Routing on synology to access local printers== * SSH into synology sudo tailscale up --advertise-routes=192.168.20.0/24 --reset * in tailscale admin ** Right click on 3 dots ** Edit Route Settings ** Turn on node ** Right click on 3 dots again ** Disable key expiration * Resetting back node to default sudo tailscale up --reset"
- 19:47, 26 June 2023 diff hist +18 Main Page current
- 16:16, 17 June 2023 diff hist +209 Popular syntax current
- 15:55, 15 June 2023 diff hist −37 Make copy of file and copy to Server current
- 15:54, 15 June 2023 diff hist −6 Make copy of file and copy to Server
- 15:49, 15 June 2023 diff hist −1 Make copy of file and copy to Server
- 15:49, 15 June 2023 diff hist +13 Make copy of file and copy to Server
- 15:48, 15 June 2023 diff hist +90 Make copy of file and copy to Server
- 15:45, 15 June 2023 diff hist +28 Make copy of file and copy to Server
- 15:44, 15 June 2023 diff hist +10 Make copy of file and copy to Server
- 15:43, 15 June 2023 diff hist +5 Make copy of file and copy to Server
- 15:42, 15 June 2023 diff hist +1,371 Make copy of file and copy to Server
- 15:37, 15 June 2023 diff hist +304 Make copy of file and copy to Server
- 15:07, 15 June 2023 diff hist +354 Make copy of file and copy to Server
- 15:06, 15 June 2023 diff hist +45 Make copy of file and copy to Server
- 15:05, 15 June 2023 diff hist +875 N Make copy of file and copy to Server Created page with " <pre> #!/bin/bash clear echo -e " +++++ Making a backup copy of sql file in the web folder ++++++++++++++++ \n" ansible-playbook /etc/ansible/playbook/backupsqlfirst.yml sleep 5 echo -e "++++++++++ Copying to local web folder ++++++++++++++ \n" ansible-playbook /etc/ansible/playbook/cplocal.yml sleep 5 ansible-playbook /etc/ansible/playbook/copytorb222.yml --private-key ~/.ssh/ansible echo "+++++ Done ++++++" </pre> <h4 class="bluebackground">backup..."
- 14:54, 15 June 2023 diff hist +45 Scripts used on Servers current
- 14:52, 15 June 2023 diff hist +81 Download backup file from remote and copy to Synology current
- 14:51, 15 June 2023 diff hist −2 Download backup file from remote and copy to Synology
- 14:50, 15 June 2023 diff hist −15 Download backup file from remote and copy to Synology
- 14:49, 15 June 2023 diff hist +714 N Download backup file from remote and copy to Synology Created page with "<h4> NOTE: File must already exist and you must know the exact filename that is being downloaded</h4> <h4 class="yellowbackground">opidwnlfromremotetolocal.sh</h4> <pre> #!/bin/bash d=`date +%Y%m%d` n="opilocal-" e=".jpa" name=$n$d$e #dest='/volume1/Linode/' scp -i ~/.ssh/linode 173.255.229.40:/var/www/html/opilocal/akbackup/$name . echo "+++++++++ done copying form Remoge ++++++++++++++++++" sleep 3 scp -i ~/.ssh/synology $name admin@192.168.20.120:/volume1/Linode/op..."
- 14:32, 15 June 2023 diff hist +62 Scripts used on Servers
- 14:10, 15 June 2023 diff hist +41 Backup html folder, backup SQL Database and download locally current
- 14:05, 15 June 2023 diff hist +41 Backup html folder, backup SQL Database and download locally
- 14:03, 15 June 2023 diff hist −143 Backup html folder, backup SQL Database and download locally
- 13:56, 15 June 2023 diff hist +923 Backup html folder, backup SQL Database and download locally
- 13:47, 15 June 2023 diff hist +422 Backup html folder, backup SQL Database and download locally
- 13:42, 15 June 2023 diff hist −1 Backup html folder, backup SQL Database and download locally
- 13:41, 15 June 2023 diff hist −83 Backup html folder, backup SQL Database and download locally
- 13:40, 15 June 2023 diff hist −117 Backup html folder, backup SQL Database and download locally
- 13:38, 15 June 2023 diff hist +1,080 Backup html folder, backup SQL Database and download locally
- 13:33, 15 June 2023 diff hist +64 Backup html folder, backup SQL Database and download locally
- 13:31, 15 June 2023 diff hist +1 Backup html folder, backup SQL Database and download locally
- 13:31, 15 June 2023 diff hist 0 Backup html folder, backup SQL Database and download locally
- 13:30, 15 June 2023 diff hist +32 Backup html folder, backup SQL Database and download locally
- 13:28, 15 June 2023 diff hist +455 Backup html folder, backup SQL Database and download locally
- 13:27, 15 June 2023 diff hist +716 N Backup html folder, backup SQL Database and download locally Created page with "==Master Script== <pre> echo "-----------------------------------" echo "" echo "++++++++++ Running backup script, zipping dir and dump sql database ++++++++++" echo "" clientscripts/./client_run_backup_sql_zip.sh sleep 5 echo "-----------------------------------" echo "" echo "++++++++++ Download zip and sql files and copy to synology ++++++++++" echo "" echo "" clientscripts/./client_dlzipsql_cpto_synology.sh sleep 5 echo "-----------------------------------" echo ""..."
- 13:26, 15 June 2023 diff hist +4 Scripts used on Servers
- 13:26, 15 June 2023 diff hist +64 N Scripts used on Servers Created page with "Backup html folder, backup SQL Database and download locally"
- 13:22, 15 June 2023 diff hist +15 Bash current
- 16:27, 14 June 2023 diff hist +723 Python Copying File and Directories current
- 16:14, 14 June 2023 diff hist −2 Python Copying File and Directories →Move similar files to another folder
- 15:45, 14 June 2023 diff hist −6 Python Copying File and Directories
- 15:45, 14 June 2023 diff hist +1,085 Python Copying File and Directories
- 15:43, 14 June 2023 diff hist +482 Python Copying File and Directories
- 19:52, 26 April 2023 diff hist +895 N Create a Django App Created page with " python manage.py startapp myapp * this will create an new app in the projectname folder * cd into my app folder and create a folder called templates * create an html file in the templates folder * Link the new template folder to the project * edit the settings.py file import os * Scroll down to "TEMPLATES", edit section DIRS 'DIRS': [os.path.join(BASE_DIR, "myapp/templates")] * Edit the views.py in your myapp folder def myview(request): return render(request,..." current