'use strict';
const crypto = require('crypto');
// get password's md5 hash
let password = 'test';
let password_hash = crypto.createHash('md5').update(password, 'utf-8').digest('hex').toUpperCase();
console.log('key=', password_hash); // 098F6BCD4621D373CADE4E832627B4F6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
ENV APT_OPTS="-o Acquire::http::Timeout=3 -o Acquire::Retries=100" | |
RUN apt-get update $APT_OPTS \ | |
&& apt-get install $APT_OPTS -y curl openssh-server python \ | |
&& echo "root:root@123" | chpasswd \ | |
&& sed -ri -e 's|(^PermitRootLogin )(.*)|\1yes|g' /etc/ssh/sshd_config \ | |
&& mkdir -p /var/run/sshd \ | |
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
SHELL ["/bin/bash", "-c"] | |
# Installing openssh-server, apache, php and moodle | |
RUN set -x \ | |
&& apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -q -y --fix-missing apache2 php5 wget openssh-server \ | |
&& cd /tmp \ | |
&& wget --continue --tries=100 --waitretry=1 --timeout=10 -O moodle-latest-32.tgz https://download.moodle.org/stable32/moodle-latest-32.tgz \ |
Installing Oracle 11g Client in Ubuntu 14.04 LTS instruction
instantclient-basic-linux.x64-12.1.0.2.0.zip
instantclient-sqlplus-linux.x64-12.1.0.2.0.zip
instantclient-sdk-linux.x64-12.1.0.2.0.zip
Working fiddle
Sample code:
<style>
.wrapper { position: relative; }