Not getting a package on Ubuntu?

How to, Resources, Reviews, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
If you are not getting a package on Ubunu using apt-get then chances are that it has not been updated in the /etc/apt/sources.list file For example, the following should be there in the sources.list file if you are running Ubuntu 10.04 LTS (codename lucid) [code] ## main & restricted repositories deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb http://security.ubuntu.com/ubuntu lucid-updates main restricted deb-src http://security.ubuntu.com/ubuntu lucid-updates main restricted deb http://security.ubuntu.com/ubuntu lucid-security main restricted deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted ## universe repositories - uncomment to enable deb http://us.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb http://security.ubuntu.com/ubuntu lucid-security universe deb-src http://security.ubuntu.com/ubuntu lucid-security universe [/code]
Read More

How to install byte-unixBench on Ubuntu

How to, Resources, Tips and Tricks, Tutorials, Ubuntu
From UnixBench project homepage: UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system's performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system. Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system. Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run…
Read More

Installing Lighttpd, PHP and MySQL on Ubuntu

How to, Linux, OpenSource, PHP, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed [code]apt-get install lighttpd[/code] Now install PHP5 CGI package and PHP5 command line package [code]apt-get install php5-cgi php5-cli[/code] Edit the following file [code]nano /etc/php5/cgi/php.ini[/code] and uncomment this line [code]cgi.fix_pathinfo = 1[/code] Now enable fastcgi module [code]lighty-enable-mod fastcgi[/code] Restart Lighttpd [code]/etc/init.d/lighttpd restart[/code] You get the welcome page Lets install MySQL 5.1 server and client [code]apt-get install mysql-server mysql-client[/code] and…
Read More

PHP Depreciated errors on Ubuntu 10.04 LTS

How to, Linux, PHP, Tutorials, Ubuntu
If you have installed LAMP (Apache, MySQL and PHP on Ubuntu 10.04 LTS) then running this on SSH [code]php -v[/code] would be giving you certain PHP Depreciated warning like these [code]root@sea:~# php -v PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 PHP 5.3.2-1ubuntu4 with Suhosin-Patch (cli) (built: Apr 9 2010 08:23:39) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies[/code] Its…
Read More

Build-Essentials in CentOS?

CentOS, How to, Linux, Tips and Tricks, Tutorials, Ubuntu
If you are like me, you may be doing this to install essential build libraries to compile something from source [code]# wrong method yum install build-essential[/code] :) Build essential is a Ubuntu / Debian package. On CentOS, you need to do this [code]yum groupinstall "Development Tools"[/code] Warning: This will install all development tools approx 49 packages closing to 65MB
Read More