Flat html

From PC-BSD Wiki
Jump to: navigation, search
This page is a translated version of a page Flat html and the translation is 100% complete.

Contents


Preface
Preface

Introduction

Introduction/de


Goals and Features

Goals and Features/de


What's New in 9.2

What's New in 9.2/de


PC-BSD® Releases

PC-BSD® Releases/de


PC-BSD® for Linux Users

PC-BSD® for Linux Users/de


Pre-Installation Tasks

Pre-Installation Tasks/de


Hardware Requirements

Hardware Requirements/de


Laptops

Laptops/de


Partitioning the Hard Drive

Partitioning the Hard Drive/de


Obtaining PC-BSD®

Obtaining PC-BSD®/de


Burning the Installation Media

Burning the Installation Media/de


PC-BSD® Live Mode

PC-BSD® Live Mode/de


Using VirtualBox

Using VirtualBox/de


Installing PC-BSD®

Installing PC-BSD®/de


Starting the PC-BSD® Installation

Starting the PC-BSD® Installation/de


Language Selection Screen

Language Selection Screen/de


System Selection Screen

System Selection Screen/de


Disk Selection Screen

Disk Selection Screen/de


Installation Progress Screen

Installation Progress Screen/de


Installation Finished Screen

Installation Finished Screen/de


Post Installation Configuration and Installation Troubleshooting

Post Installation Configuration and Installation Troubleshooting/de


Booting Into PC-BSD®

Booting Into PC-BSD®/de


Language Screen

Language Screen/de


Time Zone Selection Screen

Time Zone Selection Screen/de


Set Root Password Screen

Set Root Password Screen/de


Create a User Screen

Create a User Screen/de


Connect to a Wireless Network

Connect to a Wireless Network/de


Post Install Finished Screen

Post Install Finished Screen/de


Logging In

Logging In/de


Installation Troubleshooting

Installation Troubleshooting/de


Advanced Installation Topics

Advanced Installation Topics/de


Install a Server

Install a Server/de


Dual Booting

Dual Booting/de


Multiple Boot Environments

PC-BSD® supports a feature of ZFS known as multiple boot environments (BEs). With multiple boot environments, the process of updating software becomes a low-risk operation as you can backup your current boot environment before upgrading or making software updates to your system. If needed, you also have the option of booting into a backup boot environment. For example:

  • if you are making software changes to a boot environment, you can take a snapshot of that environment at any stage during modifications by using the beadm create command. A snapshot is a read-only image of a boot environment at a given point in time. A snapshot is not bootable but you can create a boot environment, based on that snapshot, by using the beadm create -e command followed by the beadm activate command to specify that this boot environment will become the default boot environment on the next reboot.
  • you can create custom names for each snapshot to identify when or why that snapshot was created. You can use the beadm list -s command to view the available snapshots for a boot environment.
  • you can save multiple boot environments on your system and perform various updates on each of them as needed. For example, you can clone a boot environment by using the beadm create command. A clone is a bootable copy of a boot environment. You can install, test, and update different software packages on the original boot environment and on its clone.
  • although only one boot environment can be active at a time, you can mount an inactive boot environment using the beadm mount command. You could then chroot into the mount point in order to update specific packages on the mounted environment.
  • you can move a boot environment to another machine, physical or virtual, in order to check hardware support.


WARNING For boot environments to work properly, do not change the default ZFS layout during installation. The default ZFS layout ensures that when you create multiple boot environments, the /usr/pbi/, /usr/local/, /usr/home/, /usr/ports/, /usr/src/ and /var/ directories remain untouched. This way, if you rollback to a previous boot environment, you will not lose data in your home directories, any installed applications, or downloaded src or ports.

Managing Boot Environments

Boot environments are managed with the beadm command which must be run as the superuser. The following example creates a BE named beforeupgrade. The new BE is a clone of the current BE, the ZFS environment that you booted into.

beadm create beforeupgrade Created successfully

To view all BEs, use the list command

beadm list

BE Active Mountpoint Space Policy Created default NR / 6.05G static 2012-07-09 05:06

beforeupgrade - - 1K static 2012-07-10 12:25
The possible flags in the "Active" field are as follows:
  • R: active on reboot
  • N: active now
  • -: inactive

In this example, the current BE is called default, it is active now, and at next reboot; and it is mounted. The newly created beforeupgrade BE exists, but is inactive and unmounted. To activate the new BE:

beadm activate beforeupgrade

Activated successfully beadm list BE Active Mountpoint Space Policy Created default N / 64.5K static 2012-07-09 05:06

beforeupgrade R - 6.05G static 2012-07-10 12:25

The flags now indicate that the system is currently booted into default, but at next boot the system will boot into beforeupgrade. Only one boot environment can be active at a time.



Upgrading PC-BSD®

Upgrading PC-BSD®/de


Creating an Automated Installation with pc-sysinstall

Creating an Automated Installation with pc-sysinstall/de


Desktops

Desktops/de


GNOME2

GNOME2/de


KDE4

KDE4/de


LXDE

LXDE/de


XFCE4

XFCE4/de


Awesome

Awesome/de


Enlightenment

Enlightenment[1] is a lean, fast, modular, and extensible window manager. It provides a desktop for launching applications, managing windows, and doing other system tasks like suspending, reboots, and managing files.
Figure 6.6a: Enlightenment Running on PC-BSD®

The first time you run Enlightenment, you will be prompted to select your Language, then either a touchscreen or a standard computer profile. You will then be prompted to select the size of title bars, the type of window focus, and whether or not to use compositing. If in doubt, you can select the defaults by pressing "Next" at each initial configuration screen.

Figure 6.6a shows a screenshot of Enlightenment running a standard computer profile on PC-BSD® 9.2. The icon on the far left of the iBar has been clicked in order to access the applications menu.

Enlightenment is very customizable. The User Guide[2] describes how to configure windows, shelves, menus, wallpaper, and much more.



evilwm

evilwm[3] is an extremely light window manager. It does not support window decorations or icons and uses keyboard shortcuts to access xterms in order to run applications from the command line. Figure 6.7a shows a screenshot of evilwm running on PC-BSD® 9.2.

Figure 6.7a: evilwm Running on PC-BSD®

Notice that there are no icons, nor is there a system tray, an application panel, or window buttons. An xterm has been opened using Ctrl+Alt+Enter and shows the output of the ps command.

The keyboard shortcuts for manipulating windows are listed on the evilwm site[4].

To exit evilwm and return to the login screen, type killall evilwm within an xterm.



Fluxbox

Fluxbox/de


FVWM

FVWM/de


i3

I3/de


IceWM

IceWM/de


Openbox

Openbox/de


Ratpoison

Ratpoison/de


spectrwm

Spectrwm/de


WindowLab

WindowLab/de


Window Maker

Window Maker/de


Installing Applications and Keeping PC-BSD® Updated

Installing Applications and Keeping PC-BSD® Updated/de


Using AppCafe®

Using AppCafe®/de


PBI Manager

PBI Manager/de


Update Manager

Update Manager/de


Meta Package Manager

Meta Package Manager/de


Create Your Own PBI Repository

Create Your Own PBI Repository/de


Control Panel

Control Panel/de


EasyPBI

EasyPBI/de


About

About/de


Active Directory & LDAP

Active Directory & LDAP/de


Hardware Compatibility

Hardware Compatibility/de


GDM Configuration

GDM Configuration/de


Service Manager

Service Manager/de


System Manager

System Manager/de


User Manager

User Manager/de


Bluetooth Manager

Bluetooth Manager/de


Mount Tray

Mount Tray/de


Sound Configuration

Sound Configuration/de


Display

Display/de


Printing

Printing/de


Scanner

Scanner/de


Network Configuration

Network Configuration/de


Firewall Manager

Firewall Manager/de


Life Preserver

Life Preserver/de


Adobe Flash Player preferences

Adobe Flash Player preferences/de


Warden®

Warden®/de


Using PC-BSD®

Using PC-BSD®/de


Java, Flash, and Fonts

Java, Flash, and Fonts/de


Multimedia

Multimedia/de


Files and File Sharing

Files and File Sharing/de


MythTV

MythTV/de


XBMC

XBMC/de


Windows Emulation

Windows Emulation/de


Remote Desktop

Remote Desktop/de


Thin Client

Thin Client/de


ownCloud

ownCloud[5] is open source software that allows you to create your own cloud storage. This allows you to share data, contacts, and calendars with other devices and users.

Figure 9.9a: Install the Required Packages

In PC-BSD®, you can create your own private cloud service by installing ownCloud either into a traditional jail that you created using Warden® or into a TrueOS® installation. For security reasons, installing ownCloud directly onto a desktop installation is not recommended, as the web and database services it requires may expose the desktop to security vulnerabilities. If you are installing ownCloud on a PC-BSD® system, create a traditional jail as it isolates the software installed into the jail from your desktop operating system.

Install and Start the Required Services

If you are installing ownCloud into a traditional jail, make sure that the jail has been started, then go to the “Tools” tab of the jail and click the “Package Manager” button as seen in the example in Figure 9.9a.

Check the boxes for databases ➜ mysql56-server, lang ➜ php55, and www ➜ apache24, then click the “Apply” button to install these packages.

Figure 9.9b: Start the Required Services

Once installed, go to Tools ➜ Service Manager which will open the screen shown in Figure 9.9b. Highlight the apache22 service and click the "Enable Service" button and then the "Start" button. Repeat for the mysql service.

Verify that you can reach the web server by typing the IP address of the jail into a web browser. You should receive an "It works!" message. You will need to first allow incoming TCP port 80 on the jail interface using Firewall Manager if you use a web browser on a different computer.

If you are installing ownCloud onto a TrueOS® system, you will need to create the jail and install the dependencies from the command line. When creating the jail, specify the jail IP address and hostname as seen in this example:

warden create 10.0.0.1 owncloudjail --startauto
pc-metapkgmanager --pkgset warden --chroot /usr/jails/10.0.0.1 add MySQL,Apache,
PHP
Figure 9.9c: ownCloud Initial Setup Screen

Once the software is installed, access the jail by its IP address in order to edit the /etc/rc.conf file within the jail so that the required services start when the jail is available:

warden chroot 10.0.0.1                                                           vi /etc/rc.conf

Add these two lines to that file:

apache22_enable=”YES”                                                           
mysql_enable=”YES”

Save your edits then start the services:

usr/local/etc/rc.d/apache22 start
/usr/local/etc/rc.d/mysql-server start                                          

Verify that you can reach the web server by typing the IP address of the jail into a web browser. You should receive a "It works!" message. You will need to first edit /etc/pf.conf in order to allow incoming TCP port 80 using if you use a web browser on a different computer. An example would be to add a line to the "Nic specific rules" section:

pass in quick on re0 proto tcp from any to (re0) port 80 keep state             

You may wish to replace any with just the IP addresses of the systems on your network. re0 should be replaced with the interface used by the jail.

Configuring ownCloud

You are now ready to download and configure ownCloud. If you are using a traditional jail on your desktop, go to Tools -> Launch Terminal to access the jail's command line. If you are using TrueOS®, use the warden chroot command to access the command line of the jail.

Once at the command line of the jail, download ownCloud into the Apache data directory.

cd /usr/local/www/apache24/data
fetch http://download.owncloud.com/download/2012.4.5.12/owncloud-2012.4.5.12-enterprise.tar.bz2
tar xzvf owncloud-2012.4.5.12-enterprise.tar.bz2
chown -R www:www owncloud

Next, configure the MySQL database, substituting ocuser and mypass with the username and password that you wish to use:

mysql -u root
mysql> create database owncloud;
mysql> grant all on owncloud.* to ocuser@localhost identified by "mypass";
mysql> quit

Next, add the required PHP options to Apache. Open /usr/local/etc/apache24/httpd.conf in an editor and look for this line:

#AddType application/x-gzip .tgz

Add the following lines directly below that line:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Then, look for the following section:

<IfModule dir_module>
  DirectoryIndex index.html
</IfModule>

and change it to:

<IfModule dir_module>
  DirectoryIndex index.html index.php
</IfModule>
/usr/local/etc/rc.d/apache24 restart                                            
/usr/local/etc/rc.d/mysql-server restart
Save your changes and restart the Apache and MySQL services.

Test your changes from a web browser by adding "owncloud" to the end of the IP address of the jail. For example, type http://10.0.0.1/owncloud/. You should see the setup screen shown in Figure 9.9c.

Figure 9.9d: ownCloud Interface

Input the name of the user and password that will be used to administer ownCloud, then click the " "Advanced" button. In the advanced settings, click the "MySQL" tab and input the MySQL username, password, and database name that you configured previously. Click the “Finish setup” button to save your changes and enter your new cloud interface -- shown in Figure 9.9d.

Click the left panel of the interface to access a type of media. For example, if you click "Files" and then the "New" button, you can upload a file, folder, or from a URL. If you click "Contacts", you can add a contact or import/export the address book.

Click the "Settings" icon at the bottom of the left panel to add users, configure applications, change the administrative configuration, and to access "Help".

Instructions for synchronizing the calendar and address book, integrating with a file manager, and integrating with a media player can be found in the documentation section of the ownCloud website[6]. Synchronization clients are available from the owncloud site[7].



Security

Security/de


Accessibility

Accessibility/de


Finding Help

Finding Help/de


PC-BSD® Forums

PC-BSD® Forums/de


IRC Channel

IRC Channel/de


Mailing Lists

Mailing Lists/de


FreeBSD Handbook and FAQ

FreeBSD Handbook and FAQ/de


Social Media

Social Media/de


Search and Portals

Search and Portals/de


Other Resources

Other Resources/de


Supporting PC-BSD®

Supporting PC-BSD®/de


Become a Beta Tester

Flat html/de/10.1


Become a Translator

Flat html/de/10.1


Become a Developer


If you like programming, and especially coding on FreeBSD, we would love to see you join the PC-BSD® Team[8] as a PC-BSD® committer. Developers who want to help improve the PC-BSD® codebase are always welcome! If you would like to participate in core development, subscribe to the developers mailing list[9]. Once you have signed up, feel free to browse the active tickets in the PC-BSD® Trac database. If you see something that you want to work on, or have a proposal for a project you wish to add to PC-BSD®, please let us know via the developers list and we will be happy to help get you started.

Most of the PC-BSD® specific GUI tools are developed in C++ using the QT Libraries, and other non-GUI development is done using standard Bourne shell scripts. There may be cases where other languages or libraries are needed, but those will be evaluated on a case-by-case basis, so feel free to let us know your proposals on the developers mailing list.

Developers will also find the following resources helpful:


References


  1. http://www.enlightenment.org
  2. http://trac.enlightenment.org/e/wiki/User_Guide
  3. http://evilwm.sourceforge.net/
  4. http://www.6809.org.uk/evilwm/usage.shtml
  5. http://owncloud.org/
  6. http://owncloud.org/support/
  7. http://owncloud.org/sync-clients/
  8. http://www.pcbsd.org/en/team/
  9. http://lists.pcbsd.org/mailman/listinfo/dev
  10. http://lists.pcbsd.org/mailman/listinfo/commits
  11. http://trac.pcbsd.org/wiki/Developers
  12. http://trac.pcbsd.org/wiki/GettingSource
  13. http://doc.qt.digia.com/4.7/qmake-manual.html
Other languages:German 100% • ‎English 100% • ‎French 100% • ‎Ukrainian 100%


Report Bugs

Report Bugs/de


Submit PBI Requests

Submit PBI Requests/de


Test PBIs

Test PBIs/de


Create PBIs

PBI Module Builder Guide/de


Purchase PC-BSD® Swag

Purchase PC-BSD® Swag/de


Host a Mirror

We are always interested in more download mirrors. If you have a system with a high-speed connection, 350-500GB of space, and the ability to rsync with a host, you can greatly help the PC-BSD® project and PC-BSD® users by becoming a mirror. More mirrors means faster download speeds and more geographic locations for users to download from.

This rsync command will mirror the entire collection of installation files and PBIs:

rsync -vaz --delete-delay --delay-updates isc.pcbsd.org::ftp .

That command should be run as a cron job with a recommended frequency of at least once daily with a preferred interval of every 12 hours.

Once you have begun the rsync process, send an email to kris at pcbsd dot org letting him know the URL of the mirror so that the new mirror can get listed and become available to users.



Seed a Torrent

PC-BSD® is also distributed as a torrent[1] and you can increase download speeds for other users by seeding, especially during the first two weeks after a new release. If you are new to seeding, read through the GotBSD FAQ[2] first.

The Network-P2P category of AppCafe® provides several torrent utilities including:



Become an Advocate

Become an Advocate/de

References


  1. http://www.enlightenment.org
  2. http://trac.enlightenment.org/e/wiki/User_Guide
  3. http://evilwm.sourceforge.net/
  4. http://www.6809.org.uk/evilwm/usage.shtml
  5. http://owncloud.org/
  6. http://owncloud.org/support/
  7. http://owncloud.org/sync-clients/
  8. http://www.pcbsd.org/en/team/
  9. http://lists.pcbsd.org/mailman/listinfo/dev
  10. http://lists.pcbsd.org/mailman/listinfo/commits
  11. http://trac.pcbsd.org/wiki/Developers
  12. http://trac.pcbsd.org/wiki/GettingSource
  13. http://doc.qt.digia.com/4.7/qmake-manual.html

List of Tables



download this page as a PDF book

Other languages:German 100% • ‎English 100% • ‎French 100% • ‎Ukrainian 100%

Cite error: <ref> tags exist, but no <references/> tag was found