Apt-fast is a command line tool created by Matt Parnell that run on Debian-based systems and it allows to speed up file or program download by using multiple sources.The developer claimed that program installations or making system updates/upgrades with his tool is 26x faster than the standard tool (apt-get).To install Apt-fast on Ubuntu 11.04/10.10/10.04, run these commands via the Terminal:sudo add-apt-repository ppa:tldm217/tahutek.netsudo apt-get updatesudo apt-get install apt-fastYou can now install programs or doing updates/upgrades using the Apt-fast command. Just use it as follows to install a package:sudo apt-fast package-nameTo do an upgrade or update, use one of these commands:sudo apt-fast updatesudo apt-fast upgrade
If you start a program with the Terminal under Ubuntu, it will close once you exit the Terminal. If you want to keep an application started with the Terminal running, then follow these instructions:1. Start any application with the Terminal. Let's take an example the Synaptic Package Manager, run it via the Terminal (Ctrl+Alt+T) with this command:sudo synaptic2. If you close the Terminal, Synaptic will also exit. To fix this, in the Terminal window, press Ctrl+Z, then run these commands:disown -h %1bg 13. You can now close the terminal securely, the application will stay running. That's it!
In this tip, we are going to apply a simple modification that can help you speed up your Internet connection and optimize page load time. The modification will be made to the nsswitch.conf file and it is valid for Ubuntu, Debian Squeeze & Wheezy.Open the Terminal and run one of these commands to edit the nsswitch.conf file:sudo gedit /etc/nsswitch.conforsudo nano /etc/nsswitch.conf
Locate this line:hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4And add just below it this line:hosts: files dnsSave now the file and close it.
You will now see an improvement in your Internet connection speed, but don't expect a major improvement. Good Luck!
Despite the many advantages of USB storage devices, there is a major downside called "security". Some users can use this tiny and portable device to copy sensitive data or fill your computer with viruses and spywares. To prevent unauthorized data transfers via USB storage devices on Ubuntu or Debian, you can follow the instructions given below to disable USB ports of your computer.Instructions1. Under Ubuntu or Debian-based system, open the Terminal and edit this file:sudo gedit /etc/modprobe.d/blacklist.conforsudo nano /etc/modprobe.d/blacklist.conf
2. Add now the following two lines:# Block access to USBblacklist usb_storage
3. Save the file and close it, then restart your system. Your USB ports are now disabled.4. To enable USB ports, repeat the same steps and in step2, comment the "blacklist usb_storage" line as follows:# blacklist usb_storageThat's it!
The developer of LightDm, Robert Ancell, created a 3D animated version of the login screen (LightDM) of Ubuntu 11.10 (Oneiric Ocelot) called Crowd Greeter. We will help you install and enable this 3D animation by following these simple steps:1. Open the terminal and install Crowd Greeter with these commands:sudo add-apt-repository ppa:lightdm-team/crowd-greetersudo apt-get updatesudo apt-get install crowd-greeter2. Once the installation is finished, edit now the "lightdm.conf" file with this command:sudo gedit /etc/lightdm/lightdm.conf3. Replace: greeter-session=unity-greeter with greeter-session=crowd-greeterSave and close the file, then reboot your system to test the logon screen:
5. To login, click on the moving creature having your username to stop it, submit your password and press Enter:
Enjoy!
When using a USB flash drive for example, with programs like GParted or the Disk Utility under Debian, it may happen that the action performed on your USB stick requires from you to unplug and reinsert again the device.To overcome this annoying situation, you can simply open the Terminal and run this command to remount your USB drive without touching the device:eject /dev/sdb; sleep 1; eject -t /dev/sdbNote: Tested under Ubuntu 11.10 and Debian Squeeze, but the command also applicable on other Linux-based distros.That's it!
In this tip, we will see how to easily and quickly encrypt and decrypt files using very simple commands on Ubuntu or Debian. Let's first install ccrypt on Ubuntu using this command:sudo apt-get install ccryptFor Debian, run these commands:su -apt-get install ccryptTo encrypt a file, cd to its folder and run this command:ccrypt file_nameReplace "file_name" with the name of your file. You will be asked to submit a password two times. The encrypted file will have the .cpt extension.To decrypt the file, use now this command and provide the password you assigned to it:ccrypt -d file_nameThat's it!