显示标签为“Computer”的博文。显示所有博文
显示标签为“Computer”的博文。显示所有博文

2018年2月21日星期三

My very first container on Docker ... (2018)

I have heard "Container", "Docker" in all year long, but I haven't quite figured it out what they really are!
Then I realized the best way to understand it is to practice, solving all sort of problems during implementation will help you understand the "new" techniques, "new" products, at least to myself!

Nothing fancy in this blog. It just a log what I have progressed so far.

1. Install a CentOS 7 on a VM esxi v5.0 (I knew, it is very old exsi version. But that is what I can get).

2. Install docker by following Get Docker CE for CentOS.
I just followed the steps and I was able to install docker CE without problems.

3. Follow Post-installation steps for Linux to continue.
is the chapter I encountered issues. Once I configured the docker daemon to listen to ports, docker couldn't start.
I tried to Google the solution, but couldn't find useful information.
I decided to skip this and continue.

4. Start reading . Why not, I am a rookie in Docker/Container.

5. Build my very first container by following .
It started to work after I stopped/disabled firewalld and stop iptables.
And here I am:


6. Tag and push the newly built image to repository.
But error occurred and it complained about the iptables.
Google the error but the solution is not quite what I looking for.
I stop the docker and start again.
Build the image, tagged it, pushed it again.
Now I can run the image from repository! Problem solved!

7. Follow to start load-balanced services.

8. Install a few tools on CentOS7:
* wget
* virtualbox
* docker-machine

That is great. At least I think I know what container really is and what Docker is!

Continue:

9. Follow to create swarm cluster.

I am having trouble to create vm on my esxi. I am trying to find a fix for the issue.

2017年3月17日星期五

不应该啊!

最近犯了个小尴尬,竟然把TLSv1.2说成TLSv2.0,技术不过硬啊,为嘛我从来都觉得就是TLSv2.0呢?!要好好检讨一下!

既然说到尴尬,就再说一个吧,算是释放一下心里的郁闷:多年以前,我还以为3DES是最secure的,明明是AES啊,真替教我的老师心疼!学生差,真的很给老师丢人啊!

希望我技术上的错误还是少犯一些比较好,太丢人了呀! T_T

2011年8月19日星期五

同步小project

有太多的social network了,同步起来是个问题。弄个小project吧,把所有东西都同步起来:
* blogspot
* reader
* flickr
* facebook
* google+
* msn
* weibo
* youtube
* twitter
* runkeeper

不知道Vizualize.Me能不能同步所有这些呢?

2011年5月28日星期六

哈哈,原来blogger的share也是很handy的。。。

70,不是只有wordpress的share才handy, blogger的也很handy,只是我没有找对方法而已,看看下面这个blog:
Official Sharing Buttons on Blogger

搞掂!

2011年5月24日星期二

如何在blogger post里添加facebook button

发现70的wordpress能够很轻易地tweet, facebook,非常羡慕,当时貌似blogger没有这么handy的功能。:(

Google了一下,发现还是有办法添加facebook的button的, 这是那个link:
Adding Facebook Share Button For Blogger Posts

Tweet的也找了一下,都没成功,有空再试其他吧。

这里还有个很强的share button:
OS X Styled Sharing Dock Widget, New sharing Widget For Blogger.
可惜它是针对整个blog,不是针对某个post,最后我还是放弃适使用它了。

2007年5月25日星期五

Sony OLED

索尼推出一种最新材料的OLED显示屏,厚度仅有3毫米,并且可以弯曲!











2006年7月26日星期三

Google PMP概念机

在留园(6park)看到一则新闻,转载如下:

PCPOP-电脑时尚的消息:PMP的发展前景看来非常被看好,继SONY已经开始在深圳某厂造PMP的消息开始在业界风传后,软件巨人微软的加入又在刚刚平复的PMP市场上掀起一阵声势更为浩大的波澜。而现在,据消息称,全球搜索老大Google也有意涉足PMP领域。当然,这只是传闻,至于其真实性还有待考察。
据了解,Google的这款概念便携掌上设备来自于英国设计师Callum Peden的创意,单从超前的外观设计来看,就已经让人吓一跳。改设备采用了OLED,透明的可视屏幕(柔软可折叠),支持GPS卫星定位等,结合了 Google Earth,可以在你迷路的时候定位到具体位置,还可以用内置的摄像头拍摄实图通过网络辨别位置(这个估计够呛)。

而且据了解,这款概念便携掌上设备还结合了3G技术,或者也有可能是先进的WIFI,不过要生产的话,恐怕还得Google老大点头了。

2006年7月24日星期一

可恶的Norton AntiVirus 2005

Norton AntiVrus 2005 (NAV)变得越来越自以为是,连在window的Start Menu去掉Norton的short cut都会连连报错。 偏偏我是最讨厌水蛇一样长的Start Menu,非得要重新整理才可以,只能弄点阴招,把那些没用兼碍眼的Short Cut统统隐藏掉。唉~~~这年头,怎么这么多自以为是的咚咚!

2006年6月1日星期四

如何对付9991.com

不知道怎么惹上这个9991.co病毒的,上网收集了如何清除这个病毒的资料,整理如下:

1) 开机按F8进安全模式

2) 将IE启动页面重新设成about:blank

3) 开始-run-MSCONFIG, 在[Startup]页,去掉
C:WINDOWSWinsys.exe
C:Program FilesCommon FilesUpdUpdate.exe

4) 开始-run-regedit 删除以下

i) /HKEY_CLASSES_ROOTBHO Class - {9A556B8F-FD02-420E-A1FD-9DB33808254E} - C:/WINDOWS/SePpBar/SeLineBar4360542f.dll
ii) HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun[Net] C:/WINDOWS/Winsys.exe
iii) HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun[Update] C:/Program Files/Common Files/Upd/Update.exe
iv) HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun[SeUpdateExe] C:/WINDOWS/SePpBar/SeUpdate43605430.exe -sedutyvisit
v) 搜索所有IRJIT.dll项并删除

5)删除以下目录或文件:

i) C:WINDOWSWinsys.exe
ii) C:Program FilesCommon FilesUpdat
iii) C:WINDOWSSYSTEM32WBEMIRJIT.dll

6) 到Administrative Tool-services,停止并删除 [System Event Logger]

7) 将www.9991.com加到屏蔽网页中

8)用记事本打开:C:WINDOWSsystem32driversetchosts,在最后添加:

9) 重新启动,大功告成!