Tag Archives: ubuntu

ubuntu 14.04 (trusty) percona 5 install howto

https://www.percona.com/doc/percona-server/5.5/installation/apt_repo.html

howto switch from mysql 5 to percona 5 on ubuntu 14.04 trusty

remove mysql (if youve already installed it)

# aptitude remove mysql-client-5.5 mysql-client-core-5.5 mysql-workbench

install percona

# apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
# vi /etc/apt/sources.list

  deb http://repo.percona.com/apt trusty main
  dpkg http://repo.percona.com/apt trusty main
  
# aptitude update
# aptitude install percona-server-client-5.5 percona-server-server-5.5

ed/x/ubuntu 14 apache apache2 apache2ctl -S

if you are running apache on ubuntu 14 dont use apache2 but use apache2ctl instead if you dont want to get AH00111 config variable $ is not defined errors !

# apache2 -S

[core:warn] [pid 4998] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[core:warn] [pid 4998] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[core:warn] [pid 4998] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[core:warn] [pid 4998] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[core:warn] [pid 4998] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

# apache2ctl -S
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex default: dir="/var/lock/apache2" mechanism=fcntl 
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

thanks to