Intern:Server/im_web

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen

Der FSR I/M wollte gern einen Dienst (Erstellung und Betreuung von Protokollen) für sich testen. Dazu kam die Anfrage, dass es erst einmal in einer Instanz getestet werden kann. Später soll vielleicht passend beim FSR I/M ein NAS angeschafft werden, um die Daten und den Dienst zu betreiben.

Betriebssystem[Bearbeiten]

Server/srs1337
Jail FreeNAS
FreeBSD

Jail[Bearbeiten]

  • erstmal "irgendeine" Adresse für IPv4 vergeben
    141.56.50.131
  • wegen wikipedia:de:PostgreSQL bei Sysctls Ergänzung vorgenommen
    ,allow.sysvipc=true

Einrichtung[Bearbeiten]

Zugriff per ssh dauerhaft ermöglichen

sysrc sshd_enable=yes

Account anlegen, der der Gruppe wheel zugeordnet ist (Somit kann der Account mit dem Befehl su root werden.)

adduser
Username: paul
Full name: Paul Patolla
Uid (Leave empty for default): 
Login group [paul]: 
Login group is paul. Invite paul into other groups? []: wheel
Login class [default]: 
Shell (sh csh tcsh git-shell nologin) [sh]: 
Home directory [/home/paul]: 
Home directory permissions (Leave empty for default): 
Use password-based authentication? [yes]: 
Use an empty password? (yes/no) [no]: 
Use a random password? (yes/no) [no]: 
Enter password: 
Enter password again: 
Lock out the account after creation? [no]: 
Username   : paul
Password   : *****
Full Name  : Paul Patolla
Uid        : 1001
Class      : 
Groups     : paul wheel
Home       : /home/paul
Home Mode  : 
Shell      : /bin/sh
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (paul) to the user database.
Add another user? (yes/no): no
Goodbye!

pauschales Aktualisieren der installierten Pakete

pkg upgrade -y


Installierte Dienste und Pakete[Bearbeiten]

Für die Abfrage von installierten Diensten wurde folgender Befehl angewandt:

pkg info (MediaWiki-formatiert: pkg info | sed 's/^\(.\)/* \1/', Ausgabe in <pre>)
* abiword-3.0.1_2                Open-source, cross-platform WYSIWYG word processor
* adwaita-icon-theme-3.18.0      GNOME Symbolic Icons
* alsa-lib-1.1.1_1               ALSA compatibility library
* apache24-2.4.20_1              Version 2.4.x of Apache web server
* apr-1.5.2.1.5.4                Apache Portability Library
* argyllcms-1.7.0_1              ICC compatible color management system
* asio-1.10.4                    Cross-platform C++ library for network and low-level I/O programming
* at-spi2-atk-2.18.1             Assisted Technology Provider module for GTK+
* at-spi2-core-2.18.3            Assistive Technology Service Provider Interface
* atk-2.18.0                     GNOME accessibility toolkit (ATK)
* avahi-app-0.6.31_5             Service discovery on a local network
* bash-4.3.42_1                  The GNU Project's Bourne Again SHell
* binutils-2.25.1_2,1            GNU binary tools
* boost-libs-1.55.0_10           Free portable C++ libraries (without Boost.Python)
* ca_root_nss-3.22.2             Root certificate bundle from the Mozilla Project
* cairo-1.14.6,2                 Vector graphics library with cross-device output support
* cantarell-fonts-0.0.24         Cantarell, a Humanist sans-serif font family
* cclient-2007f_2,1              C-client mail access routines by Mark Crispin
* colord-1.2.11_1                Manage color profiles to accurately color input/output devices
* compositeproto-0.4.2           Composite extension headers
* cups-2.1.3_2                   Common UNIX Printing System
* curl-7.49.0                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
* cvsps-2.1_1                    Create patchset information from CVS
* cyrus-sasl-2.1.26_12           RFC 2222 SASL (Simple Authentication and Security Layer)
* cyrus-sasl-saslauthd-2.1.26_3  SASL authentication server for cyrus-sasl2
* damageproto-1.2.1              Damage extension headers
* db5-5.3.28_4                   Oracle Berkeley DB, revision 5.3
* dbus-1.8.20                    Message bus system for inter-application communication
* dbus-glib-0.104                GLib bindings for the D-BUS messaging system
* dejavu-2.35                    Bitstream Vera Fonts clone with a wider range of characters
* desktop-file-utils-0.22_3      Couple of command line utilities for working with desktop entries
* dialog4ports-0.1.5_2           Console Interface to configure ports
* dri2proto-2.8                  DRI2 prototype headers
* enchant-1.6.0_5                Dictionary/spellchecking framework
* encodings-1.0.4_3,1            X.Org Encoding fonts
* expat-2.1.1                    XML 1.0 parser written in C
* fixesproto-5.0                 Fixes extension headers
* font-bh-ttf-1.0.3_3            X.Org Bigelow & Holmes TTF font
* font-misc-ethiopic-1.0.3_3     X.Org miscellaneous Ethiopic font
* font-misc-meltho-1.0.3_3       X.Org miscellaneous Meltho font
* font-util-1.3.1                Create an index of X font files in a directory
* fontconfig-2.11.1_2,1          XML-based font configuration API for X Windows
* freetype2-2.6.3                Free and portable TrueType font rendering engine
* fribidi-0.19.7                 Free Implementation of the Unicode Bidirectional Algorithm
* gamin-0.1.10_8                 File and directory monitoring system
* gbm-11.1.2                     gbm library
* gcc-4.8.5_2                    GNU Compiler Collection 4.8
* gcc-ecj-4.5                    Eclipse Java Compiler used to build GCC Java
* gdbm-1.12                      GNU database manager
* gdk-pixbuf2-2.32.3_1           Graphic library for GTK+
* gettext-runtime-0.19.7         GNU gettext runtime libraries and programs
* giflib-5.1.3                   Tools and library routines for working with GIF images
* git-2.8.1                      Distributed source code management tool
* glib-2.46.2                    Some useful routines of C programming (current stable version)
* glib-networking-2.46.1_1       Network-related giomodules for glib
* glproto-1.4.17                 GLX extension headers
* gmake-4.1_2                    GNU version of 'make' utility
* gmp-5.1.3_3                    Free library for arbitrary precision arithmetic
* gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
* gnutls-3.4.12                  GNU Transport Layer Security library
* gobject-introspection-1.46.0   Generate interface introspection data for GObject libraries
* goffice010-0.10.28             GLib/GTK+ set of document centric objects and utilities
* graphite2-1.3.8                Rendering capabilities for complex non-Roman writing systems
* gsettings-desktop-schemas-3.18.1 Collection of globally shared GSetting schemas
* gtk-update-icon-cache-2.24.29  Gtk-update-icon-cache utility from the Gtk+ toolkit
* gtk3-3.18.8_3                  Gimp Toolkit for X11 GUI (current stable version)
* harfbuzz-1.2.3                 OpenType text shaping engine
* hicolor-icon-theme-0.15        High-color icon theme shell from the FreeDesktop project
* htop-2.0.1                     Better top(1) - interactive process viewer
* hunspell-1.3.3                 Improved spell-checker for Hungarian and other languages
* icu-55.1                       International Components for Unicode (from IBM)
* indexinfo-0.2.4                Utility to regenerate the GNU info page index
* inputproto-2.3.1               Input extension headers
* jasper-1.900.1_16              Implementation of the codec specified in the JPEG-2000 standard
* java-zoneinfo-2016.d           Updated Java timezone definitions
* javavmwrapper-2.5              Wrapper script for various Java Virtual Machines
* jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
* jpeg-turbo-1.4.2               SIMD-accelerated JPEG codec which replaces libjpeg
* kbproto-1.0.7                  KB extension headers
* lcms2-2.7_2                    Accurate, fast, and small-footprint color management engine
* ldapsh-2.00_4,1                Interactive shell used to administer ldap directories
* ldb-1.1.26                     LDAP-like embedded database
* libEGL-11.1.2                  OpenEGL library
* libGL-11.1.2                   OpenGL library that renders using GLX or DRI
* libICE-1.0.9_1,1               Inter Client Exchange library for X11
* libSM-1.2.2_3,1                Session Management library for X11
* libX11-1.6.3,1                 X11 library
* libXScrnSaver-1.2.2_3          The XScrnSaver library
* libXau-1.0.8_3                 Authentication Protocol library for X11
* libXaw-1.0.13,2                X Athena Widgets library
* libXcomposite-0.4.4_3,1        X Composite extension library
* libXcursor-1.1.14_3            X client-side cursor loading library
* libXdamage-1.1.4_3             X Damage extension library
* libXdmcp-1.1.2                 X Display Manager Control Protocol library
* libXext-1.3.3_1,1              X11 Extension library
* libXfixes-5.0.1_3              X Fixes extension library
* libXft-2.3.2_1                 Client-sided font API for X applications
* libXi-1.7.6,1                  X Input extension library
* libXinerama-1.1.3_3,1          X11 Xinerama library
* libXmu-1.1.2_3,1               X Miscellaneous Utilities libraries
* libXp-1.0.3,1                  X print library
* libXpm-3.5.11_4                X Pixmap library
* libXrandr-1.5.0                X Resize and Rotate extension library
* libXrender-0.9.9               X Render extension library
* libXt-1.1.5,1                  X Toolkit library
* libXtst-1.2.2_3                X Test extension
* libXv-1.0.10_3,1               X Video Extension library
* libXvMC-1.0.9                  X Video Extension Motion Compensation library
* libXxf86vm-1.1.4_1             X Vidmode Extension
* libarchive-3.2.0_1,1           Library to create and read several streaming archive formats
* libcroco-0.6.11                CSS2 parsing library
* libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
* libdevq-0.0.2_1                Generic Device Query and Monitor interface
* libdrm-2.4.66,1                Userspace interface to kernel Direct Rendering Module services
* libedit-3.1.20150325_2         Command line editor library
* libepoxy-1.3.1                 Library to handle OpenGL function pointer management
* libexecinfo-1.1_3              Library for inspecting program's backtrace
* libffi-3.2.1                   Foreign Function Interface
* libfontenc-1.1.3               The fontenc Library
* libgcrypt-1.7.0                General purpose crypto library based on code used in GnuPG
* libglapi-11.1.2                Common GL api library used by Mesa based ports
* libglesv2-11.1.2               OpenGL ES v2 library
* libgpg-error-1.22              Common error values for all GnuPG components
* libgsf-1.14.36                 Extensible I/O abstraction for dealing with structured file formats
* libiconv-1.14_9                Character set conversion library
* libidn-1.31                    Internationalized Domain Names command line tool
* libinotify-20160505            Kevent based inotify compatible library
* libltdl-2.4.6                  System independent dlopen wrapper
* liblz4-131                     LZ4 compression library, lossless and very fast
* libpaper-1.1.24.4              Library providing routines for paper size management
* libpciaccess-0.13.4            Generic PCI access library
* libproxy-0.4.12                Library that provides automatic proxy configuration management
* libpthread-stubs-0.3_6         This library provides weak aliases for pthread functions
* librsvg2-2.40.13               Library for parsing and rendering SVG vector-graphic files
* libsoup-2.52.2                 SOAP (Simple Object Access Protocol) implementation in C
* libsunacl-1.0                  Wrapper providing SunOS NFSv4 ACL API
* libtasn1-4.8                   ASN.1 structure parser library
* libwmf-0.2.8.4_15              Tools and library for converting Microsoft WMF (windows metafile)
* libxcb-1.11.1                  The X protocol C-language Binding (XCB) library
* libxml2-2.9.3                  XML parser library for GNOME
* libxshmfence-1.2               Shared memory 'SyncFence' synchronization primitive
* libxslt-1.1.28_8               The XSLT C library for GNOME
* libzip-1.1.2                   C library for reading, creating, and modifying ZIP archives
* llvm37-3.7.1_2                 LLVM and Clang
* lmdb-0.9.18                    OpenLDAP Lightning Memory-Mapped Database
* lsof-4.90.b,8                  Lists information about open files (similar to fstat(1))
* lzo2-2.09                      Portable speedy, lossless data compression library
* mkfontdir-1.0.7                Create an index of X font files in a directory
* mkfontscale-1.1.2              Creates an index of scalable font files for X
* mod_php70-7.0.7                PHP Scripting Language
* mpc-1.0.3                      Library of complex numbers with arbitrarily high precision
* mpfr-3.1.4                     Library for multiple-precision floating-point computations
* nano-2.4.3                     Nano's ANOther editor, an enhanced free Pico clone
* nettle-3.2                     Low-level cryptographic library
* nmap-7.12                      Port scanning utility for large networks
* node4-4.4.5                    V8 JavaScript for client and server (4.x LTS)
* npm2-2.15.6                    Node package manager
* nspr-4.12                      Platform-neutral API for system level and libc like functions
* oniguruma5-5.9.6_1             BSDL Regular Expressions library compatible with POSIX/GNU/Perl
* openjdk-7.101.00,1             Java Development Kit 7
* openjdk8-8.92.14               Java Development Kit 8
* openldap-client-2.4.44         Open source LDAP client implementation
* openldap-server-2.4.44         Open source LDAP server implementation
* p11-kit-0.23.2                 Library for loading and enumerating of PKCS#11 modules
* p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
* p5-Convert-ASN1-0.27_2         Perl5 module to encode and decode ASN.1 data structures
* p5-Date-Manip-6.53             Perl5 module containing date manipulation routines
* p5-Digest-HMAC-1.03_1          Perl5 interface to HMAC Message-Digest Algorithms
* p5-Error-0.17024               Error/exception handling in object-oriented programming style
* p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
* p5-IO-Socket-IP-0.37           Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6
* p5-IO-Socket-SSL-2.027         Perl5 interface to SSL sockets
* p5-Mozilla-CA-20160104         Perl extension for Mozilla CA cert bundle in PEM format
* p5-Net-SMTP-SSL-1.03           SSL support for Net::SMTP
* p5-Net-SSLeay-1.74             Perl5 interface to SSL
* p5-ParseLex-2.21_1             Object-oriented generator of lexical analyzers
* p5-ParseTemplate-3.08_1        Processor for templates containing Perl expressions
* p5-ReadLine-Perl-1.0303_3      Perl 5 module for Term::ReadLine editing without GNU readline
* p5-Socket-2.021                Networking constants and support functions
* p5-Term-ReadKey-2.32_1         Perl5 module for simple terminal control
* p5-URI-1.71                    Perl5 interface to Uniform Resource Identifier (URI) references
* p5-XML-Filter-BufferText-1.01_1 Filter to put all characters() in one event
* p5-XML-NamespaceSupport-1.11_1 Simple generic namespace support class
* p5-XML-SAX-0.99_2              Simple API for XML
* p5-XML-SAX-Base-1.08_1         Base class SAX Drivers and Filters
* p5-XML-SAX-Writer-0.56         SAX2 XML Writer
* p5-perl-ldap-0.6500            Client interface to LDAP (includes Net::LDAP)
* pango-1.38.0_1                 Open-source framework for the layout and rendering of i18n text
* pciids-20160522                Database of all known IDs used in PCI devices
* pcre-8.38_1                    Perl Compatible Regular Expressions library
* perl5-5.20.3_13                Practical Extraction and Report Language
* php70-7.0.7                    PHP Scripting Language
* php70-ctype-7.0.7              The ctype shared extension for php
* php70-curl-7.0.7               The curl shared extension for php
* php70-dom-7.0.7                The dom shared extension for php
* php70-filter-7.0.7             The filter shared extension for php
* php70-gd-7.0.7                 The gd shared extension for php
* php70-gettext-7.0.7            The gettext shared extension for php
* php70-hash-7.0.7               The hash shared extension for php
* php70-iconv-7.0.7              The iconv shared extension for php
* php70-imap-7.0.7               The imap shared extension for php
* php70-json-7.0.7               The json shared extension for php
* php70-ldap-7.0.7               The ldap shared extension for php
* php70-mbstring-7.0.7           The mbstring shared extension for php
* php70-openssl-7.0.7            The openssl shared extension for php
* php70-pdo-7.0.7                The pdo shared extension for php
* php70-pgsql-7.0.7              The pgsql shared extension for php
* php70-phar-7.0.7               The phar shared extension for php
* php70-session-7.0.7            The session shared extension for php
* php70-simplexml-7.0.7          The simplexml shared extension for php
* php70-tokenizer-7.0.7          The tokenizer shared extension for php
* php70-xml-7.0.7                The xml shared extension for php
* php70-xmlwriter-7.0.7          The xmlwriter shared extension for php
* php70-xsl-7.0.7                The xsl shared extension for php
* php70-zip-7.0.7                The zip shared extension for php
* pixman-0.34.0                  Low-level pixel manipulation library
* pkg-1.8.6                      Package manager
* png-1.6.21                     Library for manipulating PNG images
* polkit-0.113_1                 Framework for controlling access to system-wide components
* popt-1.16_1                    Getopt(3) like library with a number of enhancements, from Redhat
* postgresql-jdbc-9.2.1004       The Java JDBC implementation for PostgreSQL
* postgresql93-client-9.3.13     PostgreSQL database (client)
* postgresql93-contrib-9.3.13    The contrib utilities from the PostgreSQL distribution
* postgresql93-server-9.3.13     The most advanced open-source database available anywhere
* printproto-1.0.5               Print extension headers
* py27-dnspython-1.12.0          DNS toolkit for Python
* py27-setuptools27-20.0         Python packages installer
* python2-2_3                    The "meta-port" for version 2 of the Python interpreter
* python27-2.7.11_2              Interpreted object-oriented programming language
* python3-3_3                    The "meta-port" for version 3 of the Python interpreter
* python34-3.4.4_2               Interpreted object-oriented programming language
* randrproto-1.5.0               Randr extension headers
* recordproto-1.14.2             RECORD extension headers
* renderproto-0.11.1             RenderProto protocol headers
* samba-nsupdate-9.8.6_1         nsupdate utility with GSS-TSIG support
* samba44-4.4.3_1                Free SMB/CIFS and AD/DC server and client for Unix
* scala-2.11.8                   Scala Programming Language
* scrnsaverproto-1.2.2           ScrnSaver extension headers
* serf-1.3.8_1                   Serf HTTP client library
* shared-mime-info-1.5           MIME types database from the freedesktop.org project
* spidermonkey170-17.0.0_1       Standalone JavaScript based from Mozilla 17-esr
* sqlite3-3.13.0                 SQL database engine in a C library
* ssmtp-2.64_1                   Extremely simple MTA to get mail off the system to a mail hub
* subversion-1.9.4               Version control system
* t1lib-5.1.2_4,1                Type 1 font rasterization library for Unix/X11
* talloc-2.1.6                   Hierarchical pool based memory allocator
* tdb-1.3.9,1                    Trivial Database
* tevent-0.9.28                  Talloc based event loop library
* tidy4-20000804_3               Fixes and tidies up HTML files
* tiff-4.0.6_1                   Tools and library routines for working with TIFF images
* tpm-emulator-0.7.4_1           Trusted Platform Module (TPM) emulator
* trousers-0.3.13                Open-source TCG Software Stack
* videoproto-2.3.2               Video extension headers
* wget-1.16.3_1                  Retrieve files from the Net via HTTP(S) and FTP
* wv-1.2.9_3                     Library and executables to access Microsoft Word files
* xcb-util-0.4.0_1,1             Module with libxcb/libX11 extension/replacement libraries
* xcb-util-renderutil-0.3.9_1    Convenience functions for the Render extension
* xextproto-7.3.0                XExt extension headers
* xf86vidmodeproto-2.3.1         XFree86-VidModeExtension extension headers
* xineramaproto-1.2.1            Xinerama extension headers
* xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
* xproto-7.0.28                  X11 protocol headers

Siehe auch[Bearbeiten]