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. Insert Special Characters in Google Docs 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. Automatic Substitutions in Google Docs

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 ...

Vodafone Router Configuration for Incoming Connection and other Services

This post is about specific Vodafone Home Broadband Router configuration for Incoming Connection and other service on your home computer. This is not a tutorial, and will not be going into details of the services and router configuaration, I just want to point out couple of points you need to pay attention to. 1. Port Forwarding. Vadafone Router has its own name for Port Forwarding, it's called Port Mapping under Port Management category.The picture below shows that I set up web server on my desktop, I map my local address on port 80; and I set up PPTP incoming connection by mapping local address on port 1723. Port Forwarding 2. Exposed Host. If you have set up Port Mapping, you still can't get what you want, then you have to put your device outside the Firewall, i.e. bypass Vodafone Connects (means Router) firewall, in a Demilitarised Zone (DMZ), using it's Exposted Host Function. Static NAT (Network Address Translation) means the Router will translate publi...