Skip to content

Add a new web server on Scaleway

terenceng2010 edited this page Jan 25, 2016 · 6 revisions

Add ssh key on credential

or https://stevenwilliamalexander.wordpress.com/2012/11/07/ubuntu-1204-install-joomla-with-lemp/

dan@LG1:~$ ssh [email protected] The authenticity of host '212.47.240.52 (212.47.240.52)' can't be established. RSA key fingerprint is c0:18:32:18:de:b6:42:7c:e3:35:2c:6c:83:5d:b4:44. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '212.47.240.52' (RSA) to the list of known hosts.

Welcome on LEMP on Scaleway' C1.

  • Kernel: GNU/Linux 3.2.34-30 armv7l - Marvell (Proprietary) - This kernel has the best performances on this hardware - For mainline kernel with latest features and plenty of modules, use a 3.17 kernel instead
  • Distribution: LEMP (2015-09-01) on Ubuntu 14.04.2 LTS
  • Internal ip: 10.1.33.10
  • External ip: 212.47.240.52
  • Disk /dev/nbd0: scw-app-lemp-latest-2015-09-01_20:43 (l_ssd 50G)
  • Uptime: 02:01:55 up 1 min, 0 users, load average: 1.19, 0.32, 0.11

Links

Welcome to the LEMP image, this is a playground upon which you can build and deploy PHP/MySQL applications, the following are installed and configured:

  • nginx
  • memcached
  • php (with useful modules such as APC, gd, ...)
  • mysql
  • phpmyadmin
  • composer

The folder /var/www/my_website contains your website (for now, it is a phpinfo).

Useful links:

The MySQL credentials are:

  • login: root
  • password: 810c141ad20c3bcf9637cf8bea4d30a3aea76014

Your website configuration lies at:

  • /etc/nginx/sites-available/my_website

We recommend you to have a look at it (if you need to disable phpmyadmin or to add a domain name, this is the place you are looking for).

Enjoy! Last login: Mon Jan 25 02:01:56 2016 from 14.136.243.17

also need to run chown -R www-data:www-data/var/www/my_website , because php process is run as user www-data, or it cant write files