Entries Categorized as 'Linux'

JPMorgan Quorum Cakeshop Setup Ubuntu 16.04.2

Date July 22, 2017

I wanted to study JPMorgan’s Quorum Blockchain and going to install Cakeshop, their development environment, under Ubuntu 16.04.2 and Tomcat8 web server. There were some bumps that were unavoidable but the developer was very helpful in debugging and help me setup the server. Shout out to fixanoid Install Ubuntu 16.04.2 Update to latest updates Install […]

MariaDB Unknown/unsupported storage engine: InnoDB

Date March 13, 2017

I had this problem re-occurring in one of my servers. MariaDB wont start due to this error. To fix my problem, remove these log files… /var/lib/mysqld/ib_logfile0 /var/lib/mysql/ib_logfile1 /var/lib/mysql/aria_log_control ib_logfile may be 0 or 1 If you want to be safe.. just rename it to another file temporarily to see if it works. Sources for the […]

Ubuntu 16.04.02 Hang on Reboot or Shutdown

Date February 28, 2017

Had a problem after an update that when I force a restart or a shutdown on my server, it hangs on the last part of the process. To fix my problem, I had to edit the /etc/default/grub config file and added acpi=force apm=power_off to the config line, between the double quotation marks… 1 GRUB_CMDLINE_LINUX_DEFAULT=""GRUB_CMDLINE_LINUX_DEFAULT="" and […]

Heap Dump and Remote Tomcat 8-OpenJDK 8 Memory Monitoring

Date February 13, 2017

Memory problem.. the thorn of web apps… I have to connect to my remote server to monitor its memory usage and produce a heap dump. Bellow is the steps I had to configure the server to allow me to connect a remote monitor tool. Requirement: VisualVM app, download here Access your catalina.sh file. Look for […]

Enable Ubuntu 16.04 SSH Tunneling at Boot Time

Date September 16, 2016

I wanted to connect to a remote server and setup a tunnel for my MariaDB replication ( yes I migrated to MariaDB ), the only problem was that sometimes the net is erratic and can’t connect right away on boot time. Found a code online to check for ping reply, if it does, continue with […]

Regenerate Missing MariaDB/MySQL Config(my.cnf) File

Date August 15, 2016

I ran into this problem after upgrading/intalling MariaDB, the config file was missing.   To regenerate the config file… try executing… 1 dpkg –force-confmiss -i /var/cache/apt/archives/mysql-common*.debdpkg –force-confmiss -i /var/cache/apt/archives/mysql-common*.deb

Ubuntu has changed its network naming scheme starting 15.04

Date July 30, 2016

I recently updated to Ubuntu 16.04.1 LTS from 14.04 and ran into this problem as not having my network adapter detected on startup. No network adapter, no connection to the internet, no updates… I did some research and digging and it seems that starting ¬†Ubuntu 15.04, as quoted from one of the forums.. “…starting with […]

MySQL 5.6 and Up: High Memory Usage

Date April 27, 2016

Had a problem with a fresh install of MySQL 5.7 using more than normal memory. Researching around the net, one feature that was added (5.6?) that fixed my problem was performance schema ( performance_schema ). Disabling is easy enough as adding¬†performance_schema=0 in my.cnf config file.   Thanks to Joel Abraham for the fix.

Connecting to MySQL on a Remote Server through Port Forwarding and Reverse SSH Tunnel

Date March 9, 2016

I had a problem connecting to a remote server that has its ports blocked by the ISP. So technically, I can’t port forward my way into the server. The only way around this is to SSH connect from my remote server to my main server and access the remote server via reverse SSH tunneling. This […]

Installing Gitorious in Ubuntu 12.04 Server – How-To

Date January 9, 2013

I wanted to setup my own Git repository locally and with an accompanying front end GUI. Before Gitorious, I installed Git from scratch and also installed Gitolite. That will be another post later on. Initially I followed the script from http://blog.kyodium.net/2011/09/install-gitorious-on-ubuntu-1104.html but its based on Ubuntu 11.04, there are some missing packages that was not […]