≡ Menu

apt-get command

I'm a new Ubuntu 12.04/14.04 server user. How do I install and use memcached on an Ubuntu Linux 14.04 LTS server? How can I my apps written in PHP or Python can use memcached on an Ubuntu LTS server?
[click to continue…]

HowTo: Uninstall MySQL Server in Ubuntu Linux

I'm a new Ubuntu Linux user and my cloud hosting company installed MySQL server by default. I need to remove it and delete it from my server as I have no use of MySQL server. How can I uninstall MySQL on a Ubuntu based systems?
[click to continue…]

HowTo: Reinstall MySQL v5.x On Linux

My MySQL database installation has been corrupted. I would like to delete old mysql server. How do I reinstall MySQL database server version 5.x on Linux or Unix-like oses? A software upgrade broke my system. How can I uninstall and re-install mysql again to get fresh full mysql again?
[click to continue…]

I am using Ubuntu 12.04.2 LTS ("precise"). I am trying to upgrade all packages using kernel via apt-get upgrade method. But, I am getting the following message:

apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-virtual linux-image-virtual mysql-client-5.5 mysql-server-5.5
mysql-server-core-5.5

The following packages will be upgraded:
base-files dosfstools linux-libc-dev linux-libc-dev:i386
4 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 1,847 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsNone
Estimated completion time1m

How do I fix this issue and install linux-headers-virtual linux-image-virtual packages which have been kept back in Ubuntu Linux LTS version 12.04.2?
[click to continue…]

I mount /tmp with nodev, nosuid, and noexec options to increase the security of my Linux based web server. And, whenever I ran apt-get install or apt-get upgrade command, I am getting the following error:

apt-get install linux-generic linux-headers-generic linux-image-generic
.....
....
..
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-43-generic
Found initrd image: /boot/initrd.img-3.2.0-43-generic
....
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-43-generic
W: TMPDIR is mounted noexec, will not cache run scripts.
....
...

How do I fix this problem without compromising security of the data or web-server?
[click to continue…]

Debian / Ubuntu: apt-get Force Reinstall Package

I am a new Debian Linux v.7.x / Ubuntu Linux LTS user. How do I reinstall a package using apt-get command line?
[click to continue…]

Debian 7 Wheezy: Install Flash Player

I am a new Debian Linux version 7 user. I found out that Pandora player is not working due to Adobe flash player. How do I install and use flash player on Debian 7 with Firefox browser?
[click to continue…]