Showing posts with label Php. Show all posts
Showing posts with label Php. Show all posts
Monday, February 25, 2013
Superb Mini Server 2.0.3
Superb Mini Server (SMS) 2.0.3, an updated build of the Slackware-based distribution for servers, has been released: "Superb Mini Server version 2.0.3 released (Linux kernel 3.4.33). It's that time again, this release feature the latest long-term support kernel 3.4.33, along with the latest stable releases of server packages, such as Postfix 2.10.0, Samba 4.0.3, Dovecot 2.1.15, MySQL 5.5.30, PHP 5.3.22. New packages in this release are: Heimdal, a Kerberos 5 implementation; Avahi, a Zeroconf implementation; libdaemon moved from /extra/avahi to main distribution; ConsoleKit, Polkit and libatasmart to fully support udisks; cifs-utils which split from the Samba package; elilo, an EFI linux bootloader (the installer doesn't have support for elilo); xhost, a server access control program for X. New packages on the extra ISO image are MariaDB, a drop-in replacement for MySQL and a built of CUPS with PAM support. SMS 2.0.3 features by default the long awaited Samba 4." Read the rest of the release announcement for more details. Download: SMS64.Native.CD-2.0.3-Install.iso (675MB, MD5).
Etichete:
Kernel,
Linux,
Php,
Superb Mini Server
Wednesday, November 21, 2012
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
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.
sudo rm -rf /var/www/phpnuke/install
Here are the screenshots of the default home page and admin area:
PHP-NUKE Home Page
Tuesday, September 25, 2012
Install/Upgrade To PHP 5.4.6 Under Ubuntu 12.04/11.10/Linux Mint 13/12
In this tutorial we will see how to install or upgrade to PHP 5.4.6 using an external PPA provided by Ondřej Surý which supports Ubuntu 12.04/11.10 or older and any Ubuntu-based system like Linux Mint 13/12. PHP 5.4.6 fixes many bugs, you can check the full changelog of version 5.4.6 here. PHP 5.4.7 is also released and still not available in the PPA, but will be added soon.
If you haven't already installed Apache2 and MySQL on your system, then do with the following commands:
sudo apt-get install -y mysql-server mysql-client apache2
Installing PHP 5.4.6
Via the terminal, issue these commands:
sudo add-apt-repository -y ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5 libapache2-mod-php5
Restart now Apache2 with this command:
sudo /etc/init.d/apache2 restart
To check if the installation of PHP 5.4.6 is successful, run this command:
php5 -v
$ php5 -v
PHP 5.4.6-2~precise+1 (cli) (built: Aug 30 2012 14:38:34)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologie
Or create a PHP file with this command:
echo "" | sudo tee /var/www/test.php
Restart Apache2:
sudo /etc/init.d/apache2 restart
Open now this URL (replace localhost with your own server IP address if needed):
http://localhost/test.php

Subscribe to:
Posts (Atom)







