Ayşad Kozanoğlu

Linux Server System
operator / administrator

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#3ed72b',
      'primaryTextColor': '#000',
      'primaryBorderColor': '#000',
      'lineColor': '#fff',
      'secondaryColor': '#e6f01b',
      'tertiaryColor': '#fff'
    }
  }
}%%


flowchart LR
   id1[/cgi-fcgi/]
   id2[/php-fpm /]
   id3[ get status]
   id4[/metrics/]
   id5[/processid/]
   id6[/state/]
   id7[/requests /]
   id8[/duration/]
   id1-->id2
   id2-->id3
   id3-->id4
   id3-->id5
   id3-->id6
   id3-->id7
   id3-->id8

Overview

  • console
    • php
      • fpm pool
      • get pool status
        • metrics
        • processid
        • state
        • requests
        • duration
        • cpu load
        • request memory
Read more »

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#3ed72b',
      'primaryTextColor': '#000',
      'primaryBorderColor': '#000',
      'lineColor': '#fff',
      'secondaryColor': '#e6f01b',
      'tertiaryColor': '#fff'
    }
  }
}%%


flowchart LR
   id1[/vagrant/]
   id2[/Vagrantfile /]
   id3[ define machine image Debian]
   id4[/provision/]
   id5[/virtualbox provider/]
   id6[/startup/]
   id7[/shutdown /]
   id8[/destroy/]
   id2-->id3
   id3-->id1
   id1-->id5
   id5-->id4
   id4-->id6
   id4-->id7
   id7-->id8

Overview:

  • install vagrant and virtualbox
  • create new folder and Vagrantfile to provisining machines
  • vagrant provisioning machines
    • start
    • list
    • shutdown
    • destroy
Read more »

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#3ed72b',
      'primaryTextColor': '#000',
      'primaryBorderColor': '#000',
      'lineColor': '#fff',
      'secondaryColor': '#e6f01b',
      'tertiaryColor': '#fff'
    }
  }
}%%


flowchart LR
   id1[/virtual Disk/]
   id3[/ ctryptsetup/]
   id2[LUKS 
format
encrypt
passphrase] id9[/format ext4/] id10[/open /] id5[/mount/] id6[/detach /] id7[/close /] id1-->id3 id3-->id2 id2-->id10 id10-->id9 id10-->id5 id5-->id6 id5-->id7

overview

  • install cryptsetup
  • creating virtual disk with dd
  • format and encrypt virtaul disk with cryptsetup
    • setpassphrase
  • opening encrypted virtual disk with cryptsetup
    • format virtual disk with ext4 mkfs
    • create mountpoint with mkdir
    • mount LUKS opened disk to mointpoint
    • detach mount
    • close LUKS
Read more »

%%{
  init: {
    'theme': 'base',
    'themeVariables': {
      'primaryColor': '#3ed72b',
      'primaryTextColor': '#000',
      'primaryBorderColor': '#000',
      'lineColor': '#fff',
      'secondaryColor': '#e6f01b',
      'tertiaryColor': '#fff'
    }
  }
}%%


journey
    title openssl aes-256  encryption interactive mode
    section on Console
      openssl : 5: use case
      aes-256-cbc: 5: use case
      enter text: 5: use case
      enter secret: 5: use case
      hash: 5: use case

Overview

  • console interactive mode
    • openssl
      • aes-256 algorithm
      • encryption
      • decryption
      • aes-256 hash
      • passphrase protected
Read more »
0%