Wednesday, November 21, 2012

Linux Mint 14


Clement Lefebvre has announced the final release of Linux Mint 14, code name "Nadia", in MATE (version 1.4) or Cinnamon (version 1.6) editions: "The team is proud to announce the release of Linux Mint 14 'Nadia'. For the first time since Linux Mint 11, the development team was able to capitalize on upstream technology which works and fits its goals. After 6 months of incremental development, Linux Mint 14 features an impressive list of improvements, increased stability and a refined desktop experience. We're very proud of MATE, Cinnamon, MDM and all the components used in this release, and we're very excited to show you how they all fit together in Linux Mint 14." For more information please visit the following pages: release announcement, what's new and release notes. Download (SHA256) links: linuxmint-14-mate-dvd-32bit.iso (966MB, torrent), linuxmint-14-cinnamon-dvd-32bit.iso (884MB, torrent), linuxmint-14-mate-dvd-64bit.iso (968MB, torrent), linuxmint-14-cinnamon-dvd-64bit.iso (881MB, torrent).

Vyatta 6.5



Stephen Harpster has announced the release of Vyatta 6.5, an updated version of the project's specialist distribution for firewalls and routers: "I'm pleased to announce that Vyatta Core (VC) release 6.5 is now available for download. Release 6.5 of the Vyatta Network OS adds significant enhancements including: support for Microsoft Hyper-V; Policy-Based Routing (PBR) which allows incoming packets to be forwarded based on policies, rather than just on the destination address; Virtual Tunnel Interface (VTI) which is a way to represent policy-based IPsec tunnels as virtual interfaces; BGP Multipath enables the installation of multiple BGP paths to a destination into the IP routing table; IPsec support for IPv6 using Internet key management protocol IKEv1; the VRRP (Virtual Router Redundancy Protocol) operational mode commands have been modified to improve usability...." Read the rest of the release announcement for further details. Download (MD5): vyatta-livecd_VC6.5R1_i386.iso (213MB), vyatta-livecd_VC6.5R1_amd64.iso (223MB).

How To Install The PHP-Nuke 8.2 CMS Under Ubuntu 12.10/12.04/Linux Mint 13



In this tutorial, we will see how to install PHP Nuke 8.2 locally in a system running Ubuntu/Linux Mint. The tutorial is also workable for other Debian-based systems. PHP Nuke is a popular CMS (Content Management System) that gives the administrator full control over his websites (portals). The latest version (8.2.4) comes with more bug fixes and security improvements. You can find here the added features for PHP Nuke 8.2.4.

Getting Started

      1. Installing The LAMP Server

To be able to run PHP Nuke on your system, we need to install first a web server. For this tutorial, we will use the LAMP web server, but it's your choice to select another web server (XAMPP for example). To install LAMP on Ubuntu 12.10/12.04/11.04 or Linux Mint 13, open the terminal and run this command:


 sudo apt-get install lamp-server^

For more help about the installation of the LAMP server, check this article. Also, PHP Nuke requires GD graphics support. You can install it with this command:

sudo apt-get install php5-gd

      2. Downgrading From PHP 5.4.x To PHP 5.3.x

Magic Quotes GPC has been dropped from PHP 5.4.x. The only solution to make PHP-Nuke work under Ubuntu/Linux Mint is to downgrade from PHP 5.4.x to 5.3.x. To do this, you can use a simple script that will automatically downgrade your current PHP version to 5.3.x. You can run it with the following commands from the terminal:

cd /tmp 
wget http://dl.dropbox.com/u/47950494/upubuntu.com/php5_4_downgrade_5.3.sh 
chmod +x php5_4_downgrade_5.3.sh 
sudo sh php5_4_downgrade_5.3.sh

      3.  Creating MySQL Database & User

After installing the LAMP server and downgrading to PHP 5.3.x, we need now to create a MySQL database and user to use with PHP Nuke. If you have phpMyAdmin installed, you can easily do this with just few actions. But, if you want to create these details from the terminal, the run this sequence of commands and replace text highlighted in red with your own settings:

- Sign in to the MySQL server with this command:

 mysql -u root -p

- Create now a MySQL database for PHP Nuke with this command:

create database phpnuke;

- Create a user with this command:

CREATE USER 'phpnuke-user'@'localhost' IDENTIFIED BY '12345';

Replace phpnuke-user & 12345 with any other username and password of your choice.

- Grant now this user access to your database with this command:

GRANT ALL PRIVILEGES ON phpnuke.* TO 'phpnuke-user' IDENTIFIED BY '12345';

- Exit now the MySQL server with this command:

exit

We have now created these MYSQL details:

  • Hostname: localhost
  • Database Name: phpnuke
  • Database User: phpnuke-user
  • Database User Password: 12345
      4. Installing PHP NUKE 8.2

You can download and place the PHP NUKE files in the /var/www/ directory with these commands:

cd /tmp 
sudo mkdir /var/www/phpnuke 
wget -c http://goo.gl/iWxAv -O phpnuke-release-8.2.4.zip 
unzip -q phpnuke-release-8.2.4.zip 
sudo cp -r phpnuke-release-8.2.4/phpnuke/html/* /var/www/phpnuke 
sudo chmod 777 -R /var/www/phpnuke 
sudo /etc/init.d/apache2 restart

Open now this link to start the installation of PHP Nuke:

http://localhost/phpnuke/install/

Note: You can replace localhost with your own server IP address.
Then follow setup instructions via your web browser:


When you finsih the installation of PHP Nuke, remove the install directory with this command:

sudo rm -rf /var/www/phpnuke/install

Here are the screenshots of the default home page and admin area:





PHP-NUKE Home Page