Reklama: Pozycjonowanie projektowanie stron Wynajem podno¶ników telewizoryTanie i niezawodne telewizory - sklep komputerowy tery.pl wyszukaj

Serwer internetowy. Instalacja i konfiguracja cz. III

Instalacja SquirrelMail

To już trzecia część z cyklu konfiguracji serwera internetowego. Przejdźmy może od razu do instalacji dalszych usług. Więc kolejno, na początek zainstaluj squirremail wydając w konsoli polecenie
apt-get install squirrelmail

następnie

ln -s /usr/share/squirrelmail/ /var/www/webmail

Teraz przejdź do konfiguracji wydając w konsoli komendę squirrelmail-configure

I tak po kolei

SquirrelMail Configuration : Read: config.php (1.4.0)
———————————————————
Main Menu –
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages

D. Set pre-defined settings for specific IMAP servers

C Turn color on
S Save data
Q Quit

Command >> < — D SquirrelMail Configuration : Read: config.php ——————————————————— While we have been building SquirrelMail, we have discovered some preferences that work better with some servers that don’t work so well with others. If you select your IMAP server, this option will set some pre-defined settings for that server. Please note that you will still need to go through and make sure everything is correct. This does not change everything. There are only a few settings that this will change. Please select your IMAP server: bincimap = Binc IMAP server courier = Courier IMAP server cyrus = Cyrus IMAP server dovecot = Dovecot Secure IMAP server exchange = Microsoft Exchange IMAP server hmailserver = hMailServer macosx = Mac OS X Mailserver mercury32 = Mercury/32 uw = University of Washington’s IMAP server quit = Do not change anything Command >> < — courier SquirrelMail Configuration : Read: config.php ——————————————————— While we have been building SquirrelMail, we have discovered some preferences that work better with some servers that don’t work so well with others. If you select your IMAP server, this option will set some pre-defined settings for that server. Please note that you will still need to go through and make sure everything is correct. This does not change everything. There are only a few settings that this will change. Please select your IMAP server: bincimap = Binc IMAP server courier = Courier IMAP server cyrus = Cyrus IMAP server dovecot = Dovecot Secure IMAP server exchange = Microsoft Exchange IMAP server hmailserver = hMailServer macosx = Mac OS X Mailserver mercury32 = Mercury/32 uw = University of Washington’s IMAP server quit = Do not change anything Command >> courier

imap_server_type = courier
default_folder_prefix = INBOX.
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = .
delete_folder = true

Press any key to continue… < — press a key SquirrelMail Configuration : Read: config.php (1.4.0) ——————————————————— Main Menu — 1. Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5. Themes 6. Address Books 7. Message of the Day (MOTD) 8. Plugins 9. Database 10. Languages D. Set pre-defined settings for specific IMAP servers C Turn color on S Save data Q Quit Command >> < — S SquirrelMail Configuration : Read: config.php (1.4.0) ——————————————————— Main Menu — 1. Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5. Themes 6. Address Books 7. Message of the Day (MOTD) 8. Plugins 9. Database 10. Languages D. Set pre-defined settings for specific IMAP servers C Turn color on S Save data Q Quit Command >> < — Q

Teraz możesz się zalogować do squirrelmaila wpisując w swoją przeglądarkę internetową http://twojadomena.pl/webmail oraz wypełniając pola login i hasło

Instalacja ISPConfig 3

Na początku może wyjaśnię czym jest IspConfig. Otóż jest to panel zarządzania naszym serwerem coś na wzór DirectAdmina czy też Cpanelu ale w całości darmowym. Za pomoca jego możesz w bardzo prosty sposób dodawać kolejne domeny, adresy pocztowe, bazy danych itp. Bez znajomości konfiguracji plików konfiguracyjnych tych usług.

Wydaj z konsoli kolejno polecenia

cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.1.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.1.tar.gz
cd ispconfig3_install/install/
php -q install.php

W tym momencie nastąpi właściwa instalacja panelu i będziesz musiał wpisywać jak poniżej drukiem wytłuszczonym

——————————————————————————–
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `–.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `–. \ __/ | | / _ \| ‘_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
——————————————————————————–

>> Initial configuration

Operating System: Debian Lenny/Sid or compatible

Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with .
Tap in “quit” (without the quotes) to stop the installer.

Select language (en,de) [en]: < — pl

Installation mode (standard,expert) [standard]: < — ENTER

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [server1.example.com]: < — ENTER

MySQL server hostname [localhost]: < — ENTER

MySQL root username [root]: < — ENTER

MySQL root password []: < — twoje hasÅ‚o root do mysql

MySQL database to create [dbispconfig]: < — ENTER

MySQL charset [utf8]: < — ENTER

Generating a 2048 bit RSA private key
……………………………………………………………………………………………………+++
……………………………………………………………………………………………+++
writing new private key to ’smtpd.key’
—–
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) [AU]: < – PL
State or Province Name (full name) [Some-State]: < — ENTER
Locality Name (eg, city) []: < — ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: < — ENTER
Organizational Unit Name (eg, section) []: < – ENTER
Common Name (eg, YOUR name) []: < — ENTER
Email Address []: < — ENTER
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Courier
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring MyDNS
Configuring Apache
Configuring Firewall
Installing ISPConfig
ISPConfig Port [8080]: < — ENTER

Configuring DBServer
Installing Crontab
no crontab for root
no crontab for getmail
Restarting services …
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Stopping SASL Authentication Daemon: saslauthd.
Starting SASL Authentication Daemon: saslauthd.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamd .
Stopping Courier authentication services: authdaemond.
Starting Courier authentication services: authdaemond.
Stopping Courier IMAP server: imapd.
Starting Courier IMAP server: imapd.
Stopping Courier IMAP-SSL server: imapd-ssl.
Starting Courier IMAP-SSL server: imapd-ssl.
Stopping Courier POP3 server: pop3d.
Starting Courier POP3 server: pop3d.
Stopping Courier POP3-SSL server: pop3d-ssl.
Starting Courier POP3-SSL server: pop3d-ssl.
Restarting web server: apache2 … waiting .
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -E -A -u 1000 -O clf:/var/log/pure-ftpd/transfer.log -b -B
Installation completed.

Od tej chwili możesz się logować do panelu wpisując w swoja przeglądarkę http://domenaserwera.pl:8080. Przy pierwszym logowaniu jako login podajesz: admin i jako hasło także: admin. Po zalogowaniu będziesz musiał zmienić hasło.

To już wszystko jeśli chodzi o instalację i konfigurację naszego internetowego serwera. Jak zauważysz użyto sporo różnych usług i oprogramowania, którego nie musisz instalować u siebie jeżeli nie chcesz lub jest ci nie potrzebne. Artykuł też nie porusza wiele tematów jak chociażby optymalizacji serwerów apache i mysql jednak postawiony serwer według opisu jest w pełni funkcjonalny i możesz służyć np. Do odsprzedawania innym internautom kont hostingowych czy tez jako prywatny serwer dedykowany ewentualnie VPS. Życzę przyjemnej pracy oraz adninistrowania serwerem.

Dodaj komentarz