Category: Ubuntu

Renew Letsencrypt SSL in Ubuntu Linux and fix failed authorization procedure

Renew Letsencrypt SSL in Ubuntu Linux and fix failed authorization procedure

When i tried to renew SSL certificate of Letsencrypt, using ” sudo letsencrypt renew ” i found caught error. It’s said “produced an unexpected error: Failed authorization procedure.” I took me a minute and realized that letsencrypt check on authorization acme-challenge on HTTPS instead of HTTP. Where this is because i forced all traffic into …

+ Read More

Upgrade Latest WordPress AWS EC2 without FTP

Upgrade Latest WordPress AWS EC2 without FTP

Here is a quickstep upgrade wordpress in AWS EC2 Ubuntu without FTP. Restart your NGINX and PHP-FPM just in case 1. Download the latest code 12cd ~/ wget -c https://wordpress.org/latest.zip unzip latest.zip 2. Go to your wordpress folder 1234mkdir ~/backup mv wp-includes ~/backup/ mv wp-admin ~/backup/ mv wp-settings.php ~/backup/ 3.Update the wp-includes, wp-admin and wp-settings.php …

+ Read More

Setup Letsencrypt in AWS EC2 Ubuntu Yakkety, Xenial or old version and fix issues NGINX

Setup Letsencrypt in AWS EC2 Ubuntu Yakkety, Xenial or old version and fix issues NGINX

To setup letsencrypt in Ubuntu, first go to SSH into your server. In this case, i will use my own domain as example. I found few issues when doing this step. If you facing similar issues in setup letsencrypt including “invalid certificate” on NGINX, This article will help you to fix that. 1. Install manual …

+ Read More

Fix Ubuntu apt-get update ign on AWS EC2 Yakkety, Xenial and other version

Fix Ubuntu apt-get update ign on AWS EC2 Yakkety, Xenial and other version

I tried to login into old EC2 AWS ubuntu server and doing apt-get update. I got issue with so many “IGN” where no hit. I thought this issue because source.list. Apparently this issue because now ubuntu have different path for software update for old ubuntu version. Please use this to replace your “us-west-2.ec2.archive.ubuntu.com” into “old-releases.ubuntu.com”. …

+ Read More

Fix SSL not working on mobile browser RapidSSL

Fix SSL not working on mobile browser RapidSSL

To solve this, we need to make sure our installation of SSL is correct. Please check your current website via https://cryptoreport.rapidssl.com/checker/views/certCheck.jsp. It will show you the missing SSL Certificate. Please download it into your server. The next step will be: 1. go to /etc/ssl 2. move your current domain.crt into another file 3. then concatenate …

+ Read More

Install Zurmo CRM in Ubuntu 16.04 Xenial Xerus

Install Zurmo CRM in Ubuntu 16.04 Xenial Xerus

Here are step to install Zurmo CRM into Ubuntu 16.04 Xenial Xerus. Since Ubuntu 16.04 doesn’t have php5, we would like to install PHP5 1234sudo apt-get install software-properties-common sudo apt-get purge `dpkg -l | grep php| awk ‘{print $2}’ |tr "\n" " "` sudo add-apt-repository ppa:ondrej/php sudo apt-get update 1. Install php5.6 1sudo apt-get install …

+ Read More

Setup Django + WordPress Ubuntu 16.04 Xenial Xerus

Setup Django + WordPress Ubuntu 16.04 Xenial Xerus

Here is guide to setup Ubuntu 16.04 Xenial Xerus for Django and WordPress Development. First, we need to install dependencies software. 1. Install dependencies software Python, NGINX, PosgreSQL, MySQL and PHP5 1sudo apt-get install libpq-dev python-dev python-software-properties postgresql postgresql-contrib nginx git zip unzip build-essential python nmap libxslt1-dev python-pip imagemagick uwsgi uwsgi-plugin-python nmap mysql-server phpmyadmin libffi-dev …

+ Read More

Setup New Server Ubuntu 14.10 with Django, Python and PHP

Setup New Server Ubuntu 14.10 with Django, Python and PHP

Here is quickstep to configure a new server in Softlayer for Django and PHP development environtment. 12sudo apt-get update && sudo apt-get upgrade sudo apt-get install libpq-dev python-dev python-software-properties postgresql postgresql-contrib nginx git zip unzip build-essential python nmap libxslt1-dev python-pip imagemagick uwsgi uwsgi-plugin-python nmap mysql-server phpmyadmin libffi-dev libmysqlclient-dev libmysqlclient-dev libmysqlclient18 For Django sites-enables/ : 12345678910111213141516171819202122232425262728293031323334353637server …

+ Read More

Setup SSL Certification RapidSSL on EC2

Setup SSL Certification RapidSSL on EC2

Here are quickstep to generate SSL Certification 12openssl genrsa -out www.domain.com.key 2048 openssl req -new -key www.domain.com.key -out www.domain.com.csr 123456789101112Country Name (2 letter code) [AU]:ID State or Province Name (full name) [Some-State]:Jakarta Locality Name (eg, city) []:Jakarta Organization Name (eg, company) [Internet Widgits Pty Ltd]:PT POLATIC INFORMATIKA INDONESIA Organizational Unit Name (eg, section) []:IT Common …

+ Read More

Uwsgi on ubuntu 14.04 not working solution

Uwsgi on ubuntu 14.04 not working solution

In Ubuntu 14.04, uwsgi that installed via apt-get will not working. To make it working, please use this steps: 12sudo apt-get remove –purge uwsgi uwsgi-plugin-python sudo apt-get install uwsgi uwsgi-plugin-python Then follow this steps: 1234sudo pip install uwsgi cd /usr/bin sudo mv uwsgi uwsgi-old sudo ln -s /usr/local/bin/uwsgi uwsgi If still failed, follow this : …

+ Read More

How to rollback or remove last commit in remove Git

How to rollback or remove last commit in remove Git

This is common thing can happen when we push bad commit and want to rollback into previous commit. Please try this in your own branch before apply into production / master. Try with “git log” : 1234567891011commit 10a8e361b35dd8131cb1ba3e606aad35d0d0f267 Author: Somebody Date:   Fri Dec 26 13:02:33 2014 +0700      Bad commit here commit f89150c864cd4725a25995efd233f5beab7fc25d …

+ Read More

Solve RabbitMQ ERROR: epmd error for host “ubuntu”: address (cannot connect to host/port)

Solve RabbitMQ ERROR: epmd error for host “ubuntu”: address (cannot connect to host/port)

When installing RabbitMQ in server, I got this errors: 123456789101112131415161718192021Preparing to unpack …/rabbitmq-server_3.2.4-1_all.deb …                 Unpacking rabbitmq-server (3.2.4-1) …                                     yProcessing triggers for man-db (2.6.7.1-1) …           …

+ Read More

Blackberry as USB Modem connect into internet wvdial on Ubuntu with Barry

Blackberry as USB Modem connect into internet wvdial on Ubuntu with Barry

I have Blackberry Bold 9800 and Ubuntu 11.10 Oneiric. Also, I have two of indonesian internet cards called “Telkomselflash” and “Indosat Broadband”. Now, I will introduce you how to make Blackberry Bold as USB Modem and connect into internet using Barry and PPPD. First, you should install “Barry” packages in Ubuntu via apt-get or synaptic. …

+ Read More