
Linux/Unix and Shell
文章平均质量分 62
NEUandUSTBneo
小的时候喜欢上数学课,中学做过数学课代表,本科读数学专业,研究生还是数学,注定与数学有缘。曾经怀疑自己当初的选择,但慢慢发现自己正因此而受益匪浅,而且欣慰的是目前正走在一条真正属于自己的道路上a hrefhttps://plus.google.com/103387940037994705995 relpublisherGoogle/a
展开
-
Ubuntu - 如何安装
Ubuntu office website: http://www.ubuntu.com/ http://www.ubuntu.org.cn/ 1. download installer http://www.ubuntu.com/download Choose the one you need. I have chosen原创 2013-04-01 23:15:38 · 741 阅读 · 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 VirtualBox 2. Install Oracle Linux 3. Remove OpenJDK 4. Install Oracle JDK原创 2014-10-14 00:40:38 · 1596 阅读 · 1 评论 -
[Docker] - 制作你自己的镜像
在前面一节中你已经运行了whalesay,这一节中我们学习如何自己制作镜像(程序)。 1. Dockerfile Dockerfile是用来描述被制作成Image的软件的,说明这个软件已经是完整的可用的。他描述了软件要运行在什么样的环境下,用什么命令来运行。这个文件可能非常短小。 启动Docker Quickstart Terminal 为你自己的Doc原创 2015-12-27 21:37:58 · 3844 阅读 · 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 · 1048 阅读 · 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 评论 -
User and group operations
Explain some common operations of user and group by bash shell in Ubuntu. List all the users and groups List users [plain] view plaincopyprint? ~$ less /etc/passwd ~$原创 2015-12-22 14:44:41 · 440 阅读 · 0 评论 -
[Docker] - 如何发现和运行自己需要的Image(镜像)
全世界的人都可以创建和分享自己的Docker Image,你可以用浏览器访问Docker Hub网站,来搜索发现那些对自己有用的Image,下载并运行他们。 1. 访问Docker Hub,并搜索Image 地址 右上角有一个Search输入框,输入关键词就可以搜索。 Docker Hub所包含的Image包括,个人发布的私人版本和由一些组织发布的官方正式版本。一些组织,RedHa原创 2015-12-27 14:45:12 · 3043 阅读 · 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 · 1040 阅读 · 0 评论 -
[Docker] - 理解镜像和容器 - Understanding images&container
第一个例子 在安装完Docker后,我们通过命令docker run hello-world 来测试Docker。它代表了几个含义, docker - 告诉操作系统你要使用Docker程序run - 子命令,创建和运行一个Docker containerhello-world - 告诉Docker要加载那个image到contaoner Container - 容器 & Imag原创 2015-12-27 11:57:56 · 603 阅读 · 0 评论 -
Linux Common Commands - keep updating
Create a new group groupadd -g 54321 oracle Create a new user useradd -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 · 632 阅读 · 0 评论 -
ssh login without password
Login remote server without typing password with ssh.原创 2014-11-11 22:16:56 · 1827 阅读 · 0 评论 -
Linux tip - How to query the explanation of a linux command?
For instance you want to get the explanation of command, cp. >man cp or >cp --help Typically --help works.原创 2013-04-12 17:10:25 · 631 阅读 · 0 评论 -
Linux tip - How to create a file and write by script?
cat > text.out<<EOF Write what you want to write here. ... EOF EOF 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 评论 -
Often used Linux Commands
How to display CPU information? more /proc/cpuinfo less /proc/cpuinfo cat /proc/cpuinfo原创 2013-08-19 17:53:57 · 540 阅读 · 0 评论 -
Manually start and stop Oracle XE in Ubuntu
Start Oralce: sudo /etc/init.d/oracle-xe start Stop Oracle: sudo /etc/init.d/oracle-xe stop Re-config Oracle: sudo /etc/init.d/oracle-xe configure Remove 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*.d You 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 评论 -
Open virtual effects in Ubuntu 12.04LTS
Need install below packages: compiz compiz-core compiz-fusion-plugins-extra+ compiz-fusion-plugins-main+ compiz-gnome compiz-plugin+ compiz-plugins-default+ compiz-plugins-extra+ compiz-plugi原创 2013-09-11 00:30:50 · 962 阅读 · 0 评论 -
Create a new user
$ su - weblogic I 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 · 1215 阅读 · 0 评论 -
[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 · 567 阅读 · 0 评论