
Linux/Unix and Shell
文章平均质量分 62
NEUandUSTBneo
小的时候喜欢上数学课,中学做过数学课代表,本科读数学专业,研究生还是数学,注定与数学有缘。曾经怀疑自己当初的选择,但慢慢发现自己正因此而受益匪浅,而且欣慰的是目前正走在一条真正属于自己的道路上a hrefhttps://plus.google.com/103387940037994705995 relpublisherGoogle/a
展开
-
[Docker] - Install Oracle DB over Docker as development DB
Pull wnameless/oracle-xe-11g into docker, create a container from this image. Configure it as my local development environment for extremely short time.原创 2016-03-26 20:52:14 · 570 阅读 · 0 评论 -
[Docker] - Install Oracle for set up development environment
We often need install Oracle database for development environment. This process normally will take many time, especially on Linux OS. It becomes quite more convenient after we have docker.1. Search原创 2016-01-01 14:40:08 · 709 阅读 · 0 评论 -
[Docker] - 发布镜像到你自己的库
1. 要申请一个Docker Hub的账户链接:https://hub.docker.com你只需提供:用户名,email 和密码,email是用来申请后激活账户只用。在Docker Hub中发布提取自己的Image,动作设计得有点像操作GitHub,确切的说是动作的名称。2. Browse Container中Image$ docler images确定之前我们创原创 2015-12-28 22:27:26 · 1049 阅读 · 0 评论 -
[Docker] - 制作你自己的镜像
在前面一节中你已经运行了whalesay,这一节中我们学习如何自己制作镜像(程序)。1. DockerfileDockerfile是用来描述被制作成Image的软件的,说明这个软件已经是完整的可用的。他描述了软件要运行在什么样的环境下,用什么命令来运行。这个文件可能非常短小。启动Docker Quickstart Terminal为你自己的Doc原创 2015-12-27 21:37:58 · 3847 阅读 · 0 评论 -
[Docker] - 如何发现和运行自己需要的Image(镜像)
全世界的人都可以创建和分享自己的Docker Image,你可以用浏览器访问Docker Hub网站,来搜索发现那些对自己有用的Image,下载并运行他们。1. 访问Docker Hub,并搜索Image地址右上角有一个Search输入框,输入关键词就可以搜索。Docker Hub所包含的Image包括,个人发布的私人版本和由一些组织发布的官方正式版本。一些组织,RedHa原创 2015-12-27 14:45:12 · 3046 阅读 · 0 评论 -
[Docker] - 理解镜像和容器 - Understanding images&container
第一个例子在安装完Docker后,我们通过命令docker run hello-world 来测试Docker。它代表了几个含义,docker - 告诉操作系统你要使用Docker程序run - 子命令,创建和运行一个Docker containerhello-world - 告诉Docker要加载那个image到contaonerContainer - 容器 & Imag原创 2015-12-27 11:57:56 · 603 阅读 · 0 评论 -
[Docker] - 安装Docker
Docker官网Docker下载安装安装的Docker Toolbox包括一下内容You install Docker using Docker Toolbox. Docker Toolbox includes the following Docker tools:Docker Machine for running the docker-machine binar原创 2015-12-26 21:00:01 · 1042 阅读 · 0 评论 -
User and group operations
Explain some common operations of user and group by bash shell in Ubuntu.List all the users and groupsList users[plain] view plaincopyprint?~$ less /etc/passwd ~$原创 2015-12-22 14:44:41 · 440 阅读 · 0 评论 -
Linux Common Commands - keep updating
Create a new groupgroupadd -g 54321 oracleCreate a new useruseradd -c "Operate Oracle DB" -m -d /home/oracle -g oracle -G sudoers,weblogic,orainstall -s /bin/bash -u 54321 oracleuseradd -u 543原创 2015-01-06 21:37:16 · 633 阅读 · 0 评论 -
ssh login without password
Login remote server without typing password with ssh.原创 2014-11-11 22:16:56 · 1831 阅读 · 0 评论 -
[VirtualBox] - Install Oracle Linux 7 on Oracle VirtualBox
Set up a development environment in my iMac. So virtualbox become a stop which can't be avoided.1. Install VirtualBox2. Install Oracle Linux3. Remove OpenJDK4. Install Oracle JDK原创 2014-10-14 00:40:38 · 1598 阅读 · 1 评论 -
Create a new user
$ su - weblogicI was going to install weblogic in my local. So I created a specific user for it.useradd$ sudo useradd weblogic -s /bin/bash -m -d /home/weblogic -c "weblogic user"1. create a原创 2014-03-24 16:05:33 · 1218 阅读 · 0 评论 -
Open virtual effects in Ubuntu 12.04LTS
Need install below packages:compizcompiz-corecompiz-fusion-plugins-extra+compiz-fusion-plugins-main+compiz-gnomecompiz-plugin+compiz-plugins-default+compiz-plugins-extra+compiz-plugi原创 2013-09-11 00:30:50 · 962 阅读 · 0 评论 -
Manually start and stop Oracle XE in Ubuntu
Start Oralce:sudo /etc/init.d/oracle-xe startStop Oracle:sudo /etc/init.d/oracle-xe stopRe-config Oracle:sudo /etc/init.d/oracle-xe configureRemove auto-start from system boot:cd /etc/l原创 2013-08-25 01:53:33 · 1499 阅读 · 0 评论 -
Disable autostart of Oracle-xe in Ubuntu
Remove auto-start from system boot:cd /etc/ls -l rc*.dYou may get 7 directories, rc0.d, rc1.d, ..., rc6.d and rcS.d, and in some of them you may find the files like ls -l *oracle-xe* lrwxrwx原创 2013-08-25 01:47:34 · 1279 阅读 · 0 评论 -
Often used Linux Commands
How to display CPU information?more /proc/cpuinfoless /proc/cpuinfocat /proc/cpuinfo原创 2013-08-19 17:53:57 · 540 阅读 · 0 评论 -
Linux tip - How to query the explanation of a linux command?
For instance you want to get the explanation of command, cp.>man cpor>cp --helpTypically --help works.原创 2013-04-12 17:10:25 · 631 阅读 · 0 评论 -
Linux tip - How to create a file and write by script?
cat > text.out<<EOFWrite what you want to write here....EOFEOF is just a notation of end of the file. Once system executes to that word it knows it is the end of the file. So the file is clo原创 2013-04-02 18:21:04 · 975 阅读 · 0 评论 -
Ubuntu - 如何安装
Ubuntu office website: http://www.ubuntu.com/http://www.ubuntu.org.cn/1. download installerhttp://www.ubuntu.com/downloadChoose the one you need.I have chosen原创 2013-04-01 23:15:38 · 742 阅读 · 0 评论