Skip to main content

Posts

Showing posts with the label ubuntu

MySQL multiple instances on Ubuntu

Assumptions OS: Ubuntu 16.x edition – up to date Already has MySQL installed that comes default – you can easily install LAMP MySQL Server version: > 5.5 You have OS root privileges Default MySQL is running on port 3306 What will we do Set up 1 more MySQL instances on ports 3407 Each instance will have their own config files, data directories and log directories Stopping default MySQL instance sudo service mysql stop sudo ps -A | grep mysql Creating data directories MySQL cannot share data directories, so we need to set up new ones default basedir = /usr , this can be shared across instances default instance port = 3306 and data dir = /var/lib/mysql new instance        port = 3408 and data dir = /var/lib/mysql3408 MySQL must own data dirs we need to set rules in apparmor to let  MySQL  access the new dirs sudo mkdir /var/lib/mysql3408 sudo chown -R mysql /var/lib/mysql3408 Creating log directories create separate log dirs...

Introducing OpenPGP keys (launchpad and ubuntu)

An OpenPGP (also called GnuPrivacyGuard) key allows you to sign documents, such as emails or text files, using a digital key.There are two parts to an OpenPGP key: one public that you share with the world and the other private, which you should guard closely. Both are standard text files that make up a digital signature. In Launchpad, you can use your OpenPGP key to identify yourself when using the bug tracker's email interface, when uploading distribution packages and when signing a code of conduct. Generating your key in Ubuntu (using Seahorse or others) Generating an OpenPGP Key The core package required to start using OpenPGP,  gnupg , is installed by default on Ubuntu systems, as is seahorse, a GNOME application for managing keys. It is called "Passwords and Keys" in Ubuntu. There are several programs which provide a graphical interface to the GnuPG system. Enigmail , an OpenPGP plugin for Mozilla Thunderbird. Enigmail was available in the "Main...

QML for ubuntu mobile

QML at the heart of a set of technologies to bring the Ubuntu experience to mobile devices. QML is an a powerful JavaScript-based declarative language for designing intuitive, natural and responsive user interfaces. Marrying stunning design with a high-performing framework, the sky's the limit. Howto get the Ubuntu SDK preview With the latest ubuntu 13.04 :  sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk