server

apt-get install openssh-server
apt-get install apache2
apt-get install mc
apt-get install mysql-server
apt-get install isc-dhcp-server
apt-get install bind9
apt-get install php7.0
apt-get install phpmyadmin
apt-get install php libapache2-mod-php php-mcrypt php-mysql
apt-get install dkms
apt-get install virtualbox-guest-additions-iso


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255

auto enp0s8
    1  sudo logout
    2  sudo poweroff
    3  sudo apt-get update
    4  sudo apt-cache search openssh
    5  sudo apt-get install openssh-client 
    6  sudo apt-get install openssh-server
    7  ping www.seznam.cz
    8  sudo apt-get update
    9  poweroff
   10  sudo apt-get update
   11  poweroff
   12  sudo poweroff
   13  s
   14  sudo apt-get install openssh-server 
   15  ifconfig
   16  cd /var/www/html/
   17  git clone https://github.com/731mat/TIMEkeeping---GRUNDYbike.git
   18  mc
   19  nano /etc/mysql/my.cnf
   20  sudo apt-get install mysql-server
   21  cat grundybike.sql 
   22  mysql -u root -p
   23  mysql -u root -p -d grundybike
   24  mysql -u root -p
   25  mysql -u root -p -D grundybike
   26  mysql -u root -p -D grundybike < grundybike.sql 
   27  mysql -u root -p -D grundybike
   28  mc
   29  sudo service apache2
   30  sudo service apache2 restart 
   31  sudo service mysql restart 
   32  poweroff
   33  sudo poweroff
   34  sudo apt-get install apache2
   35  cd /var/www/html/
   36  ls
   37  mc
   38  sudo apt-get install mc
   39  mc
   40  sudo mc
   41  cd ..
   42  chmod mat:mat html/
   43  chown mat:mat html/
   44  csudo hown mat:mat html/
   45  sudo hown mat:mat html/
   46  sudo chown mat:mat html/
   47  ls -l
   48  cd html/
   49  sudo apt-get install git
   50  ifconfig
   51  ping 192.168.1.2
   52  sudo poweroff
   53  ifconfig
   54  ifconfig eth0
   55  dmesg 
   56  sudo mcedit /etc/network/interfaces
   57  sudo /etc/init.d/networking restart 
   58  ifconfig
   59  ping www.seznam.cz
   60  route -n
   61  sudo apt-get update
   62  export http_proxy="192.168.1.1:800"
   63  export https_proxy="192.168.1.1:800"
   64  sudo apt-get update
   65  sudo su
   66  ifconfig
   67  sudo su
   68  cd /etc/dhcp/d
   69  cd /etc/dhcp/
   70  ls
   71  sudo nano dhcpd.conf 
   72  exit
   73  ifconfig
   74  poweroff
   75  cd /var/www/html/
   76  sudo mc
   77  cd ..
   78  sudo chown mat:mat html/
   79  ls -l
   80  cd html/
   81  exit
   82  chown www-data.www-data -R ./temp
   83  sudo chown www-data.www-data -R ./temp
   84  sudo chown www-data.www-data -R ./log
   85  sudo su -
   86  ifconfig
   87  cd /var/www/html/
   88  ping www.seznam.cz
   89  ifconfig
   90  history|grep enp0s8
   91  history|grep enp
   92  history|grep up
   93  sudo su
   94  sudo ifconfig enp0s8 down
   95  ping www.seznam.cz
   96  ifconfig
   97  sudo ifconfig enp0s8 down
   98  sudo ifconfig enp0s8 up
   99  sudo ifconfig enp0s3 down
  100  ifconfig
  101  ping www.seznam.cz
  102  sudo ifconfig enp0s3 up
  103  mc
  104  ifconfig
  105  sudo /etc/init.d/networking restart 
  106  ifconfig
  107  cd ..
  108  sudo mcedit grundybike
  109  sudo mkdir grundybike
  110  sudo chown mat:mat grundybike/
  111  cd /etc/apache2/
  112  cd conf-enabled/
  113  sudo mcedit serve-cgi-bin.conf 
  114  ls -l
  115  cd ..
  116  ls -l
  117  cd sites-enabled/
  118  ls
  119  sudo mcedit 000-default.conf 
  120  cd ../sites-available/
  121  sudo mcedit 000-default.conf 
  122  cd /var/www/
  123  ls
  124  cd grundybike/
  125  ls
  126  ls -l
  127  cd /etc/apache2/
  128  cd sites-enabled/
  129  sudo mcedit 000-default.conf 
  130  cd /var/www/
  131  ls -l
  132  /etc/init.d/apache restart
  133  /etc/init.d/apache2 restart
  134  mcedit /etc/apache2/sites-enabled/000-default.conf 
  135  sudo mcedit /etc/apache2/sites-enabled/000-default.conf 
  136  cd grundybike/www/
  137  ůs
  138  ls
  139  /etc/init.d/apache2 restart
  140  mc
  141  ps ax
  142  mysql -u root -p
  143  mc
  144  tail -f /var/log/apache2/error.log 
  145  tail -f /var/log/apache2/access.log 
  146  ps axu|grep apache
  147  mc
  148  ifconfig
  149  ping www.seznam.cz
  150  sudo service bind9 stop 
  151  ping www.seznam.cz
  152  ifconfig
  153  sudo ifconfig enp0s3 down
  154  ping www.root.cz
  155  cat /etc/resolv.conf 
  156  ping www.root.cz
  157  route -n
  158  ping 192.168.1.1
  159  ping www.root.cz
  160  cat /etc/resolv.conf 
  161  ping www.root.cz
  162  ping www
  163  cat /etc/resolv.conf 
  164  sudo /etc/init.d/networking restart
  165  route -n
  166  sudo ifconfig enp0s3 down
  167  ifconfig 
  168  ping www.root.cz
  169  /etc/init.d/bind9 restart
  170  ping www.root.cz
  171  /etc/init.d/bind9 stop
  172  ping www.root.cz
  173  cat /etc/resolv.conf 
  174  /etc/init.d/resolvconf 
  175  /etc/init.d/resolvconf  restart
  176  ping www.root.cz
  177  /etc/init.d/resolvconf  stop
  178  ping www.root.cz
  179  ping 192.168.1.36
  180  ping www.root.cz
  181  sudo su -
  182  exit
  183  poweroff
  184  ifconfig
  185  ping ww.seznam.cz
  186  sudo apt-get install phpmyadmin
  187  sudo apt-get update
  188  ping ww.seznam.cz
  189  ifconfig
  190  sudo /etc/init.d/networking restart 
  191  ifconfig
  192  sudo service bind9 stop 
  193  ifconfig enp0s3 down
  194  sudo ifconfig enp0s3 down
  195  ping www.seznam.cz
  196  sudo apt-get update
  197  sudo apt-get install php7
  198  sudo apt-get install php7.0
  199  sudo ifconfig enp0s3 up
  200  sudo service bind9 start 
  201  reboot
  202  sudo service bind9 stop 
  203  sudo ifconfig enp0s3 down
  204  ifconfig
  205  sudo service networking restart 
  206  sudo apt-get install phpmyadmin
  207  sudo ifconfig enp0s3 up
  208  sudo service bind9 start 
  209  resratr
  210  restart
  211  reboot
  212  sudo service bind9 stop 
  213  sudo ifconfig enp0s3 down
  214  sudo apt-get update
  215  ifconfig
  216  sudo service networking restart 
  217  sudo apt-get update
  218  sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
  219  sudo ifconfig enp0s3 up
  220  sudo service bind9 start 
  221  reboot
  222  [A
  223  cd /var/www/grundybike/temp/
  224  ls
  225  mc
  226  cd /etc/apache2/
  227  sudo mc
  228  sudo service apache2 restart 
  229  sudo mc
  230  sudo service apache2 restart 
  231  sudo mc
  232  sudo service apache2 restart 
  233  sudo sites-available/
  234  sudo mcedit sites-available/default-ssl.conf 
  235  cd ..
  236  cd apache2/
  237  sudo mc
  238  sudo service apache2 restart 
  239  sudo reboot
  240  tail -f /var/log/apache2/error.log 
  241  cd /etc/apache2/
  242  sudo mc
  243  sudo service apache2 restart 
  244  poweroff
  245  exit
  246  tail /var/log/apache2/error.log 
  247  tail /var/log/apache2/access.log 
  248  tail /var/log/apache2/other_vhosts_access.log 
  249  tail /var/log/apache2/error.log 
  250  cd /etc/apache2/
  251  sudo mc
  252  sudo service apache2 restart 
  253  sudo mc
  254  sudo service apache2 restart 
  255  sudo mc
  256  mc
  257  sudo su -
  258  htop
  259  sudo apt-get install htop
  260  top
  261  sudo nano  /lib/systemd/system/networking.service .
  262  top
  263  ls
  264  top
  265  poweroff
  266  cd /var/www/grundybike/
  267  sudo mc
  268  history
  269  history |grep cown
  270  history |grep chown
  271  sudo chown www-data:www-data -R ./temp/
  272  sudo chown www-data:www-data -R ./log/
  273  sudo chown www-data:www-data -R ./log/ 
  274  cd ..
  275  poweroff
  276  cd /var/www/grundybike/app/presenters/templates/
  277  cd Vysledky/
  278  ls
  279  nano sub.latte 
  280  ls
  281  nano kategorie.latte 
  282  cd ..
  283  ls
  284  sudo mc
  285  poweroff
  286  sudo poweroff
  287  eyit
  288  exit
  289  poweroff
  290  mysql -u root -p
  291  exit
  292  ifconfig
  293  cd /var/www/grundybike/app/
  294  ls
  295  mc
  296  exit
  297  time
  298  date
  299  poweroff
  300  sudo apt-get insatlldkms
  301  sudo apt-get insatll dkms
  302  sudo apt-get install dkms
  303  sudo service bind9 stop
  304  sudo apt-get install dkms
  305  poweroff
  306  ifconfig
  307  ifdown enp0s3
  308  sudo ifdown enp0s3
  309  sudo service bind9 stop
  310  sudo apt-get install dkms
  311  sudo apt-get update
  312  sudo apt-get install dkms
  313  sudo apt-get install virtualbox-guest-additions
  314  sudo apt-get install virtualbox-guest-additions-iso 
  315  date
  316  poweroff
  317  logout
  318  ifconfig
  319  exit
  320  sudo poweroff
  321  cd /var/www/grundybike/
  322  ld
  323  ls
  324  mc
  325  cd /etc/mysql/
  326  mc
  327  sudo mc
  328  sudo service mysql restart
  329  cd /var/www/grundybike/app/model/
  330  mc
  331  cat RaceManager.php 
  332  cat SouteziciManager.php 
  333  cat RaceManager.php 
  334  cat SouteziciManager.php 
  335  sudo shutdown
  336  sudo poweroff
  337  htistory
  338  history
  339  sudo poweroff
  340  ifconfig
  341  sudo poweroff
  342  nano SouteziciPresenter.php 
  343  exit
  344  sudo poweroff
  345  reboot
  346  ifconfig
  347  cat /etc/network/interfaces
  348  reboot
  349  poweroff
  350  sudo su
  351  sudo poweroff
  352  ifconfig
  353  sudo poweroff
  354  history
  355  history|grep mys
  356  mysql -u root -p -D grundybike
  357  poweroff
  358  ifconfig
  359  mat
  360  sudo poweroff
  361  cd /var/www/grundybike/app/presenters/templates/
  362  ls
  363  cd Vysledky/
  364  nano kategorie.latte 
  365  ls
  366  nano default.latte 
  367  nano kategorie.latte 
  368  cd ../../
  369  cd temp/
  370  ls
  371  sudo mc
  372  exit
  373  sudo poweroff
  374  poweroff
  375  ifconfig
  376  poweroff
  377  htop
  378  top
  379  exit
  380  sudo poweroff