Logo Page Web Française
Accueil Association BSD Linux Dev Reseau Infologisme Mac OSX
tl tr
Subject System Date 2013-05-16
Title OpenBSD - Install and Configure 5.3 Release version Section BSD Linux
Article

Table of contents

1. Prerequisites 8. Install PostgreSQL
2. Perform installing 9. Install Apache
3. Update 10. Install PHP
4. Packages Installing 11. Install phpMyAdmin
5. Webmin installation and Files configuration 12. Graphic interface
6. Install Bind 13. OpenBSD Epilogue
7. Install MySQL 14. Miscellaneous


Foreword

OpenBSD is an Unix-type Operating System derived from BSD 4.4. OpenBSD is well-known for its intransigence regarding free software, the source code, the quality of its documentation, with an initial foundation based on safety including a system-integrated cryptography.

The OpenBSD Project's safety orientation is its primary axis under BSD License (Berkeley Software Distribution).

Theo de Raadt, a computer engineer, is the founder and Chief of Project for the OpenBSD System and the OpenSSH, OpenNTPD and OpenBGPD. He also participated in the creation of NetBSD, and is known for its sharp and uncompromising stance. Following his eviction from the NetBSD's board, he founded the OpenBSD Project in 1994.

OpenBSD is simpler and less structured than FreeBSD which is the most advanced of all the BSD's. OpenBSD is maintened by binaries and requires less machine resources, which may be one of the major prerogatives for some. OpenBSD is a very appealing system, especially with the SSH console!

Olivier Graves – Translation

1. Prerequisites Début de page

Dispose a Virtual Machine with one « Lightweight System » comprising : Apache Bind MySQL PHP phpMyAdmin PostgreSQL Webalizer Webmin

Install OpenBSD-5.3 Current version in a virtual Machine Oracle VM VirtualBox. Configure the Machine virtual as indicated for FreeBSD in articles below :

Configure Oracle VM VirtualBox for FreeBSD-8.4
Virtual Server FreeBSD-8.4 on Mac OSX Snow Leopard


Select an ISO image « Net Install » on a FTP Server, for example :

ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/cd53.iso

An ISO image complete of installation :

ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/install53.iso


Remark : Method of identical installation for a material installation.

2. Perform installing Début de page

Installation in Console mode from OpenBSD.

Finish with Enter key after seizure the questions of the installation process.


Welcome to the OpenBSD/amd64 5.3 installation program.
(I)nstall, (U)pgrade or (S)hell? i

Choose your keyboard layout ('?' or 'L' for list) [default] fr

System hostname? (short form, e.g. 'foo') serveur

Available network interfaces are: em0 vlan0.
Which one do you wish to configure? (or 'done') [em0] Enter

IPv4 address for em0? (or 'dhcp' or 'none') [dhcp] 192.168.1.2
Netmask? [255.255.255.0] Enter
IPv6 address for fxp0? (or 'rtsol' or 'none') [none] Enter
Available network interfaces are: fxp0 vlan0.
Which one do you wish to configure? (or 'done') [done] Enter
Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 192.168.1.254
add default: gateway 192.168.1.254
DNS domain name? (e.g. 'bar.com') [my.domain] domaine.com
DNS nameservers? (IP address list or 'none') [none] 80.10.246.2
Do you want to do any manual network configuration? [no] Enter

Password for root account? (will not echo) Password
Password for root account? (again) Password

Start sshd(8) by default? [yes] Enter

Start ntpd(8) by default? [no] y
NTP server? (hostname or 'default') [default] ch.pool.ntp.org

Do you expect to run the X Window System? [yes] n
Do you want the X Window System to be started by xdm(1)? [no] Enter

Setup a user? (enter a lower-case loginname, or 'no') [no] Enter

What timezone are you in? ('?' for list) [CET] Enter

Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0] Enter
Use DUIDs rather than device names in fstab? [yes] Enter

Use (W)hole disk or (E)dit the MBR? [whole] Enter

Table de partions variable selon le Disque...

Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] Enter

Formatage du Disque...

Location of sets? (cd disk ftp http or 'done') [cd] ftp Enter
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] Enter
Server? (hostname, list#, 'done' or '?') [mirror.example.org] ftp.ch.openbsd.org
Server directory? [pub/OpenBSD/snapshots/amd64] Enter
Login? [anonymous] Enter

Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-' to the set name, file name pattern or 'all'. Selected
sets are labelled '[X]'.
    [X] bsd           [X] etc53.tgz     [X] xbase53.tgz    [ ] xserv53.tgz
    [X] bsd.rd        [X] comp53.tgz    [ ] xetc53.tgz
    [X] bsd.mp        [X] man53.tgz     [ ] xshare53.tgz
    [X] base53.tgz    [ ] game53.tgz    [ ] xfont53.tgz
Set name(s)? (or 'abort' or 'done') [done] Enter

Saving configuration files...done.
Generating initial host.random file...done.
Making all device nodes...done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.

# reboot



Remark : See the installation details with DHCP 4.5.2 - The Install Questions

3. Update Début de page

Date and Time

rdate -4n ch.pool.ntp.org


Environment variable PKG_PATH if necessary.

export PKG_PATH=ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/


Installed packages

pkg_add -ui -F update -F updatedepends


Ports tree – * Installation option is not required.

cd /tmp/
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz
cd /usr/
tar xzf /tmp/ports.tar.gz



Kernel and System Components

mkdir /home/release/
cd /home/release/
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.mp
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd

export RELEASEPATH=/home/release/
cd ${RELEASEPATH}
rm /obsd ; ln /bsd /obsd && cp bsd /nbsd && mv /nbsd /bsd
cp bsd.rd bsd.mp /

# reboot

cd /home/release/
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/base53.tgz
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/comp53.tgz
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/man53.tgz
ftp ftp://ftp.ch.openbsd.org/pub/OpenBSD/snapshots/amd64/xbase53.tgz

tar -C / -xzphf base53.tgz
tar -C / -xzphf comp53.tgz
tar -C / -xzphf man53.tgz
tar -C / -xzphf xbase53.tgz

# reboot

cd /dev
./MAKEDEV all

4. Packages Installing Début de page

Remark : Connect to the Server in « root » Super-user mode in a Terminal SSH.

In console mode, seize the following commands by ending the seizure with the Enter key.


Install the packages with their dependencies.

pkg_add -r avahi-0.6.31p8.tgz bison gmake gnupg-2.0.19p3.tgz libcroco libmcrypt libsigc++ libssh2 m4 nano nss ruby-1.9.3.392.tgz screen-4.0.3p3.tgz smartmontools webalizer


Execute the symbolic links.

ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc

ln -sf /usr/local/bin/ruby19 /usr/local/bin/ruby
ln -sf /usr/local/bin/erb19 /usr/local/bin/erb
ln -sf /usr/local/bin/irb19 /usr/local/bin/irb
ln -sf /usr/local/bin/rdoc19 /usr/local/bin/rdoc
ln -sf /usr/local/bin/ri19 /usr/local/bin/ri
ln -sf /usr/local/bin/rake19 /usr/local/bin/rake
ln -sf /usr/local/bin/gem19 /usr/local/bin/gem
ln -sf /usr/local/bin/testrb19 /usr/local/bin/testrb

5. Webmin installation and Files configuration Début de page

Remark : Connect to the Server in « root » Super-user mode in a Terminal SSH.

In console mode, seize the following commands by ending the seizure with the Enter key.


Install the packages with their dependencies.

pkg_add -r p5-Authen-NTLM p5-BSD-Resource p5-Crypt-SSLeay p5-HTML-Parser p5-HTML-Tagset p5-IO-Socket-SSL p5-IO-Tty p5-ldap p5-libwww p5-Locale-gettext p5-Net-OpenSSH p5-Net-SSH2 p5-Net-SSLeay p5-Test-Exception p5-XML-Filter-BufferText


The Webmin installing

cd /usr/local/
ftp http://prdownloads.sourceforge.net/webadmin/webmin-1.630.tar.gz
tar zxvf webmin-1.630.tar.gz
cd webmin-1.630
./setup.sh


Precision on the installation of Webmin - Server and System Administration
Localization of the language for example English US (EN.UTF-8) see article Webmin - Configure and launch or start


With Webmin click on the icon Webmin then Webmin Configuration then, at the bottom of this configuration page, verify that the answer of the option « Start at boot time » is activated.

Start and stop Webmin manually

/etc/webmin/init/webmin.sh start
/etc/webmin/init/webmin.sh stop


With Webmin click on the icon Others then Perl Modules (CPAN) then install the missing Modules Perl in OpenBSD.

Install module
 Select a new Perl module to compile and install on your system.
From CPAN, named
From local file
From uploaded file
From ftp or http URL
 

Install the following Perl modules :

http://www.cpan.org/authors/id/D/DM/DMUEY/Authen-Libwrap-0.22.tar.gz
http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-1.03.tar.gz
http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-6.06.tar.gz
http://www.cpan.org/authors/id/S/SA/SADAHIRO/String-Multibyte-1.10.tar.gz


Remark : That if PostgreSQL is installed.

http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-2.19.3.tar.gz

or

pkg_add -r p5-DBD-Pg

Existing modules
Select all.   Invert selection.
 Module  Submodules  Description  Version  Installed on
 Authen::Libwrap  0  Access to Wietse Venema's TCP Wrappers library  0.22  20/Avr/2013 08:00
 DBD::Pg  1  PostgreSQL database driver for the DBI module  2.19.3  20/Avr/2013 08:00
 Encode::Locale  0  Determine the locale encoding  1.03  20/Avr/2013 08:00
 Net::HTTP  3  Low-level HTTP connection (client)  6.06  20/Avr/2013 08:00
 String::Multibyte  18  Manipulation of multibyte character strings  1.10  20/Avr/2013 08:00
Select all.   Invert selection.

Remark : By using Webmin, we are going to be able to configure the Server.

With Webmin click on the icon Others then Upload and Download then Upload to server or Download from server according to the desired operation.
Upload et Download
This page allows you to upload one or more files from the PC on which your web browser runs to the system running Webmin.
 Upload files to server
Files to upload

File or directory to upload to Create directory if needed?  
Owned by user
Owned by group Default
Extract archive or compressed files? Yes, then delete Yes No
Send email when uploads are done? No Yes, to address  

This page is for downloading a file from the system running Webmin for display in your browser or saving on the same system.
 Download file from server to PC
File to download
Show in browser if possible? Yes No
Configuration files


File /etc/hosts

# OpenBSD /etc/hosts
#
# Host Database
#
127.0.0.1        serveur.domaine.com localhost.domaine.com localhost
::1              serveur.domaine.com localhost.domaine.com localhost
#
192.168.1.2      domaine.com www.domaine.com ftp.domaine.com mail.domaine.com
192.168.1.20     phpMyAdmin
#



File /etc/rc.conf.local

named_flags=""
ntpd_flags=""
mysql=YES
httpd2_flags=YES
multicast_host=YES
multicast_router=NO

   # With the interface name.

multicast_host=em0
multicast_router=NO



File /etc/rc.local

# OpenBSD /etc/rc.local

# $OpenBSD: rc.local,v 1.44 2011/04/22 06:08:14 ajacoutot Exp $

# Site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel.

# Webmin startup
/etc/webmin/start >/dev/null 2>&1 </dev/null
/etc/webmin/init/webmin.sh start

# MySQL startup
if [ X"${mysql}" == X"YES" -a -x /usr/local/libexec/mysqld ]; then
echo -n ' mysqld'; /usr/local/bin/mysqld_safe --user=_mysql & fi

# Dbus startup
if [ -x /usr/local/bin/dbus-daemon ]; then
install -d -o _dbus -g _dbus /var/run/dbus
echo -n ' dbus'; /usr/local/bin/dbus-daemon --system & fi

# Avahi startup
if [ -x /usr/local/sbin/avahi-daemon ]; then
echo -n ' avahi-daemon'; /usr/local/sbin/avahi-daemon -D & fi

# Apache2 startup
if [ -x /usr/local/sbin/httpd2 ]; then
echo -n ' httpd2 '; /usr/local/sbin/apachectl2 -k graceful & fi



File /etc/hostname.em0 or an extension .bge0 .fxp0 or other, according to the Ethernet card in a BSD System.

inet 192.168.1.2 255.255.255.0 192.168.1.255
inet alias 192.168.1.20 255.255.255.255 192.168.1.20



File /etc/login.conf

# OpenBSD /etc/login.conf

#
# Ajouter cette section en fin de fichier.
#

#
# MySQL
#
mysqld:\
    :openfiles-cur=1024:\
    :openfiles-max=2048:\
    :tc=daemon:
#
# PostgreSQL
#
postgresql:\
    :openfiles-cur=768:\
    :tc=daemon:


In Console mode, rebuild the login.conf.db file is necessary.


[ -f /etc/login/conf.db ] && cap_mkdb /etc/login.conf


File /etc/rc.shutdown

# OpenBSD /etc/rc.shutdown
#
# If it exists, this script is run at system-shutdown by reboot(8),
# halt(8). If the architecture supports keyboard requested halting,
# it is also run by init(8) when such an event happens.
#

powerdown=YES # set to YES for powerdown, set to NO default parameter

# Add your local shutdown actions here.



File /etc/hosts.allow


6. Install Bind Début de page


7. Install MySQL Début de page

Remark : Connect to the Server in « root » Super-user mode in a Terminal SSH.

In console mode, seize the following commands by ending the seizure with the Enter key.


Install the packages with their dependencies.

pkg_add -r mysql-client-5.1.68.tgz mysql-server-5.1.68p0.tgz p5-DBD-mysql

Generate the MySQL Databases

/usr/local/bin/mysql_install_db --user=_mysql


Copy in the file /etc/login.conf

Voir explicatif : /usr/local/share/doc/pkg-readmes/mysql-server-5.2.63

#
# MySQL
#
mysqld:\
    :openfiles-cur=1024:\
    :openfiles-max=2048:\
    :tc=daemon:


In Console mode, rebuild the login.conf.db file is necessary.


[ -f /etc/login/conf.db ] && cap_mkdb /etc/login.conf


After installation of Packages and MySQL Databases, into Webmin click on the icon Servers then MySQL Database Server then click on the Module config tab and parametrize the following lines :
System configuration
Path to mysqlshow command /usr/local/bin/mysqlshow
Path to mysqladmin command /usr/local/bin/mysqladmin
Path to mysql command /usr/local/bin/mysql
Path to mysqldump command /usr/local/bin/mysqldump
Path to mysqlimport command /usr/local/bin/mysqlimport
Command to start MySQL server (/usr/local/bin/safe_mysqld || /usr/local/bin/mysqld_safe) &
Path to MySQL shared libraries directory /usr/local/lib/mysql
Path to MySQL databases directory /var/mysql
MySQL configuration file /etc/my.cnf
Remark : Launch MySQL with Webmin without « root » Password.

/usr/local/bin/mysql_secure_installation


NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

You already have a root password set, so you can safely answer 'n'.

Change the root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!


By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] n
... skipping.

Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] n
... skipping.

By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] n
... skipping.

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] Y
... Success!

Cleaning up...


All done! If you've completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!

#



Remark : Change into Webmin the « root » Password of the module MySQL.


Create a new database

mysql -u root -p
Enter password:
Welcome to the MySQL monitor...

mysql>
mysql> create database phpmyadmin;
Query OK, 1 row affected (0.01 sec)

mysql> exit
Bye
#

8. Install PostgreSQL Début de page

Remark : Connect to the Server in « root » Super-user mode in a Terminal SSH.

In console mode, seize the following commands by ending the seizure with the Enter key.


Install the packages with their dependencies.

Generate the PostgreSQL Databases

su - _postgresql
$ mkdir /var/postgresql/data
$ initdb -D /var/postgresql/data -U postgres -A md5 -W


Encodage par défaut sera en SQL_ASCII
Pour avoir un encodage par défaut autre, utilisez l'option -E avec initdb :

$ initdb -D /var/postgresql/data -U postgres -E UTF8 -A md5 -W


After installation of Packages and PostgreSQL Databases, into Webmin click on the icon Servers then PostgreSQL Database Server then click on the Module config tab and parametrize the following lines :

Administration login postgres
System configuration
Path to psql command /usr/local/bin/psql
Path to PostgreSQL shared libraries /usr/local/lib/postgresql
Initial PostgreSQL database template1
Command to start PostgreSQL su _postgresql -c "/usr/local/bin/pg_ctl start -D /var/postgresql/data"
Command to stop PostgreSQL Tuer le processus
Command to initialize PostgreSQL Aucune
Path to postmaster PID file /var/postgresql/data/postmaster.pid
Paths to host access config file /var/postgresql/data/postgresql.conf
Path to pg_dump command /usr/local/bin/pg_dump
Path to pg_restore command /usr/local/bin/pg_restore
Default backup repository directory None

Start and stop PostgreSQL manually with Webmin or in Console mode.

/etc/rc.d/postgresql star
/etc/rc.d/postgresql stop

9. Install Apache Début de page

Apache-1.3.29 is installed by default with the Operating system's base.

apache-httpd-2.2.23 can be additionally installed and coexist, and each version can be launched indifferently. Such hybrid solution has low performance, because the older Apache version is part of the base install, it cannot be uninstalled as a package.

This is however on this principle that OpenBSD fails, all packages are not available as such, but are integrated within different installation archive files. This is not very clever, because you have to install too many things for one library.

This is an observation out of any polemic, OpenBSD stems from NetBSD and both posses the same low performance installation structure, albeit the NetBSD installer is simple and pleasant. A modern Unix must have a Base System install without any other applications, and those must be available separately. Otherwise, it is impossible to set-up a specialized or embedded System, without having to re-invent the wheel.

FreeBSD applies this principle since eons, separating the Applications from the System and complying to the Unix standard.

Olivier Graves – Paragraph translation

System : /etc
Applications : /usr/local/etc

This avoids a junk-filled /etc folder. OpenBSD should distance itself from is older brother NetBSD. With a free System, you should also have the freedom to install whatever you want.


pkg_add -r apache-httpd-2.2.23.tgz

File /etc/apache2/httpd2.conf

Remark : Add at the below Section in the configuring file.

# Dynamic Shared Object (DSO) Support
#
LoadModule php5_module /usr/local/lib/php-5.3/libphp5.so


<IfModule mod_php5.c>
    AddType application/x-httpd-php .php .phtml .php3
    AddType application/x-httpd-php-source .phps
# Most php configs require this
    DirectoryIndex index.php
</IfModule>



See the file /etc/rc.local to launch Apache 2.2.xx at the Server boot time.


After installation of Package Apache 2.2.xx, into Webmin click on the icon Servers then Apache Webserver then click on the Module config tab and parametrize the following lines :

System configuration
Apache server root directory /var/apache2
Path to httpd executable /usr/local/sbin/httpd2
Path to the apachectl command /usr/local/sbin/apachectl2
Path to httpd.conf or apache2.conf /etc/apache2/httpd2.conf
Path to srm.conf /var/apache2/srm.conf
Path to access.conf /var/apache2/access.conf
Path to mime.types /etc/apache2/mime.types


10. Install PHP Début de page

Remark : Connect to the Server in « root » Super-user mode in a Terminal SSH.

In console mode, seize the following commands by ending the seizure with the Enter key.


Install the packages with their dependencies.

pkg_add -r php-5.3.24-ap2.tgz php-bz2-5.3.24.tgz php-gd-5.3.24.tgz php-gmp-5.3.24.tgz php-mcrypt-5.3.24.tgz php-mysql-5.3.24.tgz php-mysqli-5.3.24.tgz php-pgsql-5.3.24.tgz php-zip-5.3.24.tgz pdflib


Execute the symbolic links.

ln -sf /etc/php-5.3.sample/bz2.ini /etc/php-5.3/bz2.ini
ln -sf /etc/php-5.3.sample/gd.ini /etc/php-5.3/gd.ini
ln -sf /etc/php-5.3.sample/gmp.ini /etc/php-5.3/gmp.ini
ln -sf /etc/php-5.3.sample/mcrypt.ini /etc/php-5.3/mcrypt.ini
ln -sf /etc/php-5.3.sample/mysql.ini /etc/php-5.3/mysql.ini
ln -sf /etc/php-5.3.sample/mysqli.ini /etc/php-5.3/mysqli.ini
ln -sf /etc/php-5.3.sample/pgsql.ini /etc/php-5.3/pgsql.ini
ln -sf /etc/php-5.3.sample/zip.ini /etc/php-5.3/zip.ini

11. Install phpMyAdmin Début de page

Installation folder /var/apache2/html/phpMyAdmin

Caution : To connect phpMyAdmin at the MySQL Server the file variable config.inc.php from phpMyAdmin has to be necessarily :

/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
Not localhost

To avert from famous message below :

#2002 Cannot log in to the MySQL server !

With phpMyAdmin-3.5.8.1 differently from previous versions, It is necessary to generate MySQL tables from phpMyAdmin, then with the file /var/apache2/html/phpMyAdmin/examples/create_tables.sql and activate the variables of the file config.inc.php.


/* Storage database and tables */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
$cfg['Servers'][$i]['recent'] = 'pma_recent';



Remark : See article on phpMyAdmin-3.5.8.1 - FreeBSD - Linux Installation


The Server uses the Suhosin extension, refer to the documentation to know the possible consequences.

12. Graphic interface Début de page

Caution : Installation archives necessary, to install and launch a Graphical interface :

xetc53.tgz xshare53.tgz xfont53.tgz xserv53.tgz

What is not the object of this tutoriel !

13. OpenBSD Epilogue Début de page


14. Miscellaneous Début de page

Webmin – Configuration Module for Postfix with OpenBSD

System configuration
Full path to Postfix control command /usr/local/sbin/postfix
Full path to Postfix config command /usr/local/sbin/postconf
Full path to Postfix config file /etc/postfix/main.cf
Full path to Postfix master.cf file /etc/postfix/master.cf
Full path to Postfix aliases generation command /usr/local/sbin/postalias
Full path to "newaliases" (Sendmail compatibility) command /usr/local/sbin/newaliases
Full path to Postfix lookup table command management ('postmap') /usr/local/sbin/postmap
Full path to Postfix queue management command ('postqueue') /usr/local/sbin/postqueue
Full path to Postfix supervisor command /usr/local/sbin/postsuper
Mail queue base directory /var/spool/postfix
Mail queue display command postqueue -p
Mail queue decoding command /usr/local/sbin/postcat

Webmin – Configuration Module for Sendmail with OpenBSD

System configuration
Full path to sendmail.cf /etc/mail/sendmail.cf
Sendmail M4 base directory /usr/share/sendmail
Full path to M4 config file /usr/share/sendmail/cf/openbsd-proto.mc
Full path to sendmail pid files /var/run/sendmail.pid
Command to start sendmail in server mode /usr/sbin/sendmail -bd -q30m
Makemap comand makemap
Sendmail command /usr/sbin/sendmail



Related article about the subject

Configure the DHCP Server - VirtualBox
Webmin - Server and System Administration

Author
Eric Douzet
Début de page
bl br
C-extra.com v. 1.2.0 © 2000-2014, all rights reserved  -  Updated April 12, 2014 Infologism.com