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).

Logs
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)
  • 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")
  • 20:07, 24 April 2023 Bacchas talk contribs created page Django (Created page with "==Create a new project== django-admin startproject projectname")
  • 19:56, 24 April 2023 Bacchas talk contribs created page Anaconda (Created page with "<h2> Create Anaconda environment</h2> * Open Anaconda command prompt conda create -n NameOfEnvironment python=3.9\ <h2> Activate Environment </h2> conda activate NameOfEnvironment <h2> To deactivate environment </h2> conda deactivate <h2> Update Anaconda base </h2> conda update -n base -c defaults conda")
  • 14:47, 24 April 2023 Bacchas talk contribs created page Fix Broken Windows Files - System file checker (Created page with " '''Quick health check''' dism /online /cleanup-image /checkhealth '''Longer Scan''' dism /online /cleanup-image /scanhealth '''Scan and fix problems''' dism /online /cleanup-image /restorehealth '''If dism can't fix system files''' '''Open browser, search for "media creation tool" ''' '''Download "create windows 10 installation media"'''")
  • 17:41, 24 March 2023 Bacchas talk contribs created page Rename files using excel as source template (Created page with "<pre> import os import pandas as pd import shutil os.chdir('C:\\Users\\bacchas\\Downloads\\test') data = pd.read_excel(r"rename.xlsx") orginal = "C:\\Users\\bacchas\\Downloads\\test\\original" dest = "C:\\Users\\bacchas\\Downloads\\test\\img" old = data['oldname'] new = data['newname'] for (old, new) in zip(old,new): full_file_name = os.path.join(orginal,old) full_file_name_old = os.path.join(dest,old) full_file_name_new = os.path...")
  • 15:39, 17 March 2023 Bacchas talk contribs created page Fix Python Errors (Created page with "==FIX ERROR - The term 'pyinstaller' is not recognized== py -m pip install pyinstaller")
  • 16:51, 6 February 2023 Bacchas talk contribs created page Synology Nas (Created page with "==How do I sign in to DSM with RSA key pairs via SSH?== '''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.")
  • 16:04, 27 December 2022 Bacchas talk contribs created page Synology WiFi Router (Created page with "==Setting up a synology WiFi Access Point== Router has to be setup in WiFi mode first, which means: don't connect the the Ethernet wire.")
  • 16:01, 27 December 2022 Bacchas talk contribs created page Hardware (Created page with "==Synology WiFi Router==")
  • 18:06, 29 November 2022 Bacchas talk contribs created page Upgrade to PHP 8.1 (Created page with " $ sudo apt update $ sudo apt upgrade $ sudo apt install ca-certificates apt-transport-https software-properties-common ===Add the Reoository == sudo add-apt-repository ppa:ondrej/php")
  • 15:29, 30 September 2022 Bacchas talk contribs created page AlpineJS (Created page with "=AlpineJS=")
  • 18:15, 31 August 2022 Bacchas talk contribs created page MediaWiki:Common.css (Created page with "CSS placed here will be applied to all skins: .keyword{ display: none; }")
  • 18:14, 31 August 2022 Bacchas talk contribs changed group membership for Bacchas from bureaucrat and administrator to bureaucrat, administrator and interface administrator
  • 15:39, 9 August 2022 Bacchas talk contribs created page Excel (Created page with "= Excel = == Removing the .jpg 3 cells then concat them== =LEFT(A1,LEN(A1)-4)&","& LEFT(B1,LEN(B1)-4)& ","&LEFT(C1,LEN(C1)-4)")
  • 19:30, 8 August 2022 Bacchas talk contribs created page YAML (Created page with "==YAML== '''Serialization Language''' ===Syntax=== * Key value pair # this is a comment app: user-auth port: 9000 #comment version: 1.7")
  • 21:15, 27 July 2022 Bacchas talk contribs created page Ansible Documentation (Created page with "Online documentation • https://docs.ansible.com/ • https://docs.ansible.com/ansible/latest/ • https://www.ansible.com/resources • https://www.redhat.com/en/topics/automation/learning-ansible-tutorial • Ansible Webinars and Trainings • https://www.ansible.com/resources/webinars-training • Ansible module documentation • https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.html")
  • 20:51, 27 July 2022 Bacchas talk contribs created page Ansible Management Tools (Created page with "=Ansible AWX = * Open Source Tool to manage Ansible")
  • 20:32, 14 July 2022 Bacchas talk contribs created page Ansible Vault (Created page with "= Secure your Ansible YML files= ansible-vault create ymlfile.yml ==Run yml file that")
  • 18:08, 14 July 2022 Bacchas talk contribs created page Ansible Conditions (Created page with " = Ansible Menu= Category:Ansible")
  • 18:04, 14 July 2022 Bacchas talk contribs created page Ansible Handlers (Created page with "= Handlers= *Handlers are executed at the end of the play once all tasks are finished. In Ansible, handlers are typically used to start, reload, restart, and stop services. = Ansible Menu= Category:Ansible")
  • 21:25, 13 July 2022 Bacchas talk contribs created page Ansible Variables (Created page with "=Ansible Variables= --- - name: setup apache ser er hosts: localhost vars: variablename: apache2 tasks: apt: name: "{{ variablename }}" state: present tags: i-apache -name: start apache service: name: "{{ variablename }}" state: started tags: start_apache2")
  • 20:42, 12 July 2022 Bacchas talk contribs created page Ansible Tags (Created page with "=Ansible Tags= ''' Tags are the reference or alias to a task'''")
  • 20:19, 12 July 2022 Bacchas talk contribs created page Ansible Roles by Application (Created page with "==Create Roles based on Applications== ===To Create Role=== cd /etc/ansible/roles * Make a Directory for each role Mkdir apache mkdir phpmyadmin mkdir tmux * Create sub-directory ''tasks''' within each directory Mkdir apache/tasks mkdir phpmyadmin/tasks mkdir tmux/tasks * Create yml file within these sub-directories touch apache/tasks/main.yml touch phpmyadmin/tasks/main.yml touch tmux/tasks/main.yml ==Write your yml file and install those apps == ---...")
  • 15:57, 30 June 2022 Bacchas talk contribs created page Ansible Roles (Created page with "= Create Roles to organize playbooks= <code> --- - name: Install httpd package yum: name: httpd state: present - name: Start httpd service: name: httpd state: started - name: Open port for http firewalld: service: http permanent: true state: enabled - name: Restart firewalld service: name: firewalld state: reloaded </code>")
  • 17:16, 29 June 2022 Bacchas talk contribs created page Python Copying File and Directories (Created page with "= Copying a single file= import shutil src_path = r"C:/Users/bacchas/Dropbox (Personal)/Filing Cabinet/Karaoke Stuff/newsongscode.txt" dst_path = r"C:/Users/bacchas/Dropbox (Personal)/All Folders/websites/linode_msites/rb222/newsongscode.txt" shutil.copy(src_path, dst_path) print('copied')")
  • 19:54, 24 June 2022 Bacchas talk contribs created page Ansible Ad-Hoc Commands (Created page with " = Ansible Menu= Category:Ansible")
  • 14:43, 24 June 2022 Bacchas talk contribs created page Category:Ansible (Created page with "Ansible")
  • 14:42, 24 June 2022 Bacchas talk contribs created page Category (Created page with "Ansible")
  • 15:54, 23 June 2022 Bacchas talk contribs created page Ansible User Commands (Created page with "=Create a user= --- - name: Playbook for creating users hosts: all tasks: - name: create user user: name: robert home: /home/robert shell: /bin/bash")
  • 19:05, 22 June 2022 Bacchas talk contribs created page Ansible File Commands (Created page with "=Copy File to remote servers= --- - name: copy file from local to remote hosts: all tasks: - name: copy file copy: src: ~/photo.jpg dest: ~/ owner: root group: root mode: 0777")
  • 20:33, 21 June 2022 Bacchas talk contribs created page Ansible General Commands (Created page with "* list content of hosts file ansible-inventory --list")
  • 20:31, 21 June 2022 Bacchas talk contribs created page Ansible Setup (Created page with "* Download and install Miniconda: curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh **You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt. *Restart your shell session for the changes to your PATH to take effect. exec bash -l *Create a new virtual environment for Ansible: conda create -n ansible-dev python=3 *Acti...")
  • 16:00, 13 June 2022 Bacchas talk contribs created page Ansible (Created page with "* Download and install Miniconda: curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh **You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt. *Restart your shell session for the changes to your PATH to take effect. exec bash -l *Create a new virtual environment for Ansible: conda create -n ansible-dev python=3 *Acti...")
  • 05:09, 1 June 2022 Bacchas talk contribs created page IOS Apps (Created page with "=Blink= ‘’’To get to the config menu’’ Config Category")
  • 19:28, 29 May 2022 Bacchas talk contribs created page NCDU (Created page with "===NCurses Disk Usage=== '''Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don’t have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.''' <html> <h2> <a href='https://dev.yorhel.nl/ncdu' target=_blank> Website Docs</a> <...")
  • 19:20, 29 May 2022 Bacchas talk contribs created page RCLONE (Created page with " <html> <h2> <a href='https://rclone.org/' target=_blank> </a></h2> </html>")
  • 19:13, 29 May 2022 Bacchas talk contribs deleted page Centos Bash Shell (content was: "==Redirection (send output to file)== ===Output descriptors=== #(0) Standard Input (stdin) #(1) Standard Output (stdout) #(2) Standard Error (stderr) ls /etc/hosts 1>outputfilename # the 1 is the standard output deliminator ls /etc/hosts 2>badoutput # will output only error because of the 2 ===Redirecting Standard and Error Output to separate files=== ls /etc/hosts >good...", and the only contributor was "Bacchas" (talk))
  • 19:06, 29 May 2022 Bacchas talk contribs deleted page Shell Schipting (content was: "== Shell Scripting == <pre> • Scripts must be chmod 755 so they can execute • #!/bin/bash (add to the top of the shell script so it can use the bash shell to interpret the script, you can also add python or other shell programs) • Postional Parameters: $0 ... $9 $@ to access all 0-9 // like in a loop • Exit Status return Codes: Range from 0 to 255: 0 = success: Ot...", and the only contributor was "Bacchas" (talk))
  • 19:06, 29 May 2022 Bacchas talk contribs created page Shell Scripting (Created page with "== Shell Scripting == <pre> • Scripts must be chmod 755 so they can execute • #!/bin/bash (add to the top of the shell script so it can use the bash shell to interpret the script, you can also add python or other shell programs) • Positional Parameters: $0 ... $9 $@ to access all 0-9 // like in a loop • Exit Status return Codes: Range from 0 to 255: 0 = success: Other than 0 = error condition: use man or info to find meanign of exit status &bull, $? contain...")
  • 19:02, 29 May 2022 Bacchas talk contribs deleted page Usefull bash commands (content was: "==Go back to the previous directory== cd - ==Clear Screen == ctrl + L == Background Taks== ctrl + z // send to background fg // bring back == if you type a command and forget to 'sudo' == sudo !! // this will add sudo to the previous failed command ==Search through your previous commands == ctrl + R // then type part of the command you remember history // will lis...", and the only contributor was "Bacchas" (talk))
  • 19:01, 29 May 2022 Bacchas talk contribs created page Useful bash commands (Created page with "==Go back to the previous directory== cd - ==Clear Screen == ctrl + L == Background Taks== ctrl + z // send to background fg // bring back == if you type a command and forget to 'sudo' == sudo !! // this will add sudo to the previous failed command ==Search through your previous commands == ctrl + R // then type part of the command you remember history // will list previously run command ''' Rerun command from history ''' !100 // this is the number form th...")
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)