検索 - みる会図書館

検索対象: OpenSource For You August. 2017 Volume.05

OpenSource For You August. 2017 Volume.05から 50件ヒットしました。

OpenSource For You August. 2017 Volume.05


Admin, Containers as a Service Application Se 「 ⅵ ( es Categorizing CIS Docker 1.1 ~ Benchmark as STRIDE 3 % 22 % Log Management Health Service Discovery Monitoring ロ ust 町 Manager ( ont 「 0 Scheduler Container Registry 、 第 5 廖 iOfi 明 ⅵ 0 啾 it 5Tampering 朝 物 山 朝 ・ ⅱ ョ 川 月 ciO ト u 川 = De ⅲ 朝 朝 ( で 第 日 e い 朝 朝 1 privüegea ( 0 「 e Container Services 14 % 20 % Networking Storage Compute 15 % 、 P si ( a 日 n 作 t 川 は 町 合 Figure 4 : AnaIysis 0f the different security risks f0 「 Docker containers (lmage source: 40 四 / e & m ) Figure 5 : Differenttypes 0f container services (lmage source: 04 た a42 & m ) Containers Revenue ($m) the time that any hacker has tO exploit a running application in a container can be minimised. 4. Some container management systems have alSO created associated encryption and security services like DOCker SecretS tO tackle different security concerns associated With containerisation. The practice Of using kernel modules, which iSOlate different processes, also protects containers. ThiS helps tO b etter manage the way distributed applications can access and transmit data. Advantages and drawbacks 0f containerisation Advantages 1. Containers used in containerisation much more lightweight as they use much fewer resources than virtual machines. 2. Containerisation helps tO increase the efficiency of CPUs by saving the storage and memory of the system. 3. Containerisation leads to high portability. 4. With the help Of containerisation, different containers can be instantiated precisely when they are required, and they can disappear when no longer required. This helps in freeing up the resources on their hosts when they are not in use. 5. A single server can be used to host a far greater number Of containers than virtual machines and, hence, supports sharing. 6. We can track successive versions 0f a container, inspect the differences, or even roll back to the previous versions using containerisation. 7. Containerisation leads to greater mo dularity. 8. lt helps us make different changes to the various modules Of the application without us having to work on the entire application. Drawbacks 1. Containerisation suffers because it is not adequately isolated from the core OS. 2. Since application containers are not abstracted from the hOSt OS on a V 、 4 , security threats can access the entire system. 3. Containerisation is ideally used for microservice $3 46 35 % 2016-21 CAGR S2714 $2.068 $1.539 $1 第 107 S759 2016 2017 2018 2019 2020 2021 A 0 ″ ( 0 け 0 れ ( 0 れ 一 0 を ′ ( 0 れ 、 な ト 可 聞 に れ ti 尾 ル 府 な m ~ に れ ⅵ ′ 滝 en に 0 宿 0 を 可 に 0 0 れ . 0 ル 、 0 〃 可 ー な dep ⅵ に れ ( ra 石 0 ′ 0 na ′ 0 ” d 物 に ( 0 ′ gura 0 れ 第 た $ neededtorun ″ d 0 れ ′ ⅵ な pa ( を 09 色 50 ( 財 0 MO れ 0 ′ 0 れ dF 礰 む 06 - E れ ab 期 T' わ れ 0 の Ma ⅸ 財 0 ⅲ ~ 侊 . 01201 ア Figure 6 : Expected growth in revenue generation due containerisation (lmage source: 40 四 / . m, ノ applications. Containers cannot be used as a universal replacement for VMS. 4. Few dependencies on the containers limit their portability between servers. 5. There are a limited number of tools available that can 0 monitor and manage different containers. ~ 、 References : [ 月 http://www.wikipedia.0「g/ 図 http://www..cio.com/ 囘 https.://opensource.com/ [ 4 ] https://dzone.com By: Vivek Ratan The author has completed his B. Tech. in electronics and instrumentation engineering. He cur 「 ently an automation test enginee 「 at lnfosys, Pune. He can be reached at [email protected]/ 62 ー AUGUST 2017 ー OPEN SOU 日 CE FO 日 Y()IJ ー www.()penSourceForU.com

OpenSource For You August. 2017 Volume.05


Earn up tO «I,OO,OOO per hour R N ー No. DELENG/201249440 , MaiIed on 27 / 28th Of Advance month Delhi postal Regd. NO. DL ( S ) -01 / 43 / 2016-18 Licenced tO post without Pre-Payment Licence NO U ( S ) -56 / 2016-17 Published on 27th Of Advance month Curious? Mail us at [email protected] Step 1 : You WO 「 k with us to c 「 eate a course p 「 opos 引 fO 「 a 2-10 hour cou 「 se Step 2 : We pay you an advance of そ 5,OOO/hour upon course approval ・ Step 3 : You build the cou 「 se, we help Step 4 : We g 「 ade your wo 「 k and pay according to the 「 ate card below ( 「 ates pe 「 hour) Grade A: そ 1 OO. OOOI B: そ 50. OO 田 C: 25. OOO ー F: そ5. OOO

OpenSource For You August. 2017 Volume.05


Admin NFV: Redefining NetworI< lnfrastructure Network Function \/irtualisation or NFV aims tO transform the way networl< operators architect their networks, by evolving standard virtualisation technology tO consolidate many networl< equipment types ontO industry standard high volume equipment, which could be located in data centres, networl< nodes and at end user premises. ー 現 下 10 ~ elecommunication is the backbone of today's world and it has become an integral part 0 f our day-to-day life. AS competition increases, it is important for telecom vendors tO be cost effective and offer highly efficient connections with greater speed. Telecom data centres and infrastructure are governed by standards, protocols and service quality norms. AIso, they are over populated by a large and increasing variety of proprietary hardware 叩 pliances. Therefore, tO launch a new network service, it often requires the introduction of yet another variety of proprietary hardware, a task that is becoming increasingly difficult. This is further compounded by the increasing costs of energy, capital, technically-trained manpower, etc. The variety Of skills necessary tO design, integrate and operate complex hardware-based appliances poses a real challenge tO bOth the developer and the network operator. Moreover, hardware-based appliances rapidly reach end-of-life. Other cost-oriented issues result in little or no revenue benefits. These constraints/limitations Of hardware-based appliances (). g. , routers, firewalls, etc) has triggered the need for a new radical approach. ご 一 三 一 Figure 1 : Typical network devices found in telecom data centres (Source: 加 $ Ⅳ ル ル ツ 側 確 / 0 々 の ″ 炻 Ⅷ な a 〃 s 加 rma 加 〃 ・ 仂 加 々 加 4- 側 な / 虎 イ 加 ・ m / が カ 砒 ) 66 ー AUGUST 2017 ー OPEN SOU 日 CE FO 日 YOU ー www.()penSourceForlJ.com

OpenSource For You August. 2017 Volume.05


Admin l<ontena: A Developer-friendIy Container and Microservices Platform Kontena is driving innovation in container platform technology by accelerating projects and taking container-based release automation to the nextlevel. Kontena developers can leverage multiple cloud providers int0 one secure virtual environment which means no lOCk-in, apart from many Other uses. Kontena master is the controller for all the nodes. TO build an application, we require Kontena Service Definition, which includes details about the container image, scaling, networking details and Other attributes. These services can be linked together tO create the desired architecture. Here, each service will automatically generate an internal IP address and DNS, so that they can communicate internally. Architecture One of the best things about Kontena is its simple architecture, which makes it easier tO grasp and SO you can quickly start using it. With the Kontena CLI, we can d0 all the administrative stuff. Currently, there is no GUI for Kontena' which makes the code simpler and manageable. The architecture C onsists Of four layers : The authentication layer (external). Masters, which will manage each grid. Grids, which are logical abstractions. N0des will recede intO a grid, which provides actual compute power. Services that will run on the grid. www.0penSourceForU.com ー OPEN SOURCE FO 日 YOU ー AUGUST 2017 ー ontainerisation has been a hOt topic in the industry for a long time now. Basically, containerisation iS an OS level virtualisation technique for deploying and running distributed applications without launching separate VMs for a single application. Kubernetes is very popular for deploying, scaling and maintaining container based applications. But it requires a lOt Of manpower tO install and maintain it. lt is alSO complex tO start with. Kontena is another open source system whose ultimate goal is tO build a DevOps-friendly platform. lt serves the same purpose that Kubernetes does, but in an easier and more manageable way SO that a typical software developer can program and manage containers and micro systems. Kontena Kontena is an open source project available in the GitHub Repository that helps us tO run and manage containerised applications on a cluster. Figures 1 and 2 demonstrate its architecture. The Kontena system has a numb er Of nodes and a master node , which controls the Kontena nodes. Kontena nodes are servers or VMS, WhiCh run container apps and the

OpenSource For You August. 2017 Volume.05


How TO Monitoring DocI<er with Prometheus Prometheus is free, open source, no fuss software to monitor computer systems and alert sysadmins. に is a very vital piece of infrastructure software that informs you about the health of your systems. prometheus can be used very effectively tO monitor Docker systems. onitoring is an important but Often overlooked feature in most applications. At the same time, it is an extremely vital part Of infrastructure software ー it ensures that you are aware about the health Of your systems and whether the important metrics about various services running in your infrastructure are the acceptable range. When it comes tO Docker, there have been several tOOls available with its tOOlset tO monitor the health Of the system, in addition tO the various commercial t001S in thiS space. Here are some expectations from a monitoring solution: Simple and unobtrusive tO set up Extensive integration points and the capability tO add more targets tO monitor Open source, with a thriving community and support ecosystem Alerting mechanism Visualisation dashboards to understand the health of the system quickly Prometheus has been gaining popularity over the last few years. lt has been promoted t0 a t0P level project in the CNCF (CIoud Native Computing Foundation), and has seen significant adoption in the communitY' where it is used for monitoring infrastructure. lt is easy tO set up and has a wealth 0f external connectors ( 80 + ) t0 popular software like MYSQL, Redis, NGINX and others, that make it a breeze tO integrate metrics from these software intO the Prometheus time series database. Prometheus C omes With itS own riCh metrics format, and for it tO integrate any monitoring target, all the target needs tO dO is expose a metrics endpoint that provides it the metrics data in the Prometheus format. Docker and Prometheus starting with the release 0f DOCker 1.13 , an experimental Prometheus metrics-compatible endpoint has been exposed in DOCker. What this means is that Prometheus can be set up tO monitor a DOCker target, and it will be able tO integrate the metrics endpoint intO its time series database. Once the metrics have been ingested, then the www.OpenSourceForU.com ー OPEN SOIJ 日 CE FO 日 Y()IJ ー AUGUST 2017 ー

OpenSource For You August. 2017 Volume.05


Admin The usefulness 0f Linux Containers (LXC) Containers are the future when it comes tO using and shipping applications. But Linux containers or L)<C can be used for more thanjust that. This article covers the use Of LXC on a daily basis as well as for production. lthough containers have become popular due to their IDS inside a namespace, which is allowed to have the same extensive use of Docker by Docker lnc. , which has UID or GID in the namespace as in the host machine. ln your been ⅲ the market since 2013 , Linux has also had system, unprivileged processes can create user namespaces in itS own containers for several years no 、 N,T. These native Linux which they have full privileges. containers are also referred to as LXC. The LXC project has Network namespace (net): lnside this namespace, been around since 2008 , and is being actively maintained and processes can have different network stacks, i. e. , different supported by CanonicaI Ltd. lt is a set of tools (technically, network devices, IP addresses, routing tables, etc. more an. APl) WhiCh gives you an interface to create a container LXC is a set of tools that makes it possible to use these using Linux namespaces and cgro 叩 s (Control Groups). Linux features and create something called a container, which is namespaces (mnt, pid, net, ipc, uts, user, etc) is a feature of nothing but a very lightweight VM with less isolation. The the kernel that is used for a different type 0 f isolation, whereas reason for less iSOlation iS the absence Of a hypervisor layer, cgroups iS used tO set limitations over the resources (mostly WhiCh makes containers use the same kernel as the host hardware like memory and disk size) used by any process. system. But this absence alSO makes containers more widely Mount namespace (mnt): ln this namespace, a usable, as there is no overhead of configuring and no need for views different mount points other than the original system a hypervisor; SO you can select 、 resources you wish to mount point. lt creates a separate file system tree associated iSOlate according tO your usage. L et's now dive into the Linux with different processes, which restricts them from making container world. changes tO the root file system. Getting started with LXC PID namespace (pid): PID namespace isolates a process ID from the main PID hierarchy. A process inside a 師 Ⅱ Note: For demonstration purposes, I will use LXC ⅲ PID namespace can have the same PID as a process outside Ubuntu 16.04. LXC has great support on Ubuntu since the it, and even inside the namespace, you can have a different LXC project is backed by Canonical Ltd, which is also the init with PID 1. publisher 0f the Ubuntu operating system. But you can also UTS namespace: ln the UTS (UNIX Time-sharing install LXC on any other Linux distribution through its System) namespace, a process can have a different set Of Official repositories. domain names and hOSt names than the main system. lt uses sethostname() and setdomainname() to do that. ln your Ubuntu machine, install LXC and lxc-templates namespace: This is used for inter-process by pasting the following command ⅲ your terminal: communication reS()LllQS isolation and POS IX message queues. User namespace (user): This isolates user and group $sud0 apt install lxc lxc-templates 56 ー AUGUST 2017 ー OPEN S()U 日 CE F() 日 YOU ー www.0penSourceForU.com

OpenSource For You August. 2017 Volume.05


<DEFTRONICSTM 2 ロ 1 7 EDITION ゞ な 、 考 1 を 卩 笋 ACCELERATING SELF RELIANCE IN AEROSPACE DEFENCEAND INTERNAL SECURITY DATE: AUG 31 ・ & SEP 1 , 2017 / VENUE : PARK HYATT, HYDERABAD Sponsorship Opportunitiesl Exhibition Space ー Delegate Registration ー Advertising Opportunities Register NOW ー Early bird valid till 10th August 2017 FO 「 any further que 「 ies, please contact: Ms Suriya Kala / Mr„ Apu Datta Ph: 080 41473250/[email protected]「9 KEY HIGHLIGHTS OF DEFTRONICS 2017 4th Successive edition Of the lnternational symposium 2 days Of conference & exhibition Focused sessions on Defence,lnternal Security, Aerospace, Foreign Di 「 ectlnvestment Defence procurement POIicy, cyber Secu 「 ity, Design services, Opportunities arising from 「 ge dealS' Defence CIusters & pe 「 spective planning, Success stO 「 ies—lndian & Multinational companies' TechnoIogy showcase by Start-ups, and many mo 「 e Awa 「 ds in the space ofAerospace, Defence & lnte 「 nal security Business Networking Opportunities with ove 「 350 lnternational and Domestic delegates EarIy bird (till 10th August 2017 ) IESA & TiE Member INR 4000 ト Non Member ReguIar (from llth August 2017 ) INR 7000 / - IESA & TiE Member INR 8000 / ー 良 、 Non Member OUR SPONSORS GO Sponsor Platinum Sponsor mo ゝ ( ト X 旧 NX. lndustry Partner: HYDE △ B △ 0 「 0 5 T E R ー N G E N T 0 [ P E N 「 R S 目 ー P ① iesaorg/ 0 [email protected]_Deftronics www.iesaoniine.o「9 ー www.deftronicsso「9 き

OpenSource For You August. 2017 Volume.05


NEW PR 〇 DUCTS PocI<et-friendIy Get nostalgic with Saregama's smartwatch from 「 et 「 0 BIuet00th speal<ers LatestOne, a subsidiary 0f Palred Online Technology, has unveiled its affordable lndian music lab el and TV content Price: producer Saregama has launched its smaftwatch, the PTRON Sporty S 1. て 1 , 299 latest Bluetooth speaker, Carvaan, The smartwatch comes with a which 100kS like a classic radio. touchscreen dial that measures 5.02cm and dial calls, a pedometer, a remote x 4.82cm x 0.99cm (1.98inch x 1.9 ⅲ ch The device comes with multiple camera, music and much more. built-in features and 5000 classic x 0.39 inch) and a resolution of 204 x The ea sy-to-set-up device is Hindi songs, WhiCh can be accessed 204 pixels. compatible with iOS 6.1 and above anywhere and anytime, even without an lt is designed with silica gel and and with Android 4.3 and above. lt is lnternet connection. The 1.5kg stereo runs on Bluetooth 3.0. available in a striking blue colour via speaker has an audi0 wattage 0f 6W. The user-friendly smartwatch has a built-in 380mAh rechargeable polymer The speakers support USB playback, LatestOne.com/ Bluet00th and FM radio, along with the battery, which can be fully charged ⅲ Address: Palred Online classic radiO Geetmala commentary by 30 ー 60 minutes and offers seven days Techn010gies Pvt Ltd, 円 ot NO. 2 , standby and eight hours 0f talktime. Ameen Sayam. 8-2 ー 703 / 2 / B , Road No. 12 , Banjara The rear of the device includes The smartwatch 0 ffers features HiIIs, Hyderabad, Telangana ー a simple LED display and a huge like Phoneb00k, SMS and Whats 叩 p 500034 ; Ph: 040-67138879 shiny tuning knob for adjusting radi0 notifications, the capability tO answer channels. The right side of the speaker includes a plastic vertical volume dial and a 3.5mm port tO connect A feature-rich affordable headphones. The top includes a big smartphone from MOtO 「 0 power button, a small battery indicator light and four buttons for the different megapixel rear camera and sources ー Saregama, USB, FM and Motorola has launched its a 5 meg 叩 ixel front facing BIuetooth ー - on the left side. Moto E4 Plus smartphone camera with beautification The speakers get charged by a with the latest features. standard microUSB charger, and the mode for better selfies. The with a large 13.97cm 、 、 , charge gives over four hours 0f playback The device With at full volume. Saregama's Carvaan two nano SIM slots and ( 5.5inch) HD display with BIuet00th speaker is available via Offers connectivity options nano-coating. lt has a online stores. smooth metal finish, and like Bluetooth 4.1 LE, comes with an embedded microUSB, a 3.5mm fingerprint sensor. headset po 鵬 and sensors The highlight of including an accelerometer, the smartphone is its proximity sensor, etC. The Moto E4 Plus is huge 5000mAh battery available ⅲ iron grey and fine with its 10W rapid charger c 叩 ability that allows up t0 two days 0f gold colours via online and retail stores. use on a single charge. lt is equipped Address: Motorola Solutions lndia, with 3GB RAM and 32GB ROM, along with a 1.3GHz quad-core MediaTek 415 / 2 , MehrauIi-Gurgaon Road, Sector 14 , Near Maharana Pratap MTK6737M SoC. Chowk, Gurugram, Haryana 122001 ; The Moto E4 Plus runs on the latest Android 7.1.1 Nougat. On the Ph: 0124-4192000 ; camera front, the device sports a 13 、 4/ebsite: www..m0[0m厄.ⅲ/ 竄 心 と 0 price: て 5 , 990 Address: Saregama lndia Ltd, 33 , Jessore Road, Kolkata ー 700028 ; Ph: 033-25512984 P 「 ice : て 9 , 999 頂 6E5 R し い 石 第 物 ⅱ 江 18 ー AUGUST 2017 ー OPEN SOURCE FO 日 YOU WWW. OpenSourceForU.com

OpenSource For You August. 2017 Volume.05


Ⅲ Ⅲ Ⅲ Ⅲ い Ⅲ Ⅲ ま 目 日 い ⅱ 日 Ⅲ Ⅲ 目 員 Ⅲ ⅱ ⅱ 員 ま リ 日 Ⅲ 日 い 日 日 Ⅲ い ⅱ Ⅲ Ⅱ 員 Ⅲ Ⅲ ⅱ Ⅲ Ⅲ Ⅲ い リ 川 Ⅲ Ⅲ 日 Ⅲ 日 Ⅲ 員 日 ⅱ Ⅲ 日 い Ⅲ 日 い を 日 日 ⅱ ' 当 蠡 : む 霾 壟 鯛 新 を き Containerisation: Why, What and HOW 59 Success Story 40 FlockOS-based lntegrations Empowers Organisations tO Communicate FIawlessly CoIumns 16 CodeSport 崧 綫 0 リ ー 20 ExpIO 「 ing Software: Financial Literacy DVD of The Month Expe 「 ncé thePowe/ Of Fedora 3 ア Fedora 26 mu 旧 - ト 00t DVD / fe d 6 〒 Q 26 KDE PLASMA DESKTOP A 内 れ 盟 ⅳ ふ 物 ′ OEP smaD ep お を LXQT DESKTOP F 獅 0 ⅵ d 4 EDITOR RAHULCHOPRA 印 Ⅱ 0 用 A し SUBS ( P 刊 0N5 & ADVERTISING DELHI(HQ) D -8 〃 1 ′ 0khla lndustrial A 「 %. Phase し New DeIhi 11 圓 20 Ph: ( 011 ) 26810602 ′ 26810 3 : Fax: 26817563 E-mail: [email protected] MISSINGISSUES E-mail: [email protected] BACK UES Kits 'n' Spares New Delhi 11N20 Ph: ( 011 ) 26371661 第 26371 2 E-maiI: [email protected] NEWSSTAND DISTRIBUTION Ph: 011- 59 E-maiI: [email protected] ADVERTISEMENTS MUMBAI Ph: ( 022 ) 2495 4 ん 24928520 E-maiI: m Ⅷ 軅 n BENGALURU Ph: ( 囲 0 ) 252 394 第 2526N23 E-maiI: [email protected] PUNE Ph : 088 295610 / 870 2 5 ト m 証 [email protected] GU 」 ARAT Ph: ( 079 ) 613 鬨 9 E-maiI:[email protected] CHINA Power Pioneer Gro 叩 徹 . Ph: ( 86 755 ) 837 四 79 ん ( 跖 ) B923802595 E-maiI: powerpioneerafy.in 」 APAN Tandem ll に 第 Ph: 81-3-3541-41 E-maiI:[email protected] SINGAPORE PublicitasSing 叩 orePteLtd Ph: + 65- 36 2272 E-maiI: [email protected] TAIWAN 」 . K. Media, Ph: 886-2-87726780 ext.10 E-maiI: [email protected] UNITED STATES E & Tech Media Ph: 十 1 跖 0 536 77 E-mail: [email protected] printed. published and owned by Ramesh Chopra. Printed at Tara printers pvtLtd, A - 鮖 , 47. Se ( -5. N0ida. on 2 岫 0fthe previous month. and published 行 om D -87 / 1. Okhlalndustrial Phase し New Ddhi11圓[email protected] interviews, verbatim quotes. un 厄 55 Otherwise explicitly mentioned, will be released under Creative Commons Attribution-NonCommercial 3.0 U 叩 0 飛 d License a month 諏 e 「 the date 0f publication. Refer tO http://creativecommons.org/licenses/by-nc/3.0/ f0 ロ COPY Ofthe licence. Although every を 而 ⅲ 5 made t0 ensure 誕 ( 町 a ( y. no 「 espons ト bility whatsoeveris taken for an ⅵ 055 due publishing errors• Artides that cannot be used are returned 加 the authors if accompanied by a self-addressed and sufficiently stamped envelope. Butno responsibility istakenforanylossordelayinreturningthematerial.[)isputes,ifany. will be settled in a New Delhi ( 側 on SUBSCRIPTION RATES Year 0ne Five Newstand Price 72 4 ] 20 1440 YouPay 4320 3030 1150 0 U55 120 WORKSTATION 図 闍 bl い 当 離 ndly,a 面 面 面 9 、 川 師 山 ー 叩 。 取 叩 ( ompu い WWW. OpenSourceForlJ.com Kindly add ぐ 50 / - for outside Delhi cheques. OPEN SOURCE FO 日 YOU ー AUGUST 2017 ー yo 町 subs ( れ on number. Non-receipt 0f ( 叩 ies may be 卿 0 飛 0 5叩内杙@2号.inー-d0 mention 円 ease send payments only ⅲ f 0 Of EFY Enterprises Pvt は d.

OpenSource For You August. 2017 Volume.05


How To Getti れ 9 S ね は Jenkins is 「 eady! Git Presentation Enter an item name J 駅 劇 n 宿 を . Jenkins Figure 6 : The Jenkins dashboard Welcome tO Jenkins! NO ⅸ ー 新 、 朝 ・ 感 . 4 。 ー 5 も MYV'ews . フ 釦 H 叫 を Newttem Jenkins Figure 5 : 'Jenkins is ready!' YourJenkins setup is comp に 匯 . ・ Git Re 四 引 に 5 R 叩 0 馴 0 Ⅳ URL C 「 ed0n033 Figure 8 : Add the GitHub repo い Oq out 5 れ ト ⅱ K い れ Build Execute shetl Cornmand make ( : Figure 9 : The Bui/dstep 3 Figure 10 : BuiId success : : SML make 恤 障 内 曲 u し 馴 山 ⅳ ・ Y 明 ag 衂 み の ・ 愴 ・ を 、 ← Ad ・ L ・ 駅 0 聞 0 0 Add R ・ po 第 0 Ⅳ Advanced„. 5 れ 加 23 、 ・ 麒 新 8 衂 0 日 」 迎 0 破 ミ . 劇 国 皿 の ! T 川 一 物 0 物 ′ 国 物 験 俿 物 儲 0 w 第 ⅸ 0 町 0 い . ( 聞 ー 日 ySCM 損 hn 第 m. 国 幻 、 0 知 ・ 0 80 海 0 川 0 の 町 物 引 朝 創 を 加 . Figure 7 : Enter an item name open the default Jenkins dashboard shown ⅲ Figure 6. An example 0f a new project Let's now create a new build for the の u わ.com/ shakthimaan/di-git-ally-managing-love-letters project. 30 ー AUGUST 2017 ー OPEN SOU 日 CE FOR YOU ー www.0penSourceForU.com An uninstall script tO remove the Jenkins server is available in UninstaIIing should see a screenshot similar to Figure 10. for the project to trigger a build. After a successful build, you From the left panel, you can click on the BuiId Now link make command is added to the Build step, as shown ⅲ Figure 9. she 〃 option is chosen ⅲ the Bu ild step, and the make cl 町 we can simply invoke make to build the proj ect. The Execute A MakefiIe is available ⅲ the project source code, and hence GitHub URL is shown ⅲ Figure 8. default, the master branch will be built. The form to enter the as we are not going tO use any credentials in this example. By Repositories section. The GitHub HTTPS URL is provided The next step is to add the GitHub repo to the for creating a new project. select the 'Freestyle project'. Figure 7 shows the screenshot Provide a name in the 'Enter an item name' text box and the 叫 わ 00 燔 ん dm ⅲ folder. lt is given below for reference: name: Uninstall Jenkins hosts: jenkins gather_facts: true become: yes become_method : sudo tags : [remove] tasks: - name: St0P Jenkins server servlce : name: jenkins state: st 叩 ped - name: Uninstall packages package : name: state: absent with_items : - jenkins The script can be invoked as follows: $ ansible-playbook -i inventory/kvm/inventory playbooks/ admin/uninstall-jenkins. yml Ⅱ 可 By: Shakthi Kannan The author is a free software enthusiast and blogs at shakthimaan.com/