background preloader

Serveur

Facebook Twitter

Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X Mavericks using Homebrew. Recently I've got a new MacBook Pro and decided to set it up from scratch, because I use the same Time Machine backup to migrate from since about four years. Perfect time to get rid of the web server/LAMP (Linux Apache MySQL PHP) stack and replace it with Nginx and PHP-FPM as FastCGI implementation. Below you can read how to setup Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X 10.9 / Mavericks. Updated for Yosemite users: Updated the guide for 10.10 since Yosemite is officially released. The steps are basically the same as for Mavericks. Xcode First of all, get the latest Xcode version (6.1) via the Mac App Store: Download Xcode.app (via Mac App Store) As soon as you've finished the download, open Xcode in your /Applications folder and agree to the licence.

Open a new Terminal window and install the Xcode Command Line Tools: xcode-select --install Confirm the installation dialog with Install. Back in Xcode, hit ⌘ + , to access the Preferences and navigate to the Locations tab. Homebrew brew doctor. How to Install ProFTPd Server on CentOS 6.2. ProFTPd is one of the most popular, secure and reliable FTP server for the Linux operating system. Proftpd uses a single configuration file and it’s very simple to set up. The aim of this article is to show you how to quickly install the ProFTPd server on linux CentOS 6.2.

What is FTP? FTP, which stands for File Transfer Protocol is a standard for exchanging program and data files across a network. The network could be the World Wide Web or simply a local area network (LAN). Prerequisite :How to Add the RPMforge Repository on CentOS 6/RHEL 6 Linux Server Simply run this command to install ProFTPd on CentOS 6.2 : [root@centos62 ~]# yum install proftpd -y Examples : How to start proftpd service : [root@centos62 ~]# /etc/init.d/proftpd start How to stop proftpd service : [root@centos62 ~]# /etc/init.d/proftpd stop How to restart proftpd service : [root@centos62 ~]# /etc/init.d/proftpd restart Configure proftpd start at boot : [root@centos62 ~]# chkconfig proftpd on. MySQL: astuce pour activer ou désactiver les logs MySQL sans redémarrer le serveur. | Axude. Installing Apache2 With PHP5 And MySQL Support On CentOS 6.4 (LAMP. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 03/14/2013 LAMP is short for Linux, Apache, MySQL, PHP.

This tutorial shows how you can install an Apache2 webserver on a CentOS 6.4 server with PHP5 support (mod_php) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. 2 Installing MySQL 5 To install MySQL, we do this: yum install mysql mysql-server Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server: chkconfig --levels 235 mysqld on /etc/init.d/mysqld start Set passwords for the MySQL root account: mysql_secure_installation [root@server1 ~]# mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE!

Set root password? Remove anonymous users? Disallow root login remotely? Integrating APC (Alternative PHP Cache) Into PHP5 (Debian Etch & Apache2. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 03/28/2008 This guide explains how to integrate APC (Alternative PHP Cache) into PHP5 on a Debian Etch system (with Apache2). APC is a free and open PHP opcode cacher for caching and optimizing PHP intermediate code. It's similar to other PHP opcode cachers, such as eAccelerator and XCache.

I do not issue any guarantee that this will work for you! 1 Preliminary Note I have tested this on a Debian Etch server with the IP address 192.168.0.100 where Apache2 and PHP5 are already installed and working. 2 Checking PHP5's Current State First, before we install APC, let's find out about our PHP5 installation. Vi /var/www/info.php Afterwards, we call that file in a browser: As you see, we have PHP 5.2.0 installed... (JavaScript must be enabled in your browser to view the large image as an image overlay.) ... but APC isn't mentioned anywhere on the page: 3 Installing APC apt-get install php-pear.