ancl.org
域名年龄: 22年5个月1天HTTP/1.1 200 OK 访问时间:2014年03月20日 03:31:56 服务器:Apache/2.2.22 (Debian) 语言环境:PHP/5.4.4-14+deb7u4 X-Pingback: http://www.ei3kf.org/xmlrpc.php 动作:Accept-Encoding Content-Encoding: gzip 文件大小:6921 Keep-Alive: timeout=5, max=100 连接:Keep-Alive 类型:text/html; charset=UTF-8 网站编码:UTF-8
www.ei3kf.orgThe world according to Andy EI3KFSkip to contentHomeJust me, myself and I.← Older postsNow certified as an AWS Solutions Architect – Associate levelPosted on March 13, 2014 by g0sopPosted in AWS, Me|Leave a commentPlaying with ruby….Posted on March 13, 2014 by g0sopJust something I was playing with in rubyfoods = { "chips" => :bad, "sausages" => :bad, "salad" => :good }foods.keys.sort.each do |food|puts foodendfoods.values.sort.each do |food|puts foodendfoods.sort.each do |food, status|puts "#{food} : #{status}"endgb = Hash.new(0)foods.values.each do |status|gb[status] += 1endputs gbf = Hash.new(0)foods.keys.each do |food|f[food] += 1endputs fPosted in Ruby|Leave a commentGetting Chef running….Posted on November 28, 2013 by g0sop$ curl -L https://www.opscode.com/chef/install.sh | sudo bash% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 6790 100 6790 0 0 10224 0 --:--:-- --:--:-- --:--:-- 13339Downloading Chef for ubuntu...Installing ChefSelecting previously unselected package chef.(Reading database ... 79808 files and directories currently installed.)Unpacking chef (from .../tmp.22jxyctJ/chef__amd64.deb) ...Setting up chef (11.8.0-1.ubuntu.12.04) ...Thank you for installing Chef!$ wget -O chef-server-11.deb https://opscode-omnitruck-release.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.6-1.ubuntu.12.04_amd64.deb--2013-11-28 08:28:10-- https://opscode-omnitruck-release.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.6-1.ubuntu.12.04_amd64.debResolving opscode-omnitruck-release.s3.amazonaws.com (opscode-omnitruck-release.s3.amazonaws.com)... 72.21.215.76Connecting to opscode-omnitruck-release.s3.amazonaws.com (opscode-omnitruck-release.s3.amazonaws.com)|72.21.215.76|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 196809064 (188M) [application/x-debian-package]Saving to: `chef-server-11.deb'100%[======================================>] 196,809,064 8.43M/s in 24s2013-11-28 08:28:35 (7.70 MB/s) - `chef-server-11.deb' saved [196809064/196809064]ubuntu@ip-10-0-0-241:~$ sudo dpkg -i chef-server-11.debSelecting previously unselected package chef-server.(Reading database ... 47467 files and directories currently installed.)Unpacking chef-server (from chef-server-11.deb) ...Setting up chef-server (11.0.6-1.ubuntu.12.04) ...Thank you for installing Chef Server!The next step in the install process is to run:sudo chef-server-ctl reconfigure$ mkdir ~/.chef$ sudo cp /etc/chef-server/admin.pem .chef/$ sudo cp /etc/chef-server/chef-validator.pem .chef/$ cd .chef$ sudo chown ubuntu:ubuntu *.pem$ ls -ltotal 8-rw------- 1 ubuntu ubuntu 1679 Nov 28 08:59 admin.pem-rw------- 1 ubuntu ubuntu 1679 Nov 28 08:59 chef-validator.pem$ knife configure -iWhere should I put the config file? [/home/ubuntu/.chef/knife.rb]Please enter the chef server UR
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2024-07-07 11:34, Process in 0.0064 second.