Posts Tagged ‘Ubuntu’

February 26, 2014 0

Upgrade Mysql to MariaDB

By in Log

Remove MySQL

Install MariaDB

Tags: , ,

January 10, 2014 0

Nginx with Apache + FastCGI + PHP-FPM

By in Coding

Install Apache2 + FastCGI + PHP-FPM Apache Settings /etc/apache2/sites-availabe/test.server.com.conf:

/etc/apache2/ports.conf:

Install Nginx sudo apt-get install nginx /etc/nginx/sites-available/test:

sudo ln -s /etc/nginx/sites-available/test /etc/nginx/sites-enabled/test sudo rm /etc/nginx/sites-enabled/default Restart Server sudo service nginx restart sudo service apache2 restart sudo service php5-fpm restart

Tags: , , ,

August 22, 2013 0

Install Mod-FastCGI and PHP5-FPM on Ubuntu

By in Log

Installation

Configuration edit /etc/apache2/mods-enabled/fastcgi.conf:

Restart Apache2 and PHP5-FPM

— Updated 2014-01-09 (Ubuntu 13.10)– mkdir /var/www/cgi-bin touch /var/www/cgi-bin/php5.fcgi chown -R www-data:www-data /var/www/cgi-bin edit /etc/apache2/mods-enabled/fastcgi.conf:

Virtual host setting example :

References Apache + mod_fastcgi + php-fpm 設定 Quick Setup: Apache Worker, FastCGI, PHP-FPM and APC Setup Apache 2.4 and Php FPM with […]

Tags: , , , ,

July 5, 2013 0

Building Your Own Mail Server

By in Log

Requirments: Postfix : Mail Server Dovecot : IMAP/POP3 Server AfterLogic WebMail Lite or Roundcube : WebMail Interface PostfixAdmin : Mail Account/Domain Management (myself) Installation 主要參考 Linode Library 的這篇教學

Postfix Settings /etc/postfix/main.cf

/etc/postfix/mysql-virtual-mailbox-domains.cf:

/etc/postfix/mysql-virtual-mailbox-maps.cf:

/etc/postfix/mysql-virtual-alias-maps.cf:

測試:

Dovecot Settings In this section, you’ll configure Dovecot to: Set the IMAP, POP3, and […]

Tags: ,

June 12, 2013 0

Use ownCloud to build your own network drive

By in Log

Install linux packages apt-get update and some libraries:

Ubuntu 13.04:

Download web installer

Server Web-DAV Installation Open your browser, run the web installer script, ex: http://{domain.name}/setup-owncloud.php follow the steps in installer, finish it. Sync-Client Installation for MacOS: download Reference How to setup owncloud 5 on ubuntu 12.10 mobile01 – OwnCloud, 一套適合自建的網路同步硬碟

Tags: , ,

May 26, 2013 0

Upgrade Ubuntu

By in Log

install the update-manager-core package if it is not already installed: $ sudo apt-get install update-manager-core Edit /etc/update-manager/release-upgrades and set Prompt=normal; Launch the upgrade tool with the command: $ sudo do-release-upgrade -d List installed packages: $ sudo dpkg –get-selections

Tags: