Intern:Server/im_data
(Weitergeleitet von Server/im data)
Der FSR I/M wollte gern, als Ergänzung zu Server/im_web eine eigenständige Instanz für PostgreSQL für sich verwenden.
Betriebssystem[Bearbeiten]
- Server/srs1337
- Jail FreeNAS
- FreeBSD
Jail[Bearbeiten]
- erstmal "irgendeine" Adresse für IPv4 vergeben
- 141.56.50.132
- Im Bezug auf 141.56.50.131 von Server/im_web wurde die (hoffentlich) noch nicht vergebene direkt nachfolgende Adresse verwendet.
- 141.56.50.132
- 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>)
* apache24-2.4.20_1 Version 2.4.x of Apache web server * apr-1.5.2.1.5.4 Apache Portability Library * autoconf-2.69_1 Automatically configure source code on many Un*x platforms * autoconf-wrapper-20131203 Wrapper script for GNU autoconf * automake-1.15_1 GNU Standards-compliant Makefile generator * automake-wrapper-20131203 Wrapper script for GNU automake * ca_root_nss-3.22.2 Root certificate bundle from the Mozilla Project * cmake-3.5.2_1 Cross-platform Makefile generator * cmake-modules-3.5.2 Modules and Templates for CMake * 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 * db5-5.3.28_4 Oracle Berkeley DB, revision 5.3 * dialog4ports-0.1.5_2 Console Interface to configure ports * expat-2.1.1 XML 1.0 parser written in C * gdbm-1.12 GNU database manager * gettext-runtime-0.19.7 GNU gettext runtime libraries and programs * gettext-tools-0.19.7 GNU gettext development and translation tools * git-2.8.1 Distributed source code management tool * gmake-4.2_1 GNU version of 'make' utility * gmake-lite-4.1_1 Minimalist version of gnu make * help2man-1.43.3_1 Automatically generating simple manual pages from program output * indexinfo-0.2.4 Utility to regenerate the GNU info page index * jsoncpp-1.7.2_1 JSON reader and writer library for C++ * ldap-account-manager-5.3 Webfrontend for managing accounts stored in an OpenLDAP server * libarchive-3.2.0_1,1 Library to create and read several streaming archive formats * libedit-3.1.20150325_2 Command line editor library * libffi-3.2.1 Foreign Function Interface * libiconv-1.14_9 Character set conversion library * libltdl-2.4.6 System independent dlopen wrapper * liblz4-131 LZ4 compression library, lossless and very fast * libmcrypt-2.5.8_3 Multi-cipher cryptographic library (used in PHP) * libtool-2.4.6 Generic shared library support script * libxml2-2.9.3 XML parser library for GNOME * libzip-1.1.2 C library for reading, creating, and modifying ZIP archives * lmdb-0.9.18 OpenLDAP Lightning Memory-Mapped Database * lzo2-2.09 Portable speedy, lossless data compression library * m4-1.4.17_1,1 GNU m4 * mysql56-client-5.6.30 Multithreaded SQL database (client) * nano-2.4.3 Nano's ANOther editor, an enhanced free Pico clone * openldap-client-2.4.44 Open source LDAP client implementation * openldap-server-2.4.44 Open source LDAP server implementation * 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-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-Locale-gettext-1.06 Message handling functions * 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-Quota-1.7.2 Perl module that provides access to filesystem quotas * p5-Socket-2.021 Networking constants and support functions * 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) * pcre-8.38_1 Perl Compatible Regular Expressions library * perl5-5.20.3_13 Practical Extraction and Report Language * php56-5.6.22 PHP Scripting Language * php56-gettext-5.6.22 The gettext shared extension for php * php56-hash-5.6.22 The hash shared extension for php * php56-iconv-5.6.22 The iconv shared extension for php * php56-json-5.6.22 The json shared extension for php * php56-ldap-5.6.22 The ldap shared extension for php * php56-mcrypt-5.6.22 The mcrypt shared extension for php * php56-openssl-5.6.22 The openssl shared extension for php * php56-session-5.6.22 The session shared extension for php * php56-simplexml-5.6.22 The simplexml shared extension for php * php56-xml-5.6.22 The xml shared extension for php * php56-zip-5.6.22 The zip shared extension for php * phpldapadmin-1.2.3_7,1 PHP application to administer LDAP over the web * pkg-1.8.3 Package manager * pkgconf-0.9.12_1 Utility to help to configure compiler and linker flags * postgresql93-client-9.3.13 PostgreSQL database (client) * py27-Babel-2.3.4 Collection of tools for internationalizing Python applications * py27-Jinja2-2.8 Fast and easy to use stand-alone template engine * py27-MarkupSafe-0.23 Implements XML/HTML/XHTML Markup safe string for Python * py27-alabaster-0.7.6 Modified Kr Sphinx theme * py27-docutils-0.12 Python Documentation Utilities * py27-imagesize-0.7.1 Python image size library * py27-pygments-2.1.3 Syntax highlighter written in Python * py27-pystemmer-1.3.0_1 Snowball Stemming Algorithms for Information Retrieval * py27-pytz-2016.4,1 World Timezone Definitions for Python * py27-setuptools27-20.0 Python packages installer * py27-six-1.10.0 Python 2 and 3 compatibility utilities * py27-snowballstemmer-1.2.0_1 Snowball stemming library collection for Python * py27-sphinx-1.4.1 Python documentation generator * py27-sphinx_rtd_theme-0.1.9 Mobile-friendly py-sphinx theme * python2-2_3 The "meta-port" for version 2 of the Python interpreter * python27-2.7.11_2 Interpreted object-oriented programming language * scons-2.5.0 Build tool alternative to make * serf-1.3.8_1 Serf HTTP client library * sqlite3-3.12.2 SQL database engine in a C library * subversion-1.9.4 Version control system