• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Basic Rackspace cloud server configuration  (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin
 

Basic Rackspace cloud server configuration (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin

on

  • 2,002 views

Basic Rackspace cloud server configuration (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin

Basic Rackspace cloud server configuration (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin

Statistics

Views

Total Views
2,002
Views on SlideShare
2,002
Embed Views
0

Actions

Likes
0
Downloads
20
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Basic Rackspace cloud server configuration  (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin Basic Rackspace cloud server configuration (Linux) WebServer & DNS PHP , mySQL , PHPMyAdmin Presentation Transcript

    • Basic Rackspace cloud server Configuration WebServer & DNS PHP , mySQL , PHPMyAdmin by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • Login withTerminal via Rackspace Control panel by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 1 Friday, July 12, 13
    • Add RSA Key by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • sudo passwd Change root password first ! by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • sudo apt-get install apache2 Install Apache2 for WebServer by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • Add Domain name to Cloud Server by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • Test Domain by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • sudo apt-get install mysql-server mysql-common mysql-client Install mySQLSever , PHP5 , phpMyAdmin sudo apt-get install php5-common php5-gd libapache2-mod-auth-mysql php5-mysql apache2- mpm-prefork libapache2-mod-php5 php5 php5-cli sudo apt-get install phpmyadmin mySQLSever PHP5 phpMyAdmin sudo service apache2 restart restart apache2 sudo nano /etc/apache2/apache2.conf Include /etc/phpmyadmin/apache.conf Add new Line into Last line of file ‘/etc/apache2/apache2.conf’ by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 $ mysql -u root -p Friday, July 12, 13
    • Change mySQLSever root password Access mySQL console by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 mysql -u root -p mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; mysql> GRANT ALL PRIVILEGES ON newuser.* TO 'user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; Create new mysql user Create new mysql user mysqladmin -u root -p'oldpassword' password newpassword Change mySQL password Friday, July 12, 13
    • Include phpMyAdmin to WebServer phpMyAdmin sudo service apache2 restart restart apache2 sudo nano /etc/apache2/apache2.conf 1 2 3 Add line Control + O Control + X by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • Test phpMyAdmin by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • http://www.rackspace.com/knowledge_center/article/ rackspace-cloud-essentials-5-ubuntu-installing-vsftpd Install vsFTPd for upload files sudo chmod -R 777 /var/www change folder permission Step by Step by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
    • Add new user for FTP useradd -> Low level command by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 sudo useradd -d /var/www -m evrdi sudo passwd evrdi adduser -> High level command sudo adduser evrdi Change Home Directory sudo nano /etc/passwd 1 Friday, July 12, 13
    • Install cURL Module for Rackspace API Install cURL Module by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 sudo apt-get install curl libcurl3 libcurl3-dev php5-curl sudo service apache2 restart php -m Friday, July 12, 13