In the intel mac era this has become fairly easy and you can use standard linux Distros. There are a few little tweaks which I will mention. I am using Ubuntu 14.04 LTS 64bit for this example. You will need to acquire a standard (non-mac) iso from ubuntu.com, and write that to a usb key… Continue reading Loading Linux on a Mac-Mini
Tag: ubuntu
Hosting multiple sites/domains on nginx
Create a folder for your new domain within nginx mkdir -p /var/www/yourdomain.com/public_html Fix up the permissions chown -R www-data:www-data /var/www/yourdomain.com/public_html chmod 755 /var/www Create a simple page to serve Add the following to /var/www/yourdomain.com/public_html/index.html <html> <head> <title>www.yourdomain.com</title> </head> <body> <h1>Success: You Have Set Up a Virtual Host</h1> </body> </html> Create and modify the new virtual… Continue reading Hosting multiple sites/domains on nginx
Usernames for Amazon Linux (AWS) and Ubuntu AMI
For Amazon Linux, the username is “ec2-user”, for ubuntu it is simply “ubuntu”. To connect to them you need the key file that was generated when the instance was created, and the public DNS address. Â Use a command like: ssh -i myinstance.pem ec2-user@12.34.56.789 Note: Make sure you have opened up ssh (port 22) access to… Continue reading Usernames for Amazon Linux (AWS) and Ubuntu AMI