Skip to main content

Amazon EC2 Bitnami Wordpress on Ubuntu Server installation Tips

1. How to access your WordPress Blog:


After you successfully lauched the instance, use the public DNS or IP address to connect your website:

The WordPress default user name is "user"

Password is generated randomly, and stored in the system log. You access the log at Actions > Instance Settings > Get system log.

After you login to WordPress dashboard, you may change your admin password, or add another user as administrator.

2. Connect to the Ubuntu server.


You should note that a public key is required to connect the server, so you'd better generate a new key when you start launching an instance, and download the the .pem file.

Putty need a private key to login, you need PuttyGen to generate a private key.

Login user name is "bitnami" with the private key.

3. Access to database using phpmyadmin from a browser.


The database can only be accessed from localhost, 127.0.0.1, so you need a open a tunnel to do that. Open a putty new session when you use Windows, fill in the host DNS and authorisation as described above, then, use connection > Tunnels command to add source port and destination, and click add.

While the tunnel is open, you could access the database from your browser, http://127.0.0.1:8888/phpmyadmin/. And the password is the same as WordPress admin password that is used to access to the control panel.

4. Add a domain name to your WordPress website.


Go to your domain registrar, and add a new A (adress), after couple of minutes (almost instantly), it become alive online. The good thing is WordPress can update the URL automatically, when you visit by custom url.

5. Upload files with SFTP


You also use the private key to connect your EC2 Ubuntu server, and upload your files. In my case, I use FileZilla, use "Edit > Settings" command to bring up the Configuration Settings, and within the "Connect > SFTP" use add keyfile command to select the private key file for the server. Please note that user name is "Bitnami", and logon type, choose "Ask for password", then when it asks for password, just confirm without a password.

6. Sendmail

At first, I tried phpmail() function to send email without success, the problem is that sendmail installed under the /usr/sbin/, I created a symlink to /usr/bin/, then it works:

$ sudo apt-get update
$ sudo apt-get install sendmail
$ sudo ln -s /usr/sbin/sendmail /usr/bin/sendmail

Some say that Amazon only allows 25 emails per month, but I am not sure about this number.

Comments

Blogger said…
You could be qualified to get a $1,000 Amazon Gift Card.
Blogger said…
BlueHost is ultimately one of the best web-hosting provider with plans for any hosting requirements.

Popular posts from this blog

How to Input Phonetic Symbols (IPA) in Google Docs

You can insert special characters by clicking "Insert" on the menu, then click the "Ω Special Characters", the choose "Latin" category from the drop-down menu, and then Phonetics (IPA) sub-category.

There is a short-cut for inputting some IPA symbols which you use them frequently. Automatic Substitution in Google Docs similar to Auto Correct in MS Word. You can replace common acronyms, misspellings and other symbols. So you can set auto-replace for your IPA symbols, for example, "e<" for "ɛ", "o/" for "ø", "o>" for "ɔ" etc.

Virgin Media Netgear Wireless Router Username and Password

As Virgin Media customer, if you find your wireless router is Netgear, then you may type the router's setup URL into a web browser address bar. http://192.168.0.1 is the default Netgear router IP address. http://192.168.1.1 will work for some Netgear models. Mine setup URL is http://192.168.1.1.

Then you are required to enter a username and password. If you haven't change the default setting, it is "virgin" and "password", you may find that on a label stuck on the router.

This default username and password of Virgin Wireless router is different from that of the normal Netgear router. The default username of Netgear is admin and the password is either password or 1234.

Then you open the configure interface, change the settings, such as change your DNS server to OpenDNS.

For a normal Netgear router, if you forget the username and password, you can reset and restore the NETGEAR device to factory default settings. But I couldn't find any button on my router…

URL cannot contain a Google host

Google just opened up Knol to the public. Knol is also serving up AdSense advertising on the site. Authors on Knol can enter their AdSense data into Knol, and will get the regular AdSense payout for every click on an ad. This seems like a smart way to reward users who write the best (or most popular) content, while still making money for Google, because the cut Google already takes from the advertising through AdSense anyway.

Currently, I don't know how may we track ads performance on knol, I tried to add an URL channel, and got error message:

"http://knol.google.com/k/-/k3-searching-tv-programs-using-teletext/2p3t2lhf3x6sj/6#" at line 1 invalid: URL cannot contain a Google host.

Has anybody any idea of how to do it?