How to install Eclipse Java EE Neon.3 on Java 9-ea in Elementary OS Loki 64bit

Bug – Platform won’t launch on Java 9-ea builds (InjectionException: NoClassDefFoundError: javax/annotation/PostConstruct) https://bugs.eclipse.org/bugs/show_bug.cgi?id=493761 Environment: OS: elementary OS 0.4 Loki (64-bit) “Ubuntu 16.04.2 LTS” based $ java -version java version “9-ea” Java(TM) SE Runtime Environment (build 9-ea+162) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+162, mixed mode) Installation Extract a File: eclipse-jee-neon-3-linux-gtk-x86_64.tar.gz Change the eclipse.ini file Add…

Read More

mysql 5.7 access denied for user ‘root’@’localhost’

$ killall -9 mysqld $ sudo mysqld_safe –skip-grant-tables & $ mysql -u root mysql> use mysql; mysql> select user,host from user where user=’root’; mysql> update user set plugin = ‘mysql_native_password’ where user=’root’; mysql> update user set authentication_string = password(‘<newPassword>) where user=’root’; mysql> flush privileges; mysql> exit $ killall mysqld $ sudo service mysql start $…

Read More

Install MongoDB Community Edition on Ubuntu 15

Install MongoDB Community Edition on Ubuntu Latest Page of MongoDB Community Edition: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ Install MongoDB Community Edition on Ubuntu How to install MongoDB on Ubuntu 15.04 and 15.10 Install MongoDB Community Edition on Ubuntu 15 1) Import the public key used by the package management system. sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv EA312927 2) Create…

Read More

graylog2 systemd scripts on Ubuntu 15

How to install Graylog2 on Ubuntu 15.04 / 14.10 graylog2 systemd scripts Graylog 1.3 prerequisites Graylog 1.3 버전은 Elasticsearch 2.x 버전과 호환되지 않아 버전확인이 꼭 필요함. Ubuntu 15 에서는 Elasticsearch 2.2 버전이 기본으로 제공되므로 Graylog 2.x 버전을 설치해야 합니다. $ aptitude show elasticsearch Package: elasticsearch State: installed Automatically installed: no Version: 2.2.0 Graylog 1.3 Installation…

Read More

What are good open-source log monitoring tools on Linux

http://xmodulo.com/open-source-log-monitoring-tools-linux.html Log.io – Real-time log monitoring in your browser Install Log.io Install via npm sudo npm install -g log.io –user “ubuntu” Launch server log.io-server Configure log harvester nano ~/.log.io/harvester.conf Start log harvester log.io-harvester Browse to http://localhost:28778 GoAccess On Linux based systems you can install it by using apt-get. sudo apt-get install goaccess To analyze the…

Read More

EBS Radio 녹음하기 Ubuntu

Ubuntu 패키지 설치: sudo apt-get install rtmpdump libav-tools vim ebs-record.sh #!/bin/bash #RADIO_ADDR=”rtmp://ebsandroid.ebs.co.kr/fmradiofamilypc/familypc1m” RADIO_ADDR=”rtmp://ebsandroid.ebs.co.kr/iradio/iradiolive_m4a” RADIO_NAME=”ebs_radio” PROGRAM_NAME=$1 RECORD_MINS=$(($2 * 60)) DEST_DIR=$3 REC_DATE=`date +%Y%m%d-%H%M` TEMP_FLV=`mktemp -u` MP3_FILE_NAME=$PROGRAM_NAME”_”$REC_DATE.mp3 rtmpdump -r $RADIO_ADDR -B $RECORD_MINS -o $TEMP_FLV avconv -i $TEMP_FLV -ac 2 -ab 128 -vn -y -f mp3 $MP3_FILE_NAME rm $TEMP_FLV mkdir -p $DEST_DIR mv $MP3_FILE_NAME $DEST_DIR 실행 모드로 전환: chmod…

Read More