Delivering Commands Most Admins Tend to Use the Shell, Perl, Or Python If They Need a System Administration Script

Total Page:16

File Type:pdf, Size:1020Kb

Delivering Commands Most Admins Tend to Use the Shell, Perl, Or Python If They Need a System Administration Script SYSADMIN PHP for Sysadmins Using PHP in administration scripts Delivering Commands Most admins tend to use the shell, Perl, or Python if they need a system administration script. But there is no need for web programmers to learn another language just to script a routine task. PHP gives admins the power to program command-line tools and even complete web inter- faces. BY CARSTEN MÖHRKE www.sxc .hu HP scripts written for the console PHP tools are typically all you need for parameter is the name of an array, are basically the same as scripts any kind of text manipulation, such as exec() fills the array line by line with Pwritten for the web: programmers modifying configuration files, log files, the output that would have appeared can use the whole range of PHP features. user management entries, and the like. If on screen. If you need to process the To allow simple, program name based ex- you need to access operating system exit code for exec(), you can use the ecution of scripts on the command-line, functions for tasks such as process man- third parameter to do so. you need to specify the PHP interpreter in agement, you will need to add a few • system() does not suppress output, in the first line of the script following #!. If Linux commands. contrast to exec(). It has a second you do not know the path to the inter- optional parameter for the exit code. preter, you can type which php to find Command Line • passthru() works like system(), but in out. Also, the script file needs to be exe- PHP has four functions designed for exe- a binary compatible way. This allows cutable. Let’s take a look at the ubi- cuting command lines: exec(), system(), the command to pass images gener- quitous “Hello, World” example in PHP: passthru(), and shell_exec(): ated as converter output to a web • exec() executes the command that is browser. #!/usr/bin/php -q passed to it as the first parameter and • shell_exec() works like the single para- <?php suppresses any output from the com- meter version of exec(), but instead of echo "Hello, World\n"; mand. The last line of output is outputting the last line, it returns a ?> returned as a result. If the second string with the complete command output. The string contains newline Old and New Shell Interface characters, in contrast to the entries in PHP version 4.3.0 or later has a new shell suppress the header by setting the -q the exec() return value array. interface for programming command option when you launch PHP,but this will Both exec() and shell_exec() are useful in line tools: the CLI (Command Line Interface). not remove HTML tags from error cases where you need to manipulate the Previous versions of PHP (and even some messages.) text output from an external command. newer versions) had a program interface You can can check if you have the CGI ver- The following examples use exec(), called Server Application Programmers sion,which does not have the same which is more flexible than the other Interface (SAPI),but SAPI was designed feature-scope as the command-line inter- functions. There is a small glitch for use on web servers (CGI-SAPI) and face, by typing php -v.The examples in this involved with this at present: PHP does added a HTTP header to output. (You can article will work with either version. not always return the external program’s 56 January 2005 www.linux-magazine.com PHP for Sysadmins SYSADMIN exit code correctly (for example when Table 1: Important ANSI the stream for readability reasons. The concatenating commands). execution time for command-line pro- Sequences grams is not restricted. Process Control Meaning Sequence PHP is ideal for creating web inter- The following PHP script uses exec() to Clear screen \033[2J faces. This attractive option has a few output the number of processes running Cursor to position x,y \033[x;yH hidden pitfalls. When designing the on a system: Cursor n characters left \033[nC application, you need to consider the Cursor n characters up \033[nA potential security risk. The smallest of Font color red \033[0;31m unset ($out); security holes could have fatal conse- Font color black \033[0;30m $cmd="ps axu | wc -l"; quences. An example: Font color green \033[0;32m $erg=exec($cmd,$out); Font color light gray \033[0;37m $erg-=1; //minus 1 line header 01 <form method="POST"> echo "Number of active U 02 Command: <input name= processes is $erg\n"; data to remove whitespace at the end of "cmd" /><br /> the string. There is no need to use stdout 03 <input type= The script first deletes the content of the for data output, as PHP has the echo and "submit"value= $out variable, which represents the array print functions for this task. Output from "Execute" /> that will be storing the command output. both commands can be redirected. 04 </form> exec() would not overwrite the array but 05 <?php simply append to it. The example avoids Colorful 06 if (isset ($_POST['cmd'])) mixing up the results from multiple To design a more comfortable applica- 07 { scripts by first flushing the array. The tion, programmers need functions to 08 $outp=shell_exec command discovers the number of lines delete the screen, control the cursor, and ($_POST[cmd]); in the process list and then subtracts one add color to output. ANSI sequences [1] 09 echo "<pre>$outp</pre>"; line for the column headings. provide a useful solution, as the shell is 10 } shell_exec() and exec() can only han- capable of interpreting them. These 11 ?> dle data from stdout. To catch standard sequences start with the Escape charac- error output from stderr, you need to ter and are better known as Escape Solutions that will execute arbitrary redirect error output to stdout: 2>&1. sequences. For example, echo "\033[2J" commands (like this one) are out of the Programmers often need to pass com- clears the screen. Table 1 lists a few of question. Administrative scripts should mand-line arguments to a script. To the most important sequences. only be executable within a secure envi- allow this to happen, PHP enters the The selected color stays valid until a ronment, and they should not allow any arguments that follow a filename in the different color is selected. The PHP leeway for manipulation. command line into an array called $argv, ncurses function provides more portabil- keeping the original order. Additionally, ity and a much wider range of features. Special Privileges the number of arguments is stored in the See the examples on the PHP or Zend Scripts often need root privileges. A web- $argc variable. homepages at [2], [3] for more details. based PHP script normally runs with the privileges of the web server user ID. It Good Arguments PHP-based User might seem obvious to give this user – PHP does not support commands that Management typically www, wwwrun, or nobody – read data directly from the keyboard. To The following example demonstrates the more wide-ranging privileges, but this is provide support for keyboard entries, functions referred to thus far in the con- extremely dangerous. Commands like programmers can open the stdin stream text of a script for user management on a sudo or su provide an alternative as a file function and read from the file. server for training purposes. Figure 1 approach. However, su requires the inse- This allows use of the related stdout and shows the menu this code creates. List- cure practice of adding the clear text root stderr streams: ing 1 is just an excerpt, and the complete password to your script. script is available for $in=fopen("php://stdin","r"); download at [4]. $err=fopen("php://stdin","w"); You may note that $input=trim(fgets($fp, 100)); the script opens stan- while (""==$input) dard input with { fopen() but does not fputs($err,"Please input a U use fclose() to close value\n"); it. As PHP automati- } cally closes open streams when the If you use stdin to read keyboard input in program finishes, the this way, your script should trim() the script avoids closing Figure 1:The menu of a PHP script for user management. www.linux-magazine.com January 2005 57 SYSADMIN PHP for Sysadmins The sudo tool also can assign root ensures that entries comply with the server user first assumes the identity of privileges for specific actions to a user rules and do not conflict. webadmin temporarily by running su, without that user needing to know the The generic syntax for assigning privi- and is then assigned root privileges for root password. Instead, users authenti- leges with sudo is: WHO WHERE = specific commands via sudo. A script that cate with their own passwords and are WHAT. WHO can be a user name, like in uses this approach might look like this: assigned the privileges specified by root our example, or a group of users, which in the /etc/sudoers file. If an admin needs needs to be defined using User_Alias. $user="webadmin"; //sudoer to assign the webadmin user the right to WHERE means the host where the user $pwd="geheim"; U terminate processes with the kill com- will have these privileges. // Webadmin password mand, he or she could add the following $befehl="kill -9§ § line to /etc/sudoers: Changing Identity ".escapeshellarg($_GET Thanks to the entry in the sudo configu- ["pid"]); webadmin ALL = /bin/kill, U ration file, webadmin can now kill $cmd_line="echo $pwd | U /usr/bin/killall arbitrary processes after entering the su -l $user -c password for the user account.
Recommended publications
  • Version 7.8-Systemd
    Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites
    [Show full text]
  • Use of Third Party Libraries Docker Postgres-9.6.6
    Docker postgres-9.6.6 - Use of Third Party Libraries Name Selected License libc-utils 0.7 (BSD) BSD-Style License libedit 20150325.3.1 (BSD) BSD-Style License libuuid 2.28.2 (BSD-3) BSD-Style License readline 6.3 (GPL) GNU General Public License alpine-baselayout 3.0.4 (GPL v2) GNU General Public License v2.0 apk-tools 2.6.9 (GPL v2) GNU General Public License v2.0 busybox 1.25.1 (GPL v2) GNU General Public License v2.0 scanelf 1.1.6 (GPL2) GNU General Public License v2.0 bash 4.3.46 (GPL v3) GNU General Public License v3.0 or later libgcrypt 1.7.9 (LGPL v2.1) GNU Library General Public License v2.0 or later libgpg-error 1.24 (LGPL v2.1) GNU Library General Public License v2.0 or later alpine-keys 1.3-r0 (MIT) MIT License (also X11) libxml2 2.9.4 (MIT) MIT License (also X11) libxslt 1.1.29 (MIT) MIT License (also X11) su-exec 0.2 (MIT) MIT License (also X11) musl 1.1.15 (MIT) MIT-Style License musl-utils 1.1.15 (MIT) MIT-Style License ncurses-libs 6.0 (MIT) MIT-Style License libcrypto1.0 1.0.2m (openssl) OpenSSL License libressl2.4-libcrypto 2.4.4 (OpenSSL) OpenSSL License libressl2.4-libssl 2.4.4 (OpenSSL) OpenSSL License libssl1.0 1.0.2m (OpenSSL) OpenSSL License tzdata 2016i (Public Domain) Public Domain postgres-9.6.6-alpine-3.5.2 (PostgreSQL) The PostgreSQL License ncurses-terminfo 6.0 (MIT) X11 License ncurses-terminfo-base 6.0 (MIT) X11 License zlib 1.2.11 (zlib) zlib License Docker postgres-9.6.6 - Third-Party Notices Report [alpine-baselayout 3.0.4 (GPL v2)] Copyright Statements TOC 1.3.1 1 License Agreements Recipients who would like to receive a copy of such source code should submit a request to Tripwire by email, at [email protected].
    [Show full text]
  • UG1144 (V2020.1) July 24, 2020 Revision History
    See all versions of this document PetaLinux Tools Documentation Reference Guide UG1144 (v2020.1) July 24, 2020 Revision History Revision History The following table shows the revision history for this document. Section Revision Summary 07/24/2020 Version 2020.1 Appendix H: Partitioning and Formatting an SD Card Added a new appendix. 06/03/2020 Version 2020.1 Chapter 2: Setting Up Your Environment Added the Installing a Preferred eSDK as part of the PetaLinux Tool section. Chapter 4: Configuring and Building Added the PetaLinux Commands with Equivalent devtool Commands section. Chapter 6: Upgrading the Workspace Added new sections: petalinux-upgrade Options, Upgrading Between Minor Releases (2020.1 Tool with 2020.2 Tool) , Upgrading the Installed Tool with More Platforms, and Upgrading the Installed Tool with your Customized Platform. Chapter 7: Customizing the Project Added new sections: Creating Partitioned Images Using Wic and Configuring SD Card ext File System Boot. Chapter 8: Customizing the Root File System Added the Appending Root File System Packages section. Chapter 10: Advanced Configurations Updated PetaLinux Menuconfig System. Chapter 11: Yocto Features Added the Adding Extra Users to the PetaLinux System section. Appendix A: Migration Added Tool/Project Directory Structure. UG1144 (v2020.1) July 24, 2020Send Feedback www.xilinx.com PetaLinux Tools Documentation Reference Guide 2 Table of Contents Revision History...............................................................................................................2
    [Show full text]
  • C/C++ Compile Guide
    WizFi630S Guide C/C++ Compile Guide (Version 1.0.0) © 2019 WIZnet Co., Ltd. All Rights Reserved. For more information, please visit our website at http://www.wiznet.io/ © Copyright 2019 WIZnet Co., Ltd. All rights reserved. 1 WizFi630S Guide Document Revision History Date Revision Changes 2019-11-25 1.0 Release © Copyright 2019 WIZnet Co., Ltd. All rights reserved. 2 WizFi630S Guide Contents 1. Overview ................................................................................................................. 4 2. Download ................................................................................................................ 4 2.1 Prerequisites .................................................................................................. 4 2.2 Packages for Building Environment .......................................................... 4 2.3 OpenWRT Firmware Repository................................................................. 6 2.4 Menuconfig .................................................................................................... 7 3. Write C Code........................................................................................................... 7 3.1 Helloworld ...................................................................................................... 7 3.2 Make the Environment Script .................................................................... 8 4. Cross Compile ......................................................................................................... 8 4.1
    [Show full text]
  • Ncurses Is a UNIX Thing
    04_107591 ch01.qxp:Layout 1 3/14/16 3:38 PM Page 1 CH AP T ER 1 The Setup This chapter covers a basic setup and organization for you to get started with NCurses programming. Here you’ll find: II An introduction to the terminal window in UNIX II A smattering of basic shell commands II curses Creating a special directory for this document’s programs II A review of available text editors II The creation of a basic NCurses program II A review of the gcc compiler and linking commands II Re-editing source code and debugging exercises The idea hereCOPYRIGHTEDis to show you how everything MATERIALworks and to get you com- fortable programming with NCurses, even if you’ve never written a UNIX program before. NCurses Is a UNIX Thing You must have a UNIX-like operating system to work the samples and exam- ples in this book. 1 04_107591 ch01.qxp:Layout 1 3/14/16 3:38 PM Page 2 2 Chapter 1 I The Setup Beyond this, note that you must also have the programming libraries installed for your operating system. Without those libraries, programming in NCurses just isn’t gonna happe/stann. Red/fersystoinyourstaloperatingl system’s installation or setup program, such as in FreeBSD, to install the C programming libraries for your operating system. If special extensions are required to get the NCurses library installed, use them! NOTE It’s possible to program NCurses in Windows when using the Cygwin environment. I’ve not toyed with Cygwin, so I’m unable to comment on it here.
    [Show full text]
  • Multiarch Crossbuilding How to Use It, and What Still Needs Work
    Multiarch crossbuilding How to use it, and what still needs work Wookey The Cross-building victim Debconf 12, Manuagua, Nicaragua 1 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 MultiarchCross Historical Context Autobuilder Toolchains and $stuff Multiarch for cross-deps Examples of things that break Current Status & Outstanding issues Bootstrapping Debconf 12, Manuagua, Nicaragua 2 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Outline 1 Multiarch Crossbuilding 2 Cross-Dependencies 3 Crossbuilding Issues 4 Bootstrapping Debconf 12, Manuagua, Nicaragua 3 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Nomenclature Build : Machine/architecture you are building on Host : Machine/architecture package is being built for Target : Machine/architecture a compiler generates code for Debconf 12, Manuagua, Nicaragua 4 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Potted History 1997 - dpkg-cross (Roman hodek, Dave Schleef, Nikita Youschenko, Neil Williams) 2003 - emdebian cross-toolchains (Wookey, Hector Oron) 2004 - apt-cross 2007 - xapt, pdebuild-cross 2009 - chromiumos-build -! xdeb 2010 - linaro cross-toolchains 2011 - cross-build daemon 2012 - sbuild cross-support 2012 - multiarch-built cross-toolchains (Thibault Girka) Debconf 12, Manuagua, Nicaragua 5 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Cross Build Daemon xbuilder package in Linaro PPA
    [Show full text]
  • Installing Embedded Linux on Zedboard Clément Foucher
    Installing Embedded Linux on ZedBoard Clément Foucher To cite this version: Clément Foucher. Installing Embedded Linux on ZedBoard. 2015. hal-01232886v2 HAL Id: hal-01232886 https://hal.archives-ouvertes.fr/hal-01232886v2 Preprint submitted on 21 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Installing Embedded Linux on ZedBoard Clément Foucher (homepage) [email protected] LAASCNRS Laboratoire d'analyse et d'architecture des systèmes Version 1.1 This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/. February 23, 2017 Contents 1 Before starting 5 1.1 Document purpose....................................5 1.2 Disclaimer.........................................6 1.3 Tools revisions and OS..................................6 1.4 Administrator privileges.................................6 1.5 Conventions and directories...............................6 1.6 Projects..........................................7 1.7 Scripts and logs......................................7 1.8 Environment packages and libraries...........................7 1.8.1 Fedora 22 Workstation..............................7 1.8.2 Ubuntu 16.04 LTS................................8 2 Additional technical information9 2.1 Downloading required sources..............................9 2.2 ZedBoard boot process..................................9 2.3 Reinitializing the SD card to factory state......................
    [Show full text]
  • Cheat Cube the Universal Operating System
    Adult supervision req Adult Modifié par Gardouille uired for using scisso uired rs :p Cheat Cube The Universal Operating System Network Configuration SYSTEM SERVICES INSTALLING, REMOVING, UPDATING $ ifconfig show network information su 'command' run command as root $ uname -r get kernel release # aptitude update refresh available updates $ iwconfig show wireless information su open a root shell $ uname -a get system information # aptitude install pqt install pkg # iwlist scan scan for wireless networks sudo -s open a root shell with user's preferences # service daemon start start daemon # aptitude safe-upgrade upgrade all packages # service networking restart restart NetworkManager su user open a shell as user # service daemon stop stop daemon # aptitude full-upgrade upgrade Debian version # ifup interface bring interface online passwd change your password # service daemon restart restart daemon # aptitude search pqt search package # ifdown interface disable interface $ service daemon status view daemon status # aptitude show pqt show information about package # editor /etc/network/interfaces config file of network chown user:group file change owner:group of file $ runlevel get current runlevel # aptitude remove pqt uninstall pkg interface chgrp group file change group of file # chkconfig --level 35 service on/off set service to run/ # aptitude purge pqt uninstall pkg and it's settings chmod MODE file change file permissions not run in runlevels 3,5 # aptitude hold pqt not update this package Firewall Configuration MODE: DISPLAY # aptitude clean clean
    [Show full text]
  • Developing PHP Applications for IBM Database Servers
    Front cover Developing PHP Applications for IBM Data Servers Develop and deploy Web solutions using PHP and IBM data servers See PHP with DB2, Informix IDS, and Cloudscape examples Port PHP applications from MySQL to DB2 Whei-Jen Chen Holger Kirstein Daniel Krook Kiran H Nair Piotr Pietrzak ibm.com/redbooks International Technical Support Organization Developing PHP Applications for IBM Data Servers May 2006 SG24-7218-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xi. First Edition (May 2006) This edition applies to DB2 UDB Version 8.2, Informix IDS Version 10, PHP Versions 4 and 5, Apache 1.3, and Apache 2. © Copyright International Business Machines Corporation 2006. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . vii Tables . ix Notices . xi Trademarks . xii Preface . xiii The team that wrote this redbook. xiii Acknowledgement. xv Become a published author . xvi Comments welcome. xvi Chapter 1. Technology overview . 1 1.1 Web application environment . 2 1.1.1 Web application advantages . 2 1.1.2 Web application challenges . 3 1.1.3 The state of the Web application world . 4 1.1.4 Web application components . 4 1.2 IBM data servers . 5 1.2.1 DB2 data server . 5 1.2.2 Informix database server family . 8 1.2.3 Cloudscape . 10 1.3 HTTP Servers . 11 1.3.1 Apache HTTP Server . 12 1.3.2 IBM HTTP Server . 15 1.3.3 Which Web server do I choose? .
    [Show full text]
  • APT HOWTO (Obsolete Documentation)
    APT HOWTO (Obsolete Documentation) Gustavo Noronha Silva <[email protected]> 1.7.6 - 2002 年 1 月 ...要要要 こ.£書/、Debian .1#ケージ管理Fー&ィJ&ィ'あK APT ."き+$い&、 Fー ザ+深く理解し&BIうこ(R4¿し&い>す。そ.目¿/、新しい Debian Fーザ.生 aRS+したJ、シス&@管理+$い&理解R深Aたい(Áう®.±助け( *Kこ(' す。Debian Fーザが3ILKサ=ー(R改NすK目¿'、Debian 7M ジェク(.たA+ù 成されました。 QQQùùùñññJJJooo Copyright © 2001, 2002, 2003, 2004 Gustavo Noronha Silva This manual is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details. A copy of the GNU General Public License is available as /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the World Wide Web at the GNU General Public Licence. You can also obtain it by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. i 目目目 hhh 1 //はじじじめAA+++ 1 2 ÇÇÇ%%%¿¿¿***設設設¡¡¡ 3 2.1 /etc/apt/sources.list ファイル .............................3 2.2 Mーカル'. APT .1いè ...............................4 2.3 sources.list 5ァ イ K+記述す 9き最Á*?Iーサ イ(.決¡: netselect, netselect-apt........................................5 2.4 sources.list ファイル+ CD-ROM R追加する .....................6 3 111##ッケケケーーージジジ...管管管理理理 9 3.1 利用可能*パッケージ.K覧Rf新する .......................9 3.2 パッケージ.インストーK ...............................9 3.3 パッケージ.ú! ....................................
    [Show full text]
  • Intel® FPGA Software Installation and Licensing
    Intel® FPGA Software Installation and Licensing Updated for Intel® Quartus® Prime Design Suite: 17.1 Subscribe MNL-1065 | 2018.04.16 Send Feedback Latest document on the web: PDF | HTML Contents Contents 1. Introduction to Intel® FPGA Software Licensing............................................................. 4 1.1. About Intel FPGA Software Installation and Licensing..................................................4 2. System Requirements and Prerequisites.........................................................................5 2.1. System Requirements............................................................................................ 5 2.1.1. Minimum Hardware Requirements................................................................5 2.1.2. Cable and Port Requirements...................................................................... 5 2.1.3. Software Requirements.............................................................................. 5 2.2. Download and Installation Prerequisites....................................................................6 3. Downloading and Installing Intel FPGA Software........................................................... 8 3.1. Introduction..........................................................................................................8 3.1.1. Software Available in the Download Center....................................................8 3.1.2. Windows Download Manager....................................................................... 9 3.2. Downloading and Installing
    [Show full text]
  • Intel® FPGA Software Installation and Licensing
    Intel® FPGA Software Installation and Licensing Updated for Intel® Quartus® Prime Design Suite: 21.2 Subscribe MNL-1065 | 2021.06.21 Send Feedback Latest document on the web: PDF | HTML Contents Contents 1. Introduction to Intel® FPGA Software Installation and Licensing................................... 4 1.1. Intel FPGA Download Center................................................................................... 4 1.2. Intel FPGA Self-Service Licensing Center...................................................................4 2. System Requirements and Prerequisites.........................................................................5 2.1. Minimum Hardware Requirements............................................................................5 2.2. Cable and Port Requirements.................................................................................. 5 2.3. Software Requirements.......................................................................................... 6 2.3.1. Installing Windows Subsystem for Linux* (WSL) on Windows.......................... 7 2.3.2. Intel High Level Synthesis Compiler Software Requirements............................ 7 2.3.3. ModelSim - Intel FPGA Edition Software Requirements....................................8 2.4. Interaction with Third-party Software....................................................................... 8 3. Downloading and Installing Intel FPGA Software........................................................... 9 3.1. Software Available in the Download Center................................................................9
    [Show full text]