Difference between revisions of "Scratch Pad"

From MyWiki
Jump to: navigation, search
(Blanked the page)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
<source lang="text">
 
 
-----BEGIN RSA PRIVATE KEY-----
 
Proc-Type: 4,ENCRYPTED
 
DEK-Info: AES-128-CBC,F19F564CCDF2DBF9B39A36E21788ACE5
 
 
BTfkIgj9o7r/sw2Re6L2dJa/CkbHMPebrew9CaXJauTBmZ86oOcgK1GRyOofyni1
 
jup3b5cbQ+8zYQkVVoK4YbcGfP9Yb0aWscDHq9VLrdAkQCNdlAR1nx10igXFcgI7
 
JXHRQP53h3x0w8jleDU15bXIlDBS1ijJOypZkoJZgIksiRBG+glH+u0vX1Du6/+w
 
4I2neIFwTES5Zy0wT26h3HbShhwtLRRp2pVqO2Xo1Hf9FAyU/z23OlQCGbz1k2K7
 
axXV7aBZh6Vpf3CtArU76FE2C1iCBGHS5ET7mDMa/BH094Xe3HsBJ66dXY01Cs4Z
 
aQ2EzzneQEbskL5T6aDlL3yDp0/XP+MDOxNKOd5qRphgCJyKpV7ZcjB5+pgcX3DC
 
pFF9A2HOMztQufH5zyIST/g9neZP+xy/S29wV7xcPxTSS7wQHYKijJBZITq/s5zo
 
I1ibnMYnrAe1V+z36bqEU3BiFCAgNrPDPF5hZ3hTyrlXhITF3DtNxRGQuN2YC6R5
 
vyB58Tu/eZW6ghvu+YgZw/amKIFX7kbV11H0jjzivdxmvM7R4PgQEPqxrKrojASy
 
SYclHKQNgnuacuYVFJNN26AIKPEko4Ovb+hOS9lpPhJLscTtM+HJ34BmW253d0EA
 
3/m9e4A0okAotd0T+6JXctkVlidYQBalsf4n2f7UlmlbSpjqVsEoGPD3zA+Y8GdV
 
RdHXnkl+Utjlclw+3+jAeZYHUWaz50yHoqaT+2RErRhMS7Po30AYugmVzM4JymuB
 
jlmWeVxwHsBoBI4QfVI+21kHiyRVHICbVKFmVHDUHIFBt0HpDLjPBoDTBqClx+UO
 
4kCSQtr26y+DukKbrekxwwlvYi3XKA3KhRm5iYZPi4EiiqyDkhsJzrTS1PItGSOZ
 
b/EJbvjTDutOVcoStMnDlf8wca8mOex8a2ZFAcd44lbiU35/0+x9P8369UpoCl1q
 
u4DjSZ9safhNlMUYIcYH8AaOKUpzgofl5PsvDvT/HG2U+vHzpyUqo+vdfjSkRHbH
 
nU/OjR26GHvVF5eIO50Ph5kzlIM4J4xnLjmSwIsfkc1so7X3Igmc7O9TAl0X0B/p
 
8H+tmDbmN7aArJSl1i2jUBzJAiJDKr+qGCNa/SrjuYbt/Xxj2xjYmE9NXQJ06Edl
 
l/R9AMnse6YvyRWznyjBP2slaqy0yDx0ZKSz4EkueM0vsPQkdRyBNhm1W9jNbhnt
 
9f8u7rBixs8uoukwVJRbevQixDumEFCeYZDhmItz9RJfVJMmaIWcFH+PGYazq5pc
 
Q5KsTd4Q/V9t+28YPZp37VpZlVj0G7lu+tamYvGCt0mz5CBkifR2KOHgDaNugaro
 
subuzxOAho/Himwc/Ez6s4wYNisMBomFpridNPxGQWKe0bB40VLJTWqBd0vVIoWC
 
NR2HIha1r7ArWbj0Mc7uQlm0mLfs7qcWjnfZRiaiCk3nLaBkRU/quCfCnQ6UG9QZ
 
gjOM9U2/eHx6gdk42OJnNfMckJL6RHwHWQAwBTEstH7IwzhMX124AV+NoK7Gr6cI
 
G+PPTH7PdNfTArlDfp6C6/vC1Y0MRQNpXYZ2T8GxZ4gL5e9xvNxYsIVpvcVFOTjB
 
-----END RSA PRIVATE KEY-----
 
 
</text>
 
 
 
<source lang="text">
 
 
 
https://www.ebay.co.uk/b/yama-buggy-parts/bn_7024825240
 
https://www.ebay.co.uk/itm/Yama-2-stroke-1-5-scale-Petrol-RC-buggy-front-wheel-1-pair-/163665921047
 
https://www.youtube.com/watch?v=A1zmhxcUOxw
 
 
[‎21/‎06/‎2018 15:36] Olly Bellamy:
 
What Ports are Connected to What?
 
 
172.16.112.232 2306 Te 1/53/1
 
172.16.112.233 2306 Te 1/53/2
 
172.16.112.234 2306 Te 1/53/1
 
172.16.112.235 2306 Te 1/53/2
 
172.16.112.236 - -
 
172.16.112.237 - -
 
 
 
Does SO-4048 serve data AND iscsi?
 
 
No, just iscsi.
 
 
 
Does the SAN management network run through the SO-4048?
 
 
Yes.
 
 
 
 
This may help
 
https://community.jisc.ac.uk/library/janet-services-documentation/payments-and-charges
 
 
 
</source>
 
 
<div style="text-align:center;">'''Red Hat Certification.'''</div>
 
 
 
'''Chapters'''
 
 
 
[[#chap1installation|1. Installation]]
 
 
[[#chap2essentialtools|2 ]][[#chap2essentialtools|]][[#chap2essentialtools|Using essential tools]]
 
 
[[#chap3essentialtools|3. Essential File Management Tools]]
 
 
[[#chap4textfiles|4. Working with Text Files]]
 
 
[[#chap5connectingto|5. Connecting to Red Hat Linux 7]]
 
 
[[#chap6usergroup|6. User and Group Management]]
 
 
[[#chap7permissionsmanagement|7. Permissions Management]]
 
 
[[#chap8configuringnetworking|8. Configuring Networking]]
 
 
[[#chap9processmanagement|9. Process Management]]
 
 
[[#chap10virtualmachines|10.]][[#chap10virtualmachines| ]][[#chap10virtualmachines|Working with Virtual Machines]]
 
 
[[#chap11installsoftwarepackages|11. Installing Software Packages]]
 
 
[[#chap12schedulingtasks|12. Scheduling Tasks]]
 
 
[[#chap13configuringlogging|13. Configuring Logging]]
 
 
[[#chap14managingpartitions|14. Managing Partitions]]
 
 
[[#chap!5lvm|15. Managing LVM Logical Volumes]]
 
 
[[#chap16kernelmanagement|16. Basic Kernel Management]]
 
 
[[#chap!7basicapache|17. Configuring a Basic Apache Server]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
'''1. Red Hat Installation'''
 
 
 
 
 
 
 
 
 
 
 
'''2. Using Essential Toosl'''
 
 
 
 
 
 
 
'''3. Essentila File Management Tools'''
 
 
 
 
 
 
 
'''4. Working with text files'''
 
 
 
 
 
 
 
'''5. Connecting to Red Hat Linux 7'''
 
 
 
 
 
 
 
 
 
'''6. User and Group Management'''
 
 
 
 
 
 
 
'''7. Permissions Management'''
 
 
 
 
 
 
 
 
 
'''8. Configuring Networking'''
 
 
 
 
 
 
 
'''9. Process Management'''
 
 
 
 
 
 
 
 
 
'''10. Working with Virtual Machines'''
 
 
 
QEMU (Quick Emulator) this does the disk format of image files.
 
 
 
It offers an infrastructural server that consists of multiple hypervisor nodes
 
 
that are managed from a central RHEV Manager node, on which a web user interface
 
 
makes managing a complex environment easy.
 
 
 
To access VMs that are offered through KVM, you use libvirtd. Libvirtd is a process
 
 
that sits between the virtualization layer and the application that an administrator
 
 
is using to access the VMs. Without libvirtd, you cannot manage VMs. Virtual
 
 
machine management options also are configured through the libvirtd configuration
 
 
file /etc/libvirt/libvirtd.conf.
 
 
 
Although the method to connect remotely directly to '''libvirtd '''works well and is convenient
 
 
for hypervisors that have a minimal number of software packages installed,
 
 
alternatively you can use Secure Shell (SSH) from virt-manager to connect to
 
 
remote libvirtd processes.
 
 
If you are experiencing problems accessing VMs, libvirtd is the primary suspect,
 
 
and you should at least ensure that it is running, by using the systemctl status -l
 
 
libvirtd command. In Listing 10.1 , you can see how this command shows that libvirtd
 
 
is running; the command also shows information about recent activity on the
 
 
process .
 
 
 
systemctl status -l libvirtd
 
 
 
'''Making your server a KVM host.'''
 
 
 
cat /proc/cpuinfo - '''vmx '''on an intel CPU, and '''svm '''on an AMD CPU.
 
 
 
cat /proc/cpuinfo | egrep ‘<span style="background-color:#ffff00;">svm|vmx</span>’
 
 
 
yum groupinstall “Virtualization Host ”.
 
 
/var/lib/libvirt/images. - check space
 
 
 
'''NOTE''' As an alternative to working with disk image files, you may prefer working
 
 
with LVM logical volumes as the storage backend. This offers some advantages,
 
 
such as the possibility to easily create backups by using the LVM snapshot feature.
 
 
For this reason, LVM is often used as a storage backend in production KVM
 
 
servers.
 
 
 
'''KVM Host networking'''
 
 
 
brctl show
 
 
 
Accessing virtual machines
 
 
â–  SSH into the VM
 
 
â–  Through Virtual Machine Manager
 
 
â–  Through GNOME Boxes
 
 
â–  Using virt-viewer
 
 
â–  Optionally, through third-party utilities.
 
 
 
 
 
Accessing virtual Machines from a text only console.
 
 
This is from the KVM host
 
 
grubby --update-kernel=ALL --args=“console=ttyS0”
 
 
reboot the vm
 
 
virsh console samder-vm1
 
 
 
'''Managing virtual machines from the command line'''
 
 
'''virsh commands'''
 
 
list <nowiki>= </nowiki>active vms
 
 
list -all <nowiki>= </nowiki>all, including non active
 
 
help
 
 
shutdown <vmname> shuts down properly
 
 
destroy <vmname> pulls the power plug
 
 
edit <vmname> edit the xml config file.txt
 
 
console <vmname> connects from KVM host console
 
 
start <vmname> Starts a VM
 
 
reboot <vmname> reboots a vm
 
 
 
'''Google'''
 
 
virsh list [ --inactive | --all]
 
 
 
'''From Red Hat Portal - managing guests '''
 
 
help    Prints basic help information.
 
list    Lists all guests.
 
dumpxml    Outputs the XML configuration file for the guest.
 
create    Creates a guest from an XML configuration file and starts the new guest.
 
start    Starts an inactive guest.
 
destroy    Forces a guest to stop.
 
define    Outputs an XML configuration file for a guest.
 
domid    Displays the guest's ID.
 
domuuid    Displays the guest's UUID.
 
dominfo    Displays guest information.
 
domname    Displays the guest's name.
 
domstate    Displays the state of a guest.
 
quit    Quits the interactive terminal.
 
reboot    Reboots a guest.
 
restore    Restores a previously saved guest stored in a file.
 
resume    Resumes a paused guest.
 
save    Save the present state of a guest to a file.
 
shutdown    Gracefully shuts down a guest.
 
suspend    Pauses a guest.
 
undefine    Deletes all files associated with a guest.
 
migrate    Migrates a guest to another host.
 
 
'''Misc :'''
 
version    Displays the version of virsh
 
nodeinfo    Outputs information about the hypervisor
 
 
 
 
 
'''Reset root password'''
 
 
append the following to the linux16 line at grub - init=bin/sh then control-x
 
 
<div style="color:#000000;">mount -o remount, rw /</div>
 
 
<div style="color:#000000;">( reset the password )</div>
 
 
<div style="color:#000000;"><span style="background-color:transparent;">touch /.autorelabel</span></div>
 
 
<div style="color:#000000;"><span style="background-color:transparent;">/sbin/init</span><span style="background-color:transparent;"> </span><span style="background-color:#ff6600;">this didnt work, couldnt connect to init daemon</span></div>
 
 
 
<div style="color:#000000;"><span style="background-color:transparent;">or /sbin/reboot</span></div>
 
 
 
 
 
 
 
 
 
'''11. Installing Software Packages'''
 
 
 
 
 
 
 
 
 
'''12. Scheduling Tasks'''
 
 
 
 
 
 
 
'''13. Configuring Logging'''
 
 
 
 
 
 
 
 
 
 
 
'''14. Managing Partitions'''
 
 
 
 
 
 
 
 
 
'''15. Managing LVM Logical Volumes'''
 
 
 
 
 
 
 
 
 
 
 
'''16. Basic Kernel Management'''
 
 
 
 
 
 
 
 
 
 
 
'''17. Configuring a Basic Apache Server'''
 

Latest revision as of 09:53, 7 August 2021