background preloader

Ubuntu

Facebook Twitter

Ubuntu Tweak - Let's rock with Ubuntu. Ubuntu 12.04 LTS (Apache2, BIND, Dovecot, ISPConfig 3) - Page 5. 16 Install PureFTPd And Quota PureFTPd and quota can be installed with the following command: apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool Edit the file /etc/default/pure-ftpd-common... vi /etc/default/pure-ftpd-common ... and make sure that the start mode is set to standalone and set VIRTUALCHROOT=true: Now we configure PureFTPd to allow FTP and TLS sessions. If you want to allow FTP and TLS sessions, run echo 1 > /etc/pure-ftpd/conf/TLS In order to use TLS, we must create an SSL certificate. Mkdir -p /etc/ssl/private/ Afterwards, we can generate the SSL certificate as follows: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem Country Name (2 letter code) [AU]: <-- Enter your Country Name (e.g., "DE").

Change the permissions of the SSL certificate: chmod 600 /etc/ssl/private/pure-ftpd.pem Then restart PureFTPd: /etc/init.d/pure-ftpd-mysql restart Edit /etc/fstab. Vi /etc/fstab mount -o remount / Configuring Sendmail with smarthost Ubuntu Gutsy - Scalix Wiki. Important Note Please note that these manual installation instructions should only be used on Ubuntu distributions, such as Ubuntu Gutsy Gibbon 7.10 server, the distribution the document was written for. If you install Scalix on an unsupported platform, this invalidates your ability to receive Scalix support. Thank you for your understanding and compliance. This document might be inaccurate and under construction. Do not trust this document. As Ubuntu 7.10 is an unsupported platform there is currently no manual describing the configuration of sendmail (the recommended MTA to be used with Scalix) to be used with a smarthost (smtp relay).

As I managed to get Scalix it up and running and I already documented and shared this with the community (here), I thought it would be useful to share my experiences regarding the sendmail configuration as well. So below you'll find a how-to that describes the configuration of sendmail to be used with Scalix on a Ubuntu 7.10 server. Applicable Environments. Exim4. Exim4 is a Message Transfer Agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the internet. Exim4 can be installed in place of sendmail or Postfix, although the configuration of Exim4 is quite different to that of sendmail. Install the exim4 package from the Main repository using your favorite package manager (see InstallingSoftware). To configure Exim4, run the following command: sudo dpkg-reconfigure exim4-config The user interface will be displayed. The user interface lets you configure many parameters.

For example, In Exim4 the configuration files are split among multiple files. All the parameters you configure in the user interface are stored in /etc/exim4/update-exim4.conf.conf file. Sudo update-exim4.conf The master configuration file will be generated and stored in /var/lib/exim4/config.autogenerated. Note: Never directly edit the master configuration file, /var/lib/exim4/config.autogenerated. The following command will start the exim4 daemon:

Upstart - event-based init daemon. Ubuntu Lucid Lynx (Ubuntu 10.04) [ISPConfig 2] - Page 5. 15 Postfix With SMTP-AUTH And TLS In order to install Postfix with SMTP-AUTH and TLS do the following steps: aptitude install postfix libsasl2-2 sasl2-bin libsasl2-modules procmail You will be asked two questions. Answer as follows: General type of mail configuration: <-- Internet Site System mail name: <-- server1.example.com Then run dpkg-reconfigure postfix Again, you'll be asked some questions: General type of mail configuration: <-- Internet Site System mail name: <-- server1.example.com Root and postmaster mail recipient: <-- [blank] Other destinations to accept mail for (blank for none): <-- server1.example.com, localhost.example.com, localhost.localdomain, localhost Force synchronous updates on mail queue? Next, do this: Afterwards we create the certificates for TLS: mkdir /etc/postfix/ssl cd /etc/postfix/ssl/ openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024 chmod 600 smtpd.key openssl req -new -key smtpd.key -out smtpd.csr openssl rsa -in smtpd.key -out smtpd.key.unencrypted and.

Certificates. One of the most common forms of cryptography today is public-key cryptography. Public-key cryptography utilizes a public key and a private key. The system works by encrypting information using the public key. The information can then only be decrypted using the private key. A common use for public-key cryptography is encrypting application traffic using a Secure Socket Layer (SSL) or Transport Layer Security (TLS) connection.

A Certificate is a method used to distribute a public key and other information about a server and the organization who is responsible for it. To set up a secure server using public-key cryptography, in most cases, you send your certificate request (including your public key), proof of your company's identity, and payment to a CA. Continuing the HTTPS example, a CA-signed certificate provides two important capabilities that a self-signed certificate does not: The process of getting a certificate from a CA is fairly easy. Openssl genrsa -des3 -out server.key 1024. Postfix. Postfix is the default Mail Transfer Agent (MTA) in Ubuntu. It attempts to be fast and easy to administer and secure. It is compatible with the MTA sendmail. This section explains how to install and configure postfix.

It also explains how to set it up as an SMTP server using a secure connection (for sending emails securely). To install postfix run the following command: sudo apt-get install postfix Simply press return when the installation process asks questions, the configuration will be done in greater detail in the next stage. To configure postfix, run the following command: sudo dpkg-reconfigure postfix The user interface will be displayed. Internet Site mail.example.com steve mail.example.com, localhost.localdomain, localhost No 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24 0 + all Now is a good time to decide which mailbox format you want to use. To configure the mailbox format for Maildir: sudo postconf -e 'home_mailbox = Maildir/' mechanisms = plain login. Ubuntu 10.04 Post-Install Guide: What to do and try after installing Lucid Lynx!

Now that you've installed Ubuntu 10.04, Lucid Lynx, a kickass GNU+Linux based free desktop operating system, there's a lot of fun stuff waiting for you to try! This guide lists good things to do after installing Ubuntu, explains new concepts for beginners, and doubles as a very complete list of great software to use aimed at Ubuntu's GNOME desktop environment. Feel free to pick and choose; enjoy! Table of Contents Managing Applications Repositories Ubuntu uses directories of available software called repositories (repos) which are read by your system to make it easy for Ubuntu to keep all of your software updated, allow you to easily install applications from a convenient catalog of all available apps, and provide a high level of security. Repositories can be added in Software Sources (System ⟶ Administration ⟶ Software Sources) simply by clicking the "Add...

" button in the "Other Software" tab and entering the provided APT line. Ubuntu Software Center sudo apt-get install example-package. Build Your Own Server | Why pay somebody to do it for you when you can build it yourself! [global] panic action = /usr/share/samba/panic-action %d workgroup = "Name" netbios name = "Server name" invalid users = root security = user wins support = no log file = /var/log/samba.log log level = 3 max log size = 1000 syslog = 1 encrypt passwords = true passdb backend = smbpasswd socket options = TCP_NODELAY dns proxy = no passwd program = /usr/bin/passwd %u passwd chat =*Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . obey pam restrictions = yes pam password change = no null passwords = no #Share Definitions [homes] comment = Home Directories browseable = yes writable = yes security mask = 0700 create mask = 0700 #!

/bin/sh x11vnc -nap -bg -many -rfbauth ~/.vnc/passwd -desktop "VNC ${USER}@${HOSTNAME}" \ |grep -Eo "[0-9]{4}">~/.vnc/port. Version 1 1 - LinuxMCE Wiki. Booting from Live CD with Nvidia 7800 GT. Bug #43252 in Ubuntu: “Driver Bug for nVidia 6800 series Cards” 6.10 Refuses to boot.