Archives For Howtos

LAMP ubuntu 13.10This tutorial show you how to install LAMP in Ubuntu 13.10 Server. LAMP stands for Linux, Apache, MySQL, and PHP. It is a combination of these 4 that suitable for building high-availability heavy-duty dynamic web sites.

Linux is a Unix-like and POSIX-compliant operating system. Ubuntu is one of popular Linux distributions.

Apache is a HTTP web server, the most popular in use. It serves webpages when they’re requested by the web browsers. When you type an URL on your web server and press Enter, the pages you see on screen is most likely served by Apache webserver.

MySQL is a database management system now owned by Oracle Corporation. It stores and organizes references to the information the webserver needs.

PHP is a reflective programming language, which makes it possible for all these different parts to work together.

Tutorial Objectives:

  • Install LAMP Stack in Ubuntu 13.10 Server
  • Enjoy!

To get started, run single command below to install them:

sudo apt-get install lamp-server^

While the installing process, you’ll be prompt to set a password for MySQL root user.

To check out if Apache is working, type http://ubuntuserverip in client web browser or localhost in the local browser:

apache is working

apache is working

To check out if PHP is working, run command below to create a test php file in root of Apache webserver directory:

sudo vi /var/www/info.php

Press i to start editing, and type in following lines:

<?php
phpinfo();
?>

After that, press Esc to exit editing. Press Shift + : and followed by wq and Enter to save the changes.

Now, type http://ubuntuserverip/info.php in client’s browser or localhost/info.php in local browser, you’ll see:

php & mysql is working

php & mysql is working

Scroll down to find out if there’s a section about Mysql, it means that Mysql is working too!

Now your LAMP server is up and working, see how to install wordpress in Ubuntu 13.10.

How to Install WordPress in Ubuntu 13.10 Server

Published: October 29, 2013 — Last updated: October 29, 2013

install wordpress ubuntu 13.10

If you’ve already installed LAMP (Linux, Apache, MySQL, PHP) or LNMP in Ubuntu Server, now it’s time to install wordpress on Ubuntu and get your site running!

WordPress is a popular blogging tool and a content management system (CMS) based on PHP and MySQL. It’s free and open-source. In the steps below the lines that the user needs to enter or customize will be in red in this tutorial!

1. Create MySQL Database and User for WordPress

If you’re using LAMP, install PhpMyAdmin to get a graphical way setting your MySQL Database.

To install PhpMyAdmin, run command below in Ubuntu server:

sudo apt-get install phpmyadmin

Choose apache2 webserver while the installing process and say NO to “Configure database for phpmyadmin with dbconfig-common?”

Once installed, run commands below to get it working:

sudo sh -c 'echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf' && sudo service apache2 restart

Now, go to http://UBUNTUSERVERIP/phpmyadmin/ in your client’s browser and type in root and the password you set when MySQL was installed to login.

phpmyadmin login

phpmyadmin login

Follow the steps below to create Database and user:

Step 1 – Click on Users then click Add User.
Step 2 – Type in your desired User name (wordpress is a good one) and ensure Use text field is selected. Ensure Host is set to Local from the drop down list and the text box will change to localhost and enter a Password and then confirm it in the Re-type box. Ensure the Password Use text field is also selected.
Step 3 – Click on Create database with same name and grant all priviliges.
Step 4 – Click on Go.

phpmyadmin create user and database

phpmyadmin create user and database

If you’re using LNMP (Linux, Nginx, MySQL, PHP), follow the steps below to create user & database (both are wordpress in commands below).

Step 1 – Run command in Ubuntu Server to log into MySQL Shell with MySQL root password:

mysql -u root -p

Step 2 – Create database, here I named it wordpress:

CREATE DATABASE wordpress;

Step 3 – Create a new user also named wordpress:

CREATE USER wordpress@localhost;

Step 4 – Set a password for this user:

SET PASSWORD FOR wordpress@localhost= PASSWORD("12345678");

Step 5 – Grant all privileges to the new user:

GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY '12345678';

Step 6 – Refresh MySQL:

FLUSH PRIVILEGES;

Exit MySQL shell:

exit

2. Download WordPress

On Ubuntu Server, run command below to download the latest wordpress package from its official site:

cd && wget http://wordpress.org/latest.tar.gz

Then uncompress it via command below:

tar -xzvf latest.tar.gz 

3. Setup WordPress Configuration

First copy the sample wordpress configuration file into a new config file:

cd && cp wordpress/wp-config-sample.php wordpress/wp-config.php

Then edit the file with command below:

vi wordpress/wp-config.php

Find the section that contains the field below and substitute in the correct name for your database, username, and password:

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress‘);

/** MySQL database username */
define(‘DB_USER’, ‘wordpress‘);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘12345678‘);

Press i to start editing, and Esc to end editing. Finally press Shift+: followed by wq and Enter to save and exit the file.

4 Copy the files

Now move WordPress files to webserver root directory:

For LAMP:

cd && sudo rsync -avP wordpress/ /var/www/

For LNMP:

cd && sudo rsync -avP wordpress/ /usr/share/nginx/html/

Give ownership of the directory to the apache/nginx user:

cd /var/www/  ###For nginx: cd /usr/share/nginx/html/

sudo chown www-data:www-data * -R 

sudo usermod -a -G www-data www-data

5. Install WordPress:

Now in your client’s web browser go to http://UBUNTUSERVERIP/wp-admin/install.php and install your wordpress site:

installing wordpress

installing wordpress

Once done, if you still get “It Works!” Apache page. Run command below to edit dir.conf:

sudo vi /etc/apache2/mods-enabled/dir.conf

You will see a line of index files (index.html, index.php, index.cgi, etc) under the DirectoryIndex setting. Add index.php as the first item in the list.

After that, restart Apache server by:

sudo service apache2 restart

Now you can access your new website:

wordpress site

wordpress site

Mixxx ubuntu 13.10

Mixxx is a digital DJ system, where Wave, Ogg, FLAC and MP3 files can be mixed on a computer for use in live performances. Filters, crossfader, and speed control are provided. Mixxx can sync the 2 streams automatically, using an algorithm to detect the beat.

The default Mixxx in Ubuntu repository is v1.10 while the latest has reached v1.11.0 with many great new features, bug fixes and performance improvements! This tutorial shows you how to install Mixxx 1.11.0 in Ubuntu 13.10 Saucy Salamander or Linux Mint 16 Petra via PPA.

Here’s the skinny on all the new features in Mixxx 1.11.0:

  • Colored, 3-band Waveforms
    • Don’t miss a beat. These waveforms make every kick, snare, and thumping beat stand out.
  • Brand New Beat Detector
    • With a brand new beat detection system based on the latest academic research at Queen Mary University, Mixxx’s beat detection is now deadly accurate. This means your loops, hotcues, and beatsyncing will be spot-on.
  • HID and Bulk Controller Support
    • Mixxx now supports non-MIDI devices using its powerful scripting system.
    • Mixxx 1.11.0 comes with HID presets for the following devices:
      • EKS Otus
      • Traktor Kontrol F1
      • Hercules DJ Console Mk1
      • Hercules DJ Console Mk2
      • Hercules DJ Control MP3 e2 (driver no longer necessary on Linux)
      • Nintendo Wiimote
      • Pioneer CDJ 850/900/2000
      • Sony SixxAxis
  • Session History
    • Whether you need to report your setlists to ASCAP or just remember the tracks you played last night, the new Session History feature keeps track of every tune you drop so that you don’t have to.
  • Beatloop Rolls
    • This stunning new effect works just like a beatloop except when you release the button the deck jumps to where it would have been if you hadn’t started the loop. Try it out by right-clicking on a beat-loop button.
  • Preview Deck
    • A highly-requested feature, the new preview deck allows you to preview tracks in your headphones without having to load them into a main deck. Just click preview on any track in the library and it will start to play in your headphones.
  • Advanced Search
    • The library search box received some much-needed love. Try out these example queries:
      • bpm:100-120 rating:>4
        • All tracks between 100 and 120BPM with rating greater than 4.
      • artist:”Aphex Twin”
        • All tracks with “Aphex Twin” in the artist column.
      • genre:electro bpm:>115
        • All Electro tracks with BPM greater than 115.
    • For full details, see the Mixxx manual.
  • Improved AutoDJ
    • Now you can customize the crossfade period, re-queue tracks instead of removing, and more.
  • Point-and-Click MIDI Mapping
    • Getting your controller mapped is now easier than ever. Just click on the button or knob you want to map in Mixxx and then wiggle the control on your MIDI controller to wire it up.
  • New Sample Grid skin
    • With 16 sample decks, this skin is perfect for radio DJs and advanced beat-jugglers alike.
  • Time Widgets
    • Skins now show the time so you can keep your eye on the clock while in full-screen.
  • Sample Deck Improvements
    • Sample decks now have sync buttons.
    • When there is room skins now include more sample decks.
  • New and Improved User Manual
  • New Controller Support
    • Mixxx Certified Support
      • Allen & Heath Xone K2
      • EKS Otus
      • Keith McMillen Instruments QuNeo
      • Vestax VCI-400
    • Mixxx Community Support
      • Akai LPD8
      • American Audio VMS2
      • Behringer BCD2000
      • DJ-Tech CDJ-101
      • DJ-Tech DJM-101
      • DJ-Tech Mixer One
      • DJ-Tech Kontrol One
      • Gemini FirstMix
      • Hercules DJ Console Mk1
      • Hercules DJ Console 4-Mx
      • Hercules DJ Control AIR
      • Hercules DJ Control Instinct
      • Kontrol Dj KDJ500
      • Korg nanoKONTROL
      • Korg nanoKONTROL 2
      • Korg nanoPAD2
      • MixVibes U-Mix Control 2
      • MixVibes U-Mix Control Pro 2
      • Nintendo Wiimote
      • Novation Dicer
      • Novation Launchpad
      • Numark DJ2Go
      • Numark MIXTRACK Pro
      • Numark N4
      • Numark Omni Control
      • Numark V7
      • Reloop Terminal Mix 4
      • Sony Sixxaxis
      • Traktor Kontrol F1
      • Vestax VCI-100 3DEX Edition
      • Vestax VCI-300
  • Other Highlights
    • Hamster / Reverse mode for the crossfader now supported.
    • Track analyzer has better prioritization of work and feedback.
    • Controller presets now include wiki/forum links, authorship info and a description.
    • The View menu toggles for skin elements (Vinyl Control, Microphone, Samplers, etc.)
    • View settings are now saved across restarts.
    • New latch mode for microphone talk-over button and kill switches.
    • Removed tracks now appear in the “Hidden Tracks” section of the library.
    • Locale selectable via preferences.
    • MixVibes support for Vinyl Control.
    • Quick Links section in Browse mode allows you to save favorite browse locations.
    • The –controllerDebug command-line option auto-reloads controller scripts when they change.
  • Hundreds of bug fixes and performance improvements!

Install Mixxx:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:mixxx/mixxx

sudo apt-get update

sudo apt-get install mixxx

These commands also install latest mixxx in Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Ubuntu 10.04 and their derivatives.

Nvidia 331.17 ubuntu 13.10

Nvidia has released the Beta driver 331.17 for Linux with bug fixes and new NVIDIA Unified Memory kernel module which provides support for the new Unified Memory feature in an upcoming CUDA release.

What’s New in Nvidia 331.17:

  • Fixed a bug that prevented configuration files containing application profiles from being loaded when directories were present in the application profile configuration search path.
  • Deferred initialization of libselinux in the NVIDIA OpenGL driver, in order to avoid a problem where libselinux might not be ready when the NVIDIA libGL shared library is first loaded.
  • Added nvidia-uvm.ko, the NVIDIA Unified Memory kernel module, to the NVIDIA Linux driver package. This kernel module provides support for the new Unified Memory feature in an upcoming CUDA release.

How to install Nvidia 331.17

For Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint users, you can easily install this driver from Xorg edge PPA.

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-331

For other Linux distributions, such as Fedora, OpenSUSE, etc. You can download and install it from the official installer. Here are the links from Nvidia website:

Nvidia 331.17 For 32 bit Linux

Nvidia 331.17 for 64 bit Linux

For Ubuntu and its derivatives, follow the steps below to install this driver provided by Nvidia:

1. Press Ctrl+Alt+F1 to switch to command console. Login with your username and password.

2. Stop the graphics session in order to start the installation.

For default Unity’s display manager:

sudo service lightdm stop

For Gnome:

sudo service gdm stop

For Linux Mint mdm:

sudo service mdm stop

3. Give permission to execute the downloaded installer.

chmod +x ~/Downloads/NVIDIA-Linux-*-331.17.run

4. Start the installer and follow on screen prompts:

sudo sh ~/Downloads/NVIDIA-Linux-*-331.17.run

Polly Twitter Client Logo

This tutorial shows how to install Polly Twitter Client via PPA in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint 13/14/15/16 and Elementary OS.

Polly is an open source Linux Twitter client designed for multiple columns of multiple accounts. It is now at version 0.93.11 (pre-alpha 3.11).

Most notable in this release is the addition of the beautiful Numix icon theme, but there are also fixes for Fedora packaging, some link optimizations, and the addition of an internal keyring module to avoid incompatibility with recent distros.

Install Polly via PPA:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below to add the Polly PPA:

sudo add-apt-repository -y ppa:conscioususer/polly-daily

After that, update package lists and install this client:

sudo apt-get update; sudo apt-get install -y polly

Once installed, open polly from Unity Dash.

Polly Twitter Client in Ubuntu 13.10 with Numix theme

Polly Twitter Client in Ubuntu 13.10 with Numix theme

Super Boot Manager is a simple tool to configure Grub, Burg, and Plymouth. This interface also allows the installation of Burg, the installation of many graphic themes for Burg and Plymouth and it allows the creation of customized themes.

The Super Boot Manager PPA is not ready for Ubuntu 13.10 Saucy Salamander. So here’s how to install it using the Raring DEBs. It works great in my Ubuntu 13.10 64-bit machine.

Tutorial Objectives:

  • Install Super Boot Manager in Ubuntu 13.10
  • Enjoy!

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below to add the PPA:

sudo add-apt-repository ppa:ingalex/super-boot-manager

After added the PPA, open Software & Updates from Unity Dash. Under Other Software tab, find out the line says ‘http://ppa.launchpad.net/ingalex/super-boot-manager/ubuntu saucy main’. Edit and change the distribution from saucy to raring.

super boot manager repository

Now you can install the Super Boot Manager as well as buc by running below 3 commands one by one:

sudo apt-get update

sudo apt-get install super-boot-manager

sudo apt-get -f install

Once installed, launch it from Unity Dash (need a restart) or run command below:

super-boot-manager

Screenshots:

super-boot-manager main window

super-boot-manager main window

burg manager

burg manager

grub manager

grub manager

plymouth manager

plymouth manager

The NetBeans is an integrated development environment (IDE) written in Java and can run on Windows, OS X, Linux, Solaris and other platforms supporting a compatible JVM.

NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and web applications, as well as HTML5 applications with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for PHP and C/C++ developers. It is free and open source and has a large community of users and developers around the world.

See What’s new in latest NetBeans IDE 7.4:

  • HTML5 development for Android and iOS devices
  • HTML5 development in Java EE and PHP applications
  • Editing support for Knockout and AngularJS frameworks
  • Java SE 8 Support
  • Redesigned JavaFX support according to JDK 8 architecture
  • Additional enhancements are listed on the NetBeans IDE 7.4 New and Noteworthy page.

For more about this release, see the NetBeans IDE 7.4 Release Information page.

This tutorial shows you how to install NetBeans IDE 7.4 in Ubuntu 13.10 & Linux Mint 16 using oracle’s own JDK + NetBeans Co-bundled distribution package. It also works on Ubuntu 14.04, Ubuntu 13.04, Ubuntu 12.04 and other derivatives.

Install Netbean IDE 7.4 on Ubuntu & Linux Mint

NetBeans IDE 7.4 works better and faster with JDK distribution, so first download the oracle’s Co-bundled package JDK 7u45 with NetBeans 7.4 Go and download:

      jdk-7u45-nb-7_4-linux-i586.sh for the 32-bit Linux System.
      jdk-7u45-nb-7_4-linux-x64.sh for the 64-bit Linux System.
Download NetBean IDE

Download NetBean IDE

Go to the Downloads folder, set the permission by right-click on the installer -> Properties -> Permissions tab -> check ‘Allow executing file as program’. Or just run command below in terminal (Ctrl+Alt+T):

chmod +x ~/Downloads/jdk-7u45-nb-7_4-linux*.sh

Now run the installer:

cd ~/Downloads && ./jdk-7u45-nb-7_4-linux*.sh

It brings up the install wizard:

Netbean IDE install wizard

Netbean IDE install wizard

Follow it. Finally you’ll get the NetBeans IDE 7 installed on your system:

NetBeans IDE 7.4 on Ubuntu 13.10

NetBeans IDE 7.4 on Ubuntu 13.10

(Optional) To uninstall Netbeans IDE 7.4, run the uninstall.sh from the installation directory

opera ubuntu 13.10

This tutorial shows how to install Opera browser in Ubuntu 13.10 Saucy Salamander or Linux Mint 16 Petra.

Opera is a web browser developed by Opera Software. The latest versions of Opera use the Blink layout engine, which is used in Chrome v28+.

The latest Opera 12.16 for Linux is a recommended upgrade offering security and stability enhancements.

opera web browser in ubuntu 13.10

How to install Opera:

It’s very easy to install Opera in Ubuntu and its derivatives. Just download the Debian package from its official site. Or check your OS type (32-bit or 64-bit) and download the installer from Opera repository:

Opera 12.16 for 32-bit Ubuntu

Opera 12.16 for 64-bit Ubuntu

Once downloaded, double-click to install the package via pop-up Ubuntu Software Center or Gdebi. If you’re missing dependencies, run below command in terminal (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/opera_12.16*.deb; sudo apt-get -f install

Numix is a modern flat theme with a combination of light and dark elements. It supports Gnome, Unity, XFCE and Openbox.

This simple tutorials shows how to install Numix GTK as well as Numix icons on Ubuntu 13.10 Saucy, Ubuntu 14.04 Trusty, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and Linux Mint.

First take a look at screenshots:

numix gtk Ubuntu 13.10 Unity

numix gtk Ubuntu 13.10 Unity

numix icons ubuntu 13.10 unity

numix gtk & icons linux mint

numix gtk & icons linux mint

numix icons & gtk xfce4

numix icons & gtk xfce4

numix gtk & icons gnome shell

numix gtk & icons gnome shell

numix gtk & icons gnome shell

numix gtk & icons gnome shell

Install Numix GTK & Icons via PPA:

Numix project gets a launchpad PPA to make it easy to install Numix GTK, icons, wallpaper in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:numix/ppa

sudo apt-get update

sudo apt-get install numix-gtk-theme numix-icon-theme numix-wallpaper-saucy

Once installed, use Gnome Tweak Tool, Unity Tweak Tool or other system tools to apply Numix theme and icons.

customize elementary os panel

This tutorial shows you how to customize your Elementary OS top panel, including background color and transparency, auto hide panel, and show or hide Applications launcher.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to edit the /usr/share/themes/elementary/gtk-3.0/app.css:

sudo scratch-text-editor /usr/share/themes/elementary/gtk-3.0/apps.css

eos panel config file

There you can change the value of panel background color and transparency as well as other colors, include Noise, Terminal, Notify, and more.

To apply changes, run:

pkill wingpanel

elementary os panel

To get slim wingpanel, run command below in terminal:

sudo apt-get install wingpanel-slim elementary-tweaks

Then go to System Settings -> Tweaks -> Wingpanel Slim, there you can enable slim wingpanel, auto-hide panel, show / hide launcher.

elementary tweak slim wingpanel

Finally, my panel looks like:

elementary os slim panel