Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Het Combell Shared Hosting Platform kan meer dan u denkt - Combell partnerdag 2017

Thijs Feryn
October 12, 2017

Het Combell Shared Hosting Platform kan meer dan u denkt - Combell partnerdag 2017

Thijs Feryn

October 12, 2017
Tweet

More Decks by Thijs Feryn

Other Decks in Technology

Transcript

  1. ✓Recente versies ✓Configureerbare PHP.ini instellingen ✓Composer ✓Git ✓SSH ✓OpCache ✓PHP-FPM

    ✓Memory limit ✓Workers ✓CLI ✓MySQL ✓Redis ✓Memcached PHP hosting best practices
  2. ✓Webservers ✓Storage servers ✓Management servers ✓MySQL servers ✓SSH servers ✓Redis

    servers ✓Memcached servers ✓Varnish servers ✓Authenticatie servers ✓DNS servers ✓POP3/IMAP servers ✓SMTP servers ✓Anti-SPAM servers Serverrollen
  3. ➜ ~ ssh [email protected] sharedhostingferyneu@com-linssh018:~# ls cgi-bin data logs php

    subsites tmp www sharedhostingferyneu@com-linssh018:~# SSH sessie
  4. ➜ ~ sftp [email protected] ************************************************************** * * * * *

    Unauthorized access to this * * system/network is prohibited. * * * * * ************************************************************** Connected to ssh.sharedhosting.feryn.eu. sftp> ls cgi-bin data logs php subsites tmp www
  5. ➜ scp -r . [email protected]:~/test ************************************************************** * * * *

    * Unauthorized access to this * * system/network is prohibited. * * * * * ************************************************************** file1.txt 100% 12KB 196.3KB/s 00:00 file2.txt 100% 7733 252.2KB/s 00:00
  6. ➜ rsync -vr . [email protected]:~/test ************************************************************** * * * *

    * Unauthorized access to this * * system/network is prohibited. * * * * * ************************************************************** building file list ... done file1.txt file2.txt sent 279 bytes received 244 bytes 1046.00 bytes/sec total size is 20204 speedup is 38.63
  7. sharedhostingferyneu@com-linssh018:~/test# git clone https:// github.com/ThijsFeryn/cacheable-site-silex.git . Cloning into '.'... remote:

    Counting objects: 157, done. remote: Total 157 (delta 0), reused 0 (delta 0), pack-reused 157 Receiving objects: 100% (157/157), 31.64 KiB | 0 bytes/s, done. Resolving deltas: 100% (71/71), done.
  8. ✓ Binair protocol ✓ Syntax is zelfde als HTTP/1.1 ✓

    Meerdere requests over één connectie multiplexen ✓ Header compressie ✓ Server push HTTP/2
  9. <?php $r = new Redis(); $r->connect(’176.62.167.157’, 10033); $r->auth(‘password'); $r->set('foo', 100);

    var_dump($r->get(‘foo’)); $r->incr(‘foo'); $r->incrBy('foo', 10); $r->hSet(‘k’,'foo','value1');
  10. bool apcu_store ( string $key , mixed $var [, int

    $ttl = 0 ] ) mixed apcu_fetch ( mixed $key [, bool &$success ] ) bool apcu_delete ( mixed $key ) mixed apcu_exists ( mixed $keys )