Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Thursday, October 13, 2016

/bin/sh^M: bad interpreter Errors

This is just to remind me of the errors that I experienced alot which is : /bin/sh^M: bad interpreter Errors , mostly I experienced this when running .sh files which is edited on windows (using notepad, etc) and then upload it to Centos/Ubuntu and run it.

Monday, August 22, 2016

Autorun JupyterNotebook using Supervisor on Ubuntu 16.04

On this post I will discuss how to make Jupyter Notebook autorun whenever the computer start, I will utilize Supervisor to do that. this post will discuss from how to set and configure the supervisor job

Thursday, June 16, 2016

Copy File using SSH in Ubuntu 16.04

its just my note on how to copy files between VM, this command can only works when ssh service is already set and running

Sunday, June 12, 2016

Install and Configure Supervisor on Ubuntu 16.04

The following will explain how to install and configure supervisor on Ubuntu
if you have a long running service that you want to activate on linux, say an apache web server, a jupyter notebook service,etc.. then you would want to have that service run and monitored by supervisor

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as “process id 1”. Instead it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.

Saturday, June 11, 2016

Configure Network on Ubuntu 16.04

This step is to configure network on ubuntu when first installed

Turn off Automatic Updates on Ubuntu 16.04

Automatic updates on Ubuntu is good, but sometimes you want to turn automatic updates off, here's how to do it

Find out Largest directory size in Ubuntu 16.04

This commands will help you to identify which directory has the largest size, the result will be the list of directory and files with its size
...
747 M hue
781 M incubator-zeppelin-0.5.0
798 M zeppelin-0.5.0
...