Hostpoint - Hilfe & Support > Help & Support > Products > Webhosting > Paths, directories, system

Paths, directories, system

We have UNIX web servers running the FreeBSD operating system. This article provides an overview of the main system parameters, such as paths to frequently used programs.

Paths

The FreeBSD operating system stores most applications in /usr/local/bin/ instead of /usr/bin/, which is commonly used in the UNIX world. Take this into consideration when using instructions or scripts from external sources or the Internet.

bash /usr/local/bin/bash
Image Magick (convert) /usr/local/bin/convert
GraphicsMagick (gm) /usr/local/bin/gm
gzip /usr/bin/gzip
zip /usr/local/bin/zip
tar /usr/bin/tar
mysqldump /usr/local/bin/mysqldump
mysql /usr/local/bin/mysql
perl /usr/local/bin/perl
php CLI aktuelle Version /usr/local/bin/php
php CLI neueste Version /usr/local/bin/php-head
python /usr/local/bin/python
ruby /usr/local/bin/ruby
saferpay (nur Business Server) /usr/local/bin/saferpay
sendmail /usr/sbin/sendmail
xpdf (pdfinfo, pdftotext) /usr/local/libexec/xpdf

Directories

Your Home directory

Your Home directory, which contains all of your data such as e-mails, websites, statistics, etc., is found under

/home/benutzername/

In UNIX lingo, this is referred to as “home” and can be abbreviated with a tilde “~”. The default and following directories are found here:

E-mails from your e-mail accounts are stored in this folder. Our e-mail solution uses the maildir format.

The ‘public_html’ folder is the document root for your domains if they were created before September 2007.

This folder is the document root for your new domains (from September 2007). Each domain has a subfolder containing the web data.

~/mail/
~/public_html/
~/www/
 

Your Home directory contains other administrative directories as well. All of these begin with a period and are treated as “hidden”. Many FTP programs do not even show these at all. Please do not make changes to these directories as this may damage your account!

This hidden directory contains your access statistics data. For this reason, never delete this directory!

Your Control Panel saves the usernames and passwords you have selected in the Control Panel to protect access to your website.

~/.stats/
~/.htpasswds/
System directories

In addition to your own Home directory, the file system on your server contains other locations that may be of interest to you.

Locales

The locales available on your server are saved under

/usr/share/locale/

The separate article on locales provides more information on this topic.

Temporary data directory

Websites must sometimes create temporary data such as for PHP session handling. These temporary files may be stored under

/tmp/

Please note, however, that all users can access this directory and that the data is deleted automatically, periodically and without warning. It is therefore helpful if you create a folder for this type of data in your Home directory. Caution: Do not confuse /tmp/ in the root directory with the directory of the same name in your Home directory ~/tmp/.

You must to post a comment.
Last modified
02:13, 6 May 2015

Tags

Classifications

This page has no classifications.