server works n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Server works PowerPoint Presentation
Download Presentation
Server works

Loading in 2 Seconds...

play fullscreen
1 / 10

Server works - PowerPoint PPT Presentation


  • 153 Views
  • Uploaded on

Server works. HTML5 CSS3 Bootstrap 3.x. Likipe Servers. Dev Server – Web1/Web2. WHS Add new site Change/reset password Deactivate site cPanel File Management Phpmyadmin DNS Backup Log Install application. Production Server - VPS. Glesys Create new VPS Extend the memory/storage

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Server works' - aladdin-davidson


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
server works

Server works

HTML5

CSS3

Bootstrap 3.x

dev server web1 web2
Dev Server – Web1/Web2
  • WHS
    • Add new site
    • Change/reset password
    • Deactivate site
  • cPanel
    • File Management
    • Phpmyadmin
    • DNS
    • Backup
    • Log
    • Install application
production server vps
Production Server - VPS
  • Glesys
    • Create new VPS
    • Extend the memory/storage
  • SSH
    • SSH access is the only way to work with server
    • Mysql: access over SSH
moving from dev to pro server
Moving from Dev to Pro server
  • Step1: LEMP install in VPS
    • http://lab.likipe.se/likipe/lemp/wikis/home
  • Step2: Moving source + db
    • http://lab.likipe.se/likipe/lemp/wikis/magento-deploy
  • Step3: Settings
    • DNS
    • Cronjobs
  • Step4: Deactivate the old server
    • HTTP Basic Auth
    • die()
slide6
LEMP
  • Root:
    • /home/{site}/www/public_html
  • Nginxconfig:
    • /etc/nginx/sites-enabled/default
  • Logs
    • /var/log/nginx/{site}.error.log
lemp nginx
LEMP - Nginx

server {

listen 80; ## listen for ipv4; this line is default and implied

listen [::]:80 default ipv6only=on; ## listen for ipv6

root /home/{SITE_NAME}/www/public_html;

index index.php index.html index.htm;

access_log /var/log/nginx/{SITE_NAME}.access.log;

error_log /var/log/nginx/{SITE_NAME}.error.log;

# Make site accessible from http://localhost/

server_name {DOMAIN};

location / {

try_files $uri $uri/ /index.php?$args; }

location ~ \.php$ {

fastcgi_passunix:/var/run/php5-fpm.sock;

fastcgi_indexindex.php;

include fastcgi_params;

}

}

commands
Commands
  • Permission
    • sudo
    • chmod
    • chown
  • File
    • tail –f
    • vim
    • cp
    • echo xxx > file.php
commands1
Commands
  • Server
    • sudo service nginx reload
    • sudo service php5-fpm restart
    • top
    • apt-get install
suggestion
Suggestion
  • Eclipse PDT – Remote Team
    • FTP/SFTP/SSH/Terminal
    • Historical logs
  • Sublime with “Vintage” mode