SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
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

Más contenido relacionado

Más de Eakapong Kattiya

(31 July 2013) iOS Basic Development Day 2 Human interface design
(31 July 2013) iOS Basic Development Day 2 Human interface design (31 July 2013) iOS Basic Development Day 2 Human interface design
(31 July 2013) iOS Basic Development Day 2 Human interface design Eakapong Kattiya
 
Android basic 4 Navigation Drawer
Android basic 4 Navigation DrawerAndroid basic 4 Navigation Drawer
Android basic 4 Navigation DrawerEakapong Kattiya
 
Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )Eakapong Kattiya
 
Android Basic Development Day 1 Introduction & ADT
Android Basic Development Day 1 Introduction & ADTAndroid Basic Development Day 1 Introduction & ADT
Android Basic Development Day 1 Introduction & ADTEakapong Kattiya
 
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework Eakapong Kattiya
 
(1 July 2013) iOS Basic Development Day 5 - Submit to App Store
(1 July 2013) iOS Basic Development Day 5 - Submit to App Store(1 July 2013) iOS Basic Development Day 5 - Submit to App Store
(1 July 2013) iOS Basic Development Day 5 - Submit to App StoreEakapong Kattiya
 
Iphone developer advance twitter
Iphone developer advance   twitterIphone developer advance   twitter
Iphone developer advance twitterEakapong Kattiya
 
iOS Advance Development - Social Media
iOS Advance Development - Social MediaiOS Advance Development - Social Media
iOS Advance Development - Social MediaEakapong Kattiya
 
Iphone developer advance location based
Iphone developer advance location basedIphone developer advance location based
Iphone developer advance location basedEakapong Kattiya
 

Más de Eakapong Kattiya (11)

(31 July 2013) iOS Basic Development Day 2 Human interface design
(31 July 2013) iOS Basic Development Day 2 Human interface design (31 July 2013) iOS Basic Development Day 2 Human interface design
(31 July 2013) iOS Basic Development Day 2 Human interface design
 
Android basic 4 Navigation Drawer
Android basic 4 Navigation DrawerAndroid basic 4 Navigation Drawer
Android basic 4 Navigation Drawer
 
Android basic 2 UI Design
Android basic 2 UI DesignAndroid basic 2 UI Design
Android basic 2 UI Design
 
Android basic 3 Dialogs
Android basic 3 DialogsAndroid basic 3 Dialogs
Android basic 3 Dialogs
 
Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )
 
Android Basic Development Day 1 Introduction & ADT
Android Basic Development Day 1 Introduction & ADTAndroid Basic Development Day 1 Introduction & ADT
Android Basic Development Day 1 Introduction & ADT
 
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework
iOS Basic Development Day 2 - Objective-C 2.0 & iOS Framework
 
(1 July 2013) iOS Basic Development Day 5 - Submit to App Store
(1 July 2013) iOS Basic Development Day 5 - Submit to App Store(1 July 2013) iOS Basic Development Day 5 - Submit to App Store
(1 July 2013) iOS Basic Development Day 5 - Submit to App Store
 
Iphone developer advance twitter
Iphone developer advance   twitterIphone developer advance   twitter
Iphone developer advance twitter
 
iOS Advance Development - Social Media
iOS Advance Development - Social MediaiOS Advance Development - Social Media
iOS Advance Development - Social Media
 
Iphone developer advance location based
Iphone developer advance location basedIphone developer advance location based
Iphone developer advance location based
 

Último

Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Último (20)

Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

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

  • 1. 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
  • 2. 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
  • 3. Add RSA Key by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
  • 4. sudo passwd Change root password first ! by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
  • 5. 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
  • 6. Add Domain name to Cloud Server by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
  • 7. Test Domain by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. Test phpMyAdmin by Eakapong Kattiya www.ibluecode.com eak.k@ibluecode.com +66 086-673-2111 Friday, July 12, 13
  • 12. 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
  • 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
  • 14. 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