Tags » Linux

Resizing images in one line in Linux

Re-sizing images in one line

I hope you all have had the problem when you upload high quality pics to FB or some other social network. 88 more words

you need to remove everything php5 related, otherwise you might have conflicts and problems:

sudo apt-get remove php5*
Then add the php7 ppa:

sudo add-apt-repository ppa:ondrej/php… 83 more words

PHP

[C++] Check memory leaks by top

top -b -n 1

To see applications which are leaking memory, look at the following columns:

RPRVT – resident private address space size
RSHRD – resident shared address space size… 13 more words

Linux

Using libguestfs to mount a Disk Image.

Recently, the opensource community and Red Hat are not supporting NTFS filesystem to mount images using libguestfs. You can read the official documentation accessing the specific section: … 267 more words

Linux

CentOS7 - Setting Static IP (Persistent)

Say your device name is ifcfg-eth0
Edit/create  /etc/sysconfig/network-scripts/ifcfg-eth0, enter:


# cat /etc/sysconfig/network-scripts/ifcfg-eth0

Sample static ip configuration:

DEVICE=eth0
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:30:48:56:A6:2E
IPADDR=192.168.1.10
NETMASK=255.255.255.0
ONBOOT=yes

Reboot, and type ifconfig – you should see the network being assigned the static ip.

Linux

[RHEL] update dev packages

yum update

yum install libtool gcc-c++ glib*

# This installs autoconf, automake, cloog-ppl, cpp, gcc, mpfr, ppl

yum groupinstall "development tools"
Linux

Kubuntu 16.04 GUI Audio Controls not working

I just upgraded to Kubuntu 16.04 beta and ran into a frustrating situation. My audio controls weren’t working; I tried my volume buttons, mute button and the little icon at the bottom (which happened to be highlighted in red). 236 more words

Ubuntu