Setting up a LAMP (Apache, MySQL, PHP) development environment on Ubuntu 14.04 (Trusty) LTS for local Drupal/Wordpress development

This is how I normally set up my local Drupal development machines after a fresh Ubuntu 14.04 LTS (desktop/MATE edition) install.

1. Install required packages

From Terminal, execute the following command to update the repository information and to get the system up-to-date:

sudo apt-get update
sudo apt-get upgrade

Next, install some basic necessities:

[SOLVED] How to fix the Bootloop issue on Sony Ericsson Xperia Arc S LT18i usually brought about by switching on Bluetooth

The Sony Ericsson Xperia Arc S LT18i, an excellent phone of its times, is still a pretty decent phone to live with with all that Sony goodness in it.

The only sadness is that the item is out of support - both on the software as well as hardware sides, primarily because Sony and Ericsson parted ways.

How to do a hard reset on Moto G 2nd generation XT1068 Android mobile phone

The Motorola XT1068, or the Moto G 2nd generation (2014) as it is more commonly known, is a wonderful Android device that brought a lot of Google goodness - both in design and performance - in a very fairly priced Android phone for the masses.

And this phone has been seeing very fast OS update cycles - almost as quick as Google's own Nexus series. And for this reason, this phone has found quite a lot of love in the fan circles, which results is a lot of great user-generated documentation for all kinds of user scenarios.

Installing and configuring a fresh Ubuntu 14.04 server to host multiple Drupal websites

Here is the procedure that I normally follow for installing and configuring a fresh Ubuntu 14.04 server to host multiple Drupal websites:

Login as root, and run the following commands:

apt-get update
apt-get upgrade
apt-get autoremove
shutdown -r now

Add a new user to host the Drupal websites:

adduser USERNAME

Grant sudo permissions.:

sudo usermod -a -G sudo USERNAME

Then login as that user, and run the rest of the steps listed below.

Install latest git from official PPA:

Why, my dear Government, are we trying to hide the "India's Daughter" documentary from our public?

This documentary is such an important message to the whole of India.
Why then, my dear Government, are we trying to hide it from the eyes and ears of our public?

This crime charge is not just upon those rapists. It is also upon the way we failed, as a society, to educate them into men who knew how to treat women.
Let us not be afraid to face our worst crimes.

Let us watch, listen, ponder, share and teach ourselves the history of this crime and every other.

To all people who have been laid off by companies whom they trusted the most

Dear people who have been laid off,

I know this layoff has come as a big shock to your lives. Some of you seem to have crossed even 10 years at TCS. Some of you trusted them so much.

But when companies have grown so huge, it is quite difficult for the decision makers so high in the pyramid to think about the people so way below them personally. For them it's more of just a profit-loss decision that they have to take, even though they know they will have to face much pressure from the people who have been affected.

Well, this is quite the reality elsewhere.

[SOLVED] How to fix breaking/cracking audio on MSI X320 or similar Poulsbo chipset based laptops on Ubuntu / Linux Mint

Though this fix was tested on an MSI X320 running Ubuntu 14.04, it should work fine on most other Poulsbo based devices. Please let me know your device make, model, if it did / did not work for you.

Just run this command in Terminal:

sudo echo "options snd-hda-intel position_fix=1" >> /etc/modprobe.d/alsa-base.conf

Then restart for the settings to apply.

[SOLVED] How to fix the non-stop flow of mmc/mmc2 "Controller never released inhibit bit(s)" errors while booting Ubuntu Linux / LinuxMint on a Poulsbo chipset based laptop/desktop - tested on a MSI X320 laptop running Ubuntu 14.04

NOTE: Though this was originally tested on an MSI X320 laptop running fresh Ubuntu 14.04, it should work fine for other Ubuntu/LinuxMint versions as well.

If you used this fix on some other model/make, please let me know the result, and your laptop model/make using the Comments box below. Thanks!

Step 1:

First, run the following commands in Terminal to add the necessary blacklist lines:

[SOLVED][PHP PEAR] How to fix the error 'could not extract the package.xml file' and 'Download of "pecl/uploadprogress" succeeded, but it is not a valid package archive', when trying to install PECL uploadprogress using PHP PEAR on Ubuntu 14.04 Trusty

Setting up, upgrading and maintaining a clean and functional Drupal/PHP Development environment is an art, and quite a piece of cake for the skilled sysadmin. But the ever changing versions of OS packages and dependencies can bring up quite some unexpected challenges to a budding developer. Here is the solution to one such error that might eat your brains out.

Almost all usable versions of Drupal - 6, 7 and 8 - use PECL uploadprogress to show file upload progress.
And installing it on previous Ubuntu, PHP versions was as easy as running the following command:

How to upgrade Skype for Linux from version 4.2 to 4.3 without losing any of your old chat log / history

Skype for Linux, when updated to 4.3, from 4.2, brings up a big problem to many of the users who heavily rely on their Skype chat histories for a reason.
And since Canonical (the makers of Ubuntu) has included the update in its repositories, this problem is kind of unavoidable if you want to keep you up-to-date.
And with the now-Microsoft-owned Skype developers threatening that they would soon make the old Skype useless, you are in very much need of this fix to your existing Skype data files.

Pages

Subscribe to antojose.com RSS