Pakistan lifts block on Twitter - ZDNet Asia: Pakistan lifts block on TwitterZDNet Asia59 Jakarta 10350, Indones... http://t.co/61n85ajh
15 minutes ago by semarang_photo on twitter
ZDNet is available in the following editions:
Nick Hardiman performs a Drupal install on his Amazon EC2 machine and provides a cheat sheet of the steps and commands that he used to do it.
Here's a holiday recipe for infrastructure nerds like me: how to build a working Drupal install on an EC2 machine. I build Drupal on my Amazon Basic Linux micro-instance, and not the more popular Ubuntu-flavoured AMIs. I'll cut straight to the action here, then explain why I've done it this way in a later post.
Below are the couple dozen commands required to make Drupal go, in the form of a cheat sheet. I have included very few explanations of the commands, config or anything else to make it easy to learn. This is all CLI voodoo, only understood by Linux sysadmins and other computer nerds.
The three key ingredients are PHP, MySQL, and Drupal. It should not be followed by anyone unwilling to spend time researching what on earth is going on and to waste time troubleshooting. In fact, a web developer could spend his entire career getting to know these ingredients.
Time taken to complete is wildly variable. If everything goes smoothly, this process can take minutes. If something goes wrong there is no end to the time that can get sucked up in troubleshooting. There is a huge amount that can go wrong here. I have made one simple mistake and wasted days trying to find it. Computers are unforgiving.
Install PHP
The first thing to cook up is a PHP processor. Follow these four steps (I often use four steps to build an enterprise application).
Install MySQL
Install a compiler
A compiler is used to build tools from source code. Not every optional extra is available as a binary installation package in Amazon's repository. Sometimes I need to compile code.
Security experts don't like the taste of a compiler on a production machine. They will not allow a compiler near the general public because of a history of abuse: in the right hands, it could give full system privileges.
yum install gcc
Install Drupal Copy
Configure
Clean up
Create a database and user
These are SQL commands, not shell commands.
The final piece of command line work is a restart of the Apache HTTP Server.
The next part involves configuring Drupal using a web browser.
The last part of the install process takes place in the new Drupal web site so it's time to stop using the command line and start using a web browser. The URL to use is along the lines of 'http://ec2-1-2-3-4.eu-west-1.compute.amazonaws.com/install.php". Typing this URL into a web browser instructs the web server to run a script named "install.php". This script guides you through the final steps.
Note: This install URL is an example, not a real one. The DNS name for your EC2 machine will definitely not contain the text "1-2-3-4″, and it may not have "eu-west-1″ either. If you copy this example URL into a web browser, it will fail to find the web site and display an error along the lines of "can't find ec2-1-2-3-4.eu-west-1.compute.amazonaws.com".
Test Drupal
View the resulting example homepage at http://ec2-1-2-3-4.eu-west-1.compute.amazonaws.com/.
Cool and serve
I've built it. Now the editors need to add content and I need to maintain it.
System administration will be ongoing. For instance, my Drupal site does not have much memory to play with, so if the site gets popular, that will need to be managed. If customers perceive my site as slow, I can speed it up by adding a cache, optimising the database, and complaining to editors about their page sizes.
Nick Hardiman works as a hands-on techie in the UK.
Pakistan lifts block on Twitter - ZDNet Asia: Pakistan lifts block on TwitterZDNet Asia59 Jakarta 10350, Indones... http://t.co/61n85ajh
15 minutes ago by semarang_photo on twitterPakistan lifts block on Twitter http://t.co/WHqoJOqm http://t.co/erFX4aVv #arcavir
15 minutes ago by V_RaV on twitterhttp://t.co/VNaZtseV Pakistan lifts block on Twitter: Country restores access after briefly ... http://t.co/5gqegFWK http://t.co/wiqY9ktt
15 minutes ago by RavtachSolution on twitterMac users' indifference toward security 'worrying'. http://t.co/i7gZ8WVn
30 minutes ago by zdnetasia on twitterMac users' indifference toward security 'worrying' - ZDNet Asia: Mac users' indifference toward security 'worryi... http://t.co/CD9pvW08
30 minutes ago by win7antivirus on twitterRT @zdnetasia: Mac users' indifference toward security 'worrying'. http://t.co/i7gZ8WVn
30 minutes ago by t_phuck on twitterMac users' indifference toward security 'worrying' - ZDNet Asia: USA TODAYMac users' indifference toward securit... http://t.co/4EUVidiO
30 minutes ago by Namosofts on twitterMac consumers indifferent about security, security vendors warn such mindset is "worrying" http://t.co/ZGIxdg67 #In
30 minutes ago by EllyZDNetAsia on twitterMac users take note! RT @zdnetasia: Mac users' indifference toward security 'worrying'. http://t.co/YrLB9btb #mac #apple
30 minutes ago by jolintan on twitterRT @zdnetasia: Mac users' indifference toward security 'worrying'. http://t.co/i7gZ8WVn
30 minutes ago by KevinZDNetAsia on twitterMac users' indifference toward security 'worrying': However, Mac users ZDNet Asia spoke to expressed indifferenc... http://t.co/15DulmWS
30 minutes ago by ArkinOttman54 on twitterRT @jolintan: Mac users take note! RT @zdnetasia: Mac users' indifference toward security 'worrying'. http://t.co/2RQkfCKt #mac #apple
30 minutes ago by ewenboey on twitterAPAC tech merger and acquisition in Q1 down but value up: http://t.co/V7UkMABl
30 minutes ago by CopenhagenINK on twitterMac users' indifference toward security 'worrying' - ZDNet Asia: Mac users' indifference toward security 'worryi... http://t.co/PINqvJxT
45 minutes ago by antivirusdown on twitterI reckon your view: "CRM is strategy, not software", if a company replicating the approach uses in ERP implementation into CRM, what they...
2 hours ago by wykoong on Gartner: Mobile CRM gives better ROI than socialThis video will teach you about the Excel fill handle but also provide you with a workook to download... http://www.youtube.com/watch?v=...
19 hours ago by TradeBrother on A quick fill handle trick for Microsoft Excelwaiting...
2 days ago by eapete on What should count in a company's market value?Boy, you've opened a can of worms now.
Wait for the rants & raves.
I was puzzling before this whether to replicate the success formula we executed for a financial institute, and come out with a standard s...
3 days ago by wykoong on Drop the egos, copy ideas, then innovateEchelon 2012 - The Awesomer Tech Event in Asia
Echelon 2012 – SEA’s longest running tech startup event goes Awesomer. Catch 50 of Asia’s most promising startups & over 40 international speakers on June 11-12.
Startup Asia Jakarta showcases new product-ready tech startups. Plus: hackathon, exhibition, and speakers. Use promo code CBSi50 for 50% discount.
ZDNet Asia Intelligent Singapore video series
Featuring inteviews with CXOs who define "intelligence" in their markets and reveal how their companies drive business efficiencies through ICT.