Remove all LVs VGs and LVM Partitions
sudo vgdisplay sudo vgremove
References :
http://askubuntu.com/questions/228136/how-to-remove-all-lvs-vgs-and-partitions-on-all-drives-before-installing-12-04
sudo vgdisplay sudo vgremove
References :
http://askubuntu.com/questions/228136/how-to-remove-all-lvs-vgs-and-partitions-on-all-drives-before-installing-12-04
sudo apt-get install xrdp
Default username and password :
username:pi password:raspberry
then restart xrdp.
References :
https://www.maketecheasier.com/enabling-remote-desktop-access-on-raspberry-pi/
http://j.tlns.be/2015/02/04/getting-started-with-the-raspberry-pi-2-for-net-developers/
Download from WEB:
$ aria2c http://example.org/mylinux.iso
Download from 2 sources:
$ aria2c http://a/f.iso ftp://b/f.iso
Download using 2 connections per host:
$ aria2c -x2 http://a/f.iso
BitTorrent:
$ aria2c http://example.org/mylinux.torrent
BitTorrent Magnet URI:
$ aria2c http://example.org/mylinux.torrent
Metalink:
$ aria2c http://example.org/mylinux.metalink
Download URIs found in text file:
$ aria2c -i uris.txt
References :
https://aria2.github.io/
nano /etc/ssh/sshd_config
where it says:
# What ports, IPs and protocols we listen for Port 22 <---change port to what you need it to be
then save and restart ssh server
References :
http://ubuntuforums.org/showthread.php?t=1591681
Force pacman to refresh the package lists :
pacman -Syyu
References :
https://wiki.archlinux.org/index.php/Pacman
sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
or
grub-install --recheck /dev/sda
update-grub
exit && sudo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt
References :
http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update
References :
http://www.mono-project.com/docs/getting-started/install/linux/
sudo apt-get install php5-xdebug
find / -name 'xdebug.so'
Now update the options in PHP.INI – /etc/php5/apache2/php.ini
# Added for xdebug zend_extension="/usr/lib/php5/20121212/xdebug.so" xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.max_nesting_level=300
Restart Apache2, and you are ready to go!
sudo service apache2 restart
References :
http://ubuntuforums.org/showthread.php?t=525257
http://wylbur.us/2014-06-17-add-xdebug-to-ubuntu-1404
http://purencool.com/installing-xdebug-on-ubuntu
https://www.jetbrains.com/phpstorm/help/configuring-xdebug.html
copy fonts to one of these folders :
$Home/.fonts/
$HOME/.local/share/fonts/
/usr/share/fonts
/usr/local/share/fonts/truetype
then run this command or restart your system :
sudo fc-cache -fv
References :
http://www.wikihow.com/Install-TrueType-Fonts-on-Ubuntu
http://askubuntu.com/questions/533462/how-do-i-uninstall-a-font-installed-using-gnome-font-viewer
https://askubuntu.com/questions/191778/how-to-install-many-font-files-quickly-and-easily
To create symlink /opt/foo –> /usr/bin/bar, (i.e., create symlink at /opt/foo which references to file /usr/bin/bar) do:
ln -s /usr/bin/bar /opt/foo
References :
http://askubuntu.com/questions/56339/how-to-create-a-soft-or-symbolic-link
https://en.wikipedia.org/wiki/Symbolic_link
http://manpages.ubuntu.com/manpages/wily/en/man1/ln.1posix.html