Update PHP 5.4 on Debian 6 Squeeze Rumi, June 6, 2014 Set up Dotdeb First add Dotdeb to your Apt sources: sudo vim /etc/apt/sources.list /etc/apt/sources.list deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all Save & Exit. Now go for the next- curl http://www.dotdeb.org/dotdeb.gpg | sudo apt-key add -sudo apt-get update Now Install PHP 5.4 sudo apt-get dist-upgrade Test it- php -v I found there were a couple of warning messages – I had to remove the old Suhosin & APC configuration files, and manually re-install APC: sudo rm /etc/php5/conf.d/suhosin.ini sudo rm /etc/php5/conf.d/apc.ini sudo apt-get install php5-apc Optionally install MySQL 5.5 If you get this message: The following packages have been kept back: mysql-server It’s probably because Dotdeb includes MySQL 5.5 and Squeeze includes MySQL 5.1. You can choose to upgrade with this command: sudo apt-get install mysql-server You may find phpMyAdmin gives a warning like this: Your PHP MySQL library version 5.1.66 differs from your MySQL server version 5.5.30. This may cause unpredictable behavior. You can fix this by installing the new MySQL Native Driver extension: sudo apt-get install php5-mysqlnd Related Administrations Configurations (Linux) Debianphp
Cacti on Debian (Updated) April 19, 2015April 19, 2015 Downloading Cacti You can download the newest version of Cacti from its website. wget http://www.cacti.net/downloads/cacti-0.8.7b.tar.gz Installing Cacti Install apache webserver with php support, mysql database server, snmp, some php modules and rrdtool. apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysql php5-gd php5-snmp mysql-client mysql-server libmysqlclient15-dev snmp snmpd rrdtool Add a user… Read More
When i installed Debian, i forgot to install GNOME! How to install? July 11, 2011 apt-get install x-window-system Once X installed proceed with gnome, following packages are minimum but gives you gnome gui based interface… so on it's easier to add other packages from synaptic. apt-get install gnome-core gdm synaptic Be careful on you /et/apt/source.list file- if the CDROm is un-commented then installation will begin… Read More
Reset Vesta CP (vestacp) admin password December 31, 2018 Method 1 Login to your server via SSH. Enter the below command to change the password. $ v-change-user-password admin newpassword Replace the newpassword field with the new password you want to set. Method 2 Login to your server via SSH. Enter command following command. $ passwd admin Enter new UNIX… Read More