    1  traceroute 192.168.155.50
    2  route add 192.168.154.0/24 via 192.168.156.253 dev ens32
    3  ip route add 192.168.154.0/24 via 192.168.156.253 dev ens32
    4  ip route add 192.168.155.0/24 via 192.168.156.253 dev ens32
    5  ping 192.168.155.50
    6  mkdir routing
    7  nano routing/routes.sh
    8  which ip
    9  nano routing/routes.sh
   10  chmod +x routing/routes.sh 
   11  crontab -e 
   12  ls -la
   13  cd routing/
   14  ls -la
   15  cd
   16  cat routing/routes.sh 
   17  exit
   18  mkdir routing
   19  exit
   20  exit
   21  ls -la
   22  exit
   23  nano .bashrc 
   24   bash
   25  nano .bashrc 
   26   bash
   27  exit
   28  nano /etc/ssh/sshd_config 
   29  service ssh restart
   30  hostname -i
   31  ip address
   32  apt-get install htop
   33  apt-get update -y && apt-get upgrade -y
   34  ifdown ens32 
   35  ifup ens32 
   36  apt-get update -y && apt-get upgrade -y
   37  apt -y install wget php php-cgi php-mysqli php-pear php-mbstring libapache2-mod-php php-common php-phpseclib php-mysql
   38  apt -y install wget php php-cgi php-mysqli php-pear php-mbstring libapache2-mod-php php-common php-phpseclib php-mysql
   39  apt -y update
   40  apt -y install curl software-properties-common gnupg2
   41  apt -y upgrade
   42  reboot
   43  curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
   44  sudo bash mariadb_repo_setup --mariadb-server-version=10.5
   45  bash mariadb_repo_setup --mariadb-server-version=10.5
   46  apt update
   47  apt install mariadb-server mariadb-client
   48  mariadb-secure-installation
   49  mariadb-secure-installation
   50  mysql -u root -p
   51  apt-get -y install wget apache2
   52  DATA="$(wget https://www.phpmyadmin.net/home_page/version.txt -q -O-)"
   53  URL="$(echo $DATA | cut -d ' ' -f 3)"
   54  VERSION="$(echo $DATA | cut -d ' ' -f 1)"
   55  wget https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.gz
   56  tar xvf phpMyAdmin-${VERSION}-all-languages.tar.gz
   57  ls -la
   58  mv phpMyAdmin-*/ /usr/share/phpmyadmin
   59  mkdir -p /var/lib/phpmyadmin/tmp
   60  chown -R www-data:www-data /var/lib/phpmyadmin
   61  mkdir /etc/phpmyadmin/
   62  cp /usr/share/phpmyadmin/config.sample.inc.php  /usr/share/phpmyadmin/config.inc.php
   63  nano /usr/share/phpmyadmin/config.inc.php
   64  nano /etc/apache2/conf-enabled/phpmyadmin.conf
   65  systemctl restart apache2
   66  ip address
   67  nano /usr/share/phpmyadmin/config.inc.php
   68  service mariadb restart
   69  ls -la
   70  mariadb -u root -p
   71  mariadb -u root -p
   72  mariadb -u root -p
   73  nano /etc/mysql/mysql.conf.d/mysqld.cnf
   74  ps -aux | grep maria
   75  ps -ef | grep -i mysql
   76  netstat -ant | grep  3244
   77  netstat -ant | grep 3244
   78  apt-get install netstat
   79  nano /etc/mysql/my.cnf
   80  nano /etc/mysql/my.cnf 
   81  nano /etc/mysql/my.cnf 
   82  netstat -ant | grep 3306
   83  lsof -i -P -n
   84  nano /etc/mysql/my.cnf
   85  systemctl restart mariadb
   86  lsof -i -P -n
   87  mysql -u root -p
   88  mysql -u root -p
   89  nano /etc/mysql/my.cnf
   90  ls /etc/mysql/mysql.conf.d/mysqld.cnf
   91  systemctl restart mariadb
   92  mysql -u root -p
   93  ip address
   94  mysql -u root -p
   95  lsof -i -P -n
   96  mysql -u root -p
   97  exit
   98  ping 8.8.8.8
   99  ip address
  100  ip address
  101  ifdown ens32
  102  ifup ens32
  103  cat /etc/network/interfaces
  104  ip address
  105  ip address
  106  ifdown ens32
  107  ifup ens32
  108  exit
  109  nano /etc/hosts.allow 
  110  exirt
  111  exit
  112  cat /etc/hosts.allow 
  113  cat /etc/hosts.deny
  114  cat /etc/hosts.deny
  115  exit
  116  cat /etc/hosts.deny 
  117  exit
  118  cat /etc/hosts.deny 
  119  exit
  120  ls -l
  121  cat mariadb_repo_setup 
  122  ls -l
  123  ping 8.8.8.8
  124  ip a
  125  cat /etc/apache2/sites-available/000-default.conf 
  126  cat /etc/apache2/sites-enabled/000-default.conf 
  127  ls -l
  128  mariadb
  129  history
  130  history | less
  131  nano /etc/apache2/conf-enabled/phpmyadmin.conf 
  132  df -h
  133  history 
  134  history  >> history_hermes-ws-bdd
