All public logs
Jump to navigation
Jump to search
Combined display of all available logs of rbachwiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)- 18:35, 17 October 2024 Bacchas talk contribs created page PowerShell Comparison Operators (Created page with "Equality -eq, -ieq, -ceq - equals -ne, -ine, -cne - not equals -gt, -igt, -cgt - greater than -ge, -ige, -cge - greater than or equal -lt, -ilt, -clt - less than -le, -ile, -cle - less than or equal Matching -like, -ilike, -clike - string matches wildcard pattern -notlike, -inotlike, -cnotlike - string doesn't match wildcard pattern -match, -imatch, -cmatch - string matches regex pattern -notmatch, -inotmatch, -cnotmatch - string doesn't match regex pattern Replacement...")
- 18:15, 17 October 2024 Bacchas talk contribs created page Powershell Network Commands (Created page with " Get-Netipaddress Get-netadapterstatistics Get-DnsClientserveraddress Set-DnsClientserveraddress")
- 17:46, 17 October 2024 Bacchas talk contribs created page Useful PowerShell Commands (Created page with " Get-ComputerInfo Rename-Computer Restart-Computer Get-Date Get-TimeZone")
- 16:47, 16 October 2024 Bacchas talk contribs created page Powershell Fundamentals (Created page with "==Get Version== $PSVersionTable")
- 16:46, 16 October 2024 Bacchas talk contribs created page PowerShell (Created page with "==Powershell Fundamentals==")
- 14:53, 25 April 2024 Bacchas talk contribs created page Cloud Sync No longer works, owner changed (Created page with "The settings are stored in an SQLite database and can be modified there. I took the following steps. 1*Stop the cloud sync service from the package manager Connect through ssh to your diskstation or open a terminal console window go to the volume where the configure for cloudSync sits. and there into the config folder. for me that was `cd /volume1/@cloudsync/db` before we open the sqlite database to modify it we need to look up what the user id and group id of our new u...")
- 14:51, 25 April 2024 Bacchas talk contribs created page How do I sign in to DSM with RSA key pairs via SSH? (Created page with "'''Generate Key pair on local computer''' *Sign in to DSM as an administrator. *Go to DSM File Station > home. *Create an sub-folder named .ssh. *Upload the public key id_rsa.pub to the .ssh folder. '''Sign in as an administrator''' *Sign in to DSM as an administrator via SSH (refer to this article for detailed instructions, but do not run sudo -i). *Run a cd command to switch to the .ssh folder you previously created. *cd ~/.ssh *Append the public key to a new file b...")
- 18:24, 7 March 2024 Bacchas talk contribs created page Update Windows From PowerShell (Created page with "**Install Windows Update Module - Install-Module PSWindowsUpdate. **Check and Download the latest updates - Get-WindowsUpdate **Install the latest updates - Install-WindowsUpdate")
- 16:39, 28 August 2023 Bacchas talk contribs created page Fix Windows Update (Created page with "* Run CMD as Admin Stop Update Services * net stop bits (Background intelligent service) * net stop wuauserv * net stop appidsvc * net stop cryptsvc cd\ cd Program Data cd Application Data cd Microsoft cd Network cd Downloader * Delete all the files in the Downloader Dir")
- 20:34, 28 June 2023 Bacchas talk contribs created page 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")
- 19:52, 26 June 2023 Bacchas talk contribs created page 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")
- 15:05, 15 June 2023 Bacchas talk contribs created page 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:49, 15 June 2023 Bacchas talk contribs created page 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...")
- 13:27, 15 June 2023 Bacchas talk contribs created page 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 Bacchas talk contribs created page Scripts used on Servers (Created page with "Backup html folder, backup SQL Database and download locally")
- 19:52, 26 April 2023 Bacchas talk contribs created page 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,...")
- 19:50, 26 April 2023 Bacchas talk contribs created page Create a new project (Created page with "* First create a main dir django etc.. * cd into directory django-admin startproject projectname * this will create the projectname within the main directory * cd into directory python manage.py runserver * To specify a different port python manage.py runserver 8080")