Showing posts with label default. Show all posts
Showing posts with label default. Show all posts

Thursday, September 14, 2017

Ubuntu Desktop To Eventually Switch To Snappy Packages By Default

Ubuntu Desktop To Eventually Switch To Snappy Packages By Default


Ubuntu logo

Ubuntu Desktop will eventually switch to Snappy packages by default, while continuing to provide deb-based images as an alternative, at least for a while. Im sure this doesnt come as a surprise for some of you, but further details regarding this have been revealed today.

Will Cooke, Ubuntu Desktop Manager at Canonical, posted a notice for Ubuntu Desktop Next (a Unity 8 desktop build used for testing) users which mentions that for 15.10, the plan is to have "a build based on Snappy Personal and so the current .deb based Desktop Next image will be going away and will be replaced with the new Snappy version".

Since Wills notice was pretty vague, it raised quite a few questions, especially regarding the future of Ubuntu Desktop and Michael Hall from Canonical tried to answer some of them on Reddit (/r/Ubuntu). Heres a quick summary (copy/pasted from Reddit):

Q: Will all of Ubuntu be based on snappy packages in the mid-/long term instead of deb/click?
A: All Ubuntu will use snap packages eventually, yes. But the system images and even some of the snappy apps will be built from debs.

Q: What happens after Ubuntu 16.04 (assuming Mir and Unity 8 land as default)? Are there going to be two branches, one with click packages, one with deb?
A: That is the plan, yes, but the details still need to be worked out at UOS.

Q: Is Ubuntu moving away from dpkg and apt altogether? What does that mean for its relationship with Debian?
A: Our system images are still built from debs in the archive, our relationship with Debian isnt going away anytime soon.

Q: How does Snappy (or click--whatever) improve updates on the Desktop? Does it bring improved security & privacy in any ways so there is less chance of installing harmful software or more secure delivery methods?
A: Snap packages are more secure, yes, and they can be updated by their upstream at any time, they dont get frozen to the Ubuntu release. So you get newer apps, safer apps, and the upstream gets more control over its distribution.

Q: Snappy Personal = *.click?
A: Snappy is an evolution of click, which will eventually replace clicks on the phone. Snappy Personal is to phone and desktop what Snappy Core is to cloud and IoT, its the base install image that provides the minimum functionality needed for you to get started.

Q: Could you briefly explain the advantages of snappy packages over click packages?
A: Snappy packages can provide platforms or services that other snap packages can depend on, something clicks could not. Otherwise they are the same. The snappy tool can also update your system image, where that was a separate tool from click.

Q: What about the impact of that in other ubuntu editions (kubuntu, xubuntu)? Everyone is supposed to move to snappy and abandon apt/dpkg?
A: The flavors wont be affected unless they choose to add snappy support themselves to get its benefits.

Q: In this future scenario, will we see ppas moving from apt/deb to snappy too? If yes, will we have both versions running?
A: With click/snappy you really dont need a PPA anymore.

Check out the full Reddit conversation HERE. You can find more information about Snappy packages in our Snappy Ubuntu Core post (Snappy Ubuntu Core is a cloud-optimized Ubuntu flavor, but the article also explains what Snappy packages are).

The Ubuntu Online Summit, which will take place between 5th and 7th of May, should reveal more information about this.

download file now

Read more »

Thursday, August 24, 2017

Tweaking dhcp client configuration to change the default DNS servers to Open DNS

Tweaking dhcp client configuration to change the default DNS servers to Open DNS


The DNS servers of my ISP is always behaving erratically. The DNS look up times are abysmally large and some times I get an address not found error while browsing. On ubuntu/debian systems the DNS servers are specified in /etc/resolv.conf. I tried to edit /etc/resolv.conf and put open dns servers as default DNS servers. But, my ISP supplies their DNS server address along with IP address for the system via DHCP. Every time my system renews its DHCP lease. my /etc/resolv.conf is also rewritten with their DNS address.

My /etc/resolv.conf ( supplied by ISP) looks like this.

$ cat /etc/resolv.conf
domain asianetindia.com
search asianetindia.com
nameserver 202.88.238.3
nameserver 202.88.238.5
nameserver 202.88.231.2

There is a trick I used to make Open DNS servers as my default DNS server.

Edit /etc/dhcp3/dhclient.conf and look for the line.
#prepend domain-name-servers 127.0.0.1;
Add the following line immediately below the above line.

prepend domain-name-servers 208.67.222.222;
prepend domain-name-servers 208.67.220.220;


You can also put any other DNS servers.

Now renew the lease with

$ sudo dhclient eth0

The new /etc/resolve.conf looks like this.
$ cat /etc/resolv.conf
domain asianetindia.com
search asianetindia.com
nameserver 208.67.220.220
nameserver 208.67.222.222
nameserver 202.88.238.3
nameserver 202.88.238.5
nameserver 202.88.231.2

DNS look up is made from open dns.

download file now

Read more »

Sunday, August 20, 2017

Ubuntu Linux root password default password zz

Ubuntu Linux root password default password zz


Q. I have just installed Ubuntu Linux. But, what is the default root password? I can only login as a normal user.

A. This is the mystery for most users - you didnt set a root password, so what is it?
The root user can do anything as this a/c has full access to system. So using root account for daily work can be dangerous.

To be frank root a/c is locked by default under Ubuntu Linux. Therefore, you cannot login as root or use su - command to become superuser.

To run all administrative command use sudo command. sudo allows a permitted user to execute a command as the superuser or another user. Ubuntu setup your default account (the one created during installation) to run all administrative commands.

For example create a new user called bar, you need to type sudo command as follows:
$ sudo adduser barPassword:
When sudo asks for a password, it needs YOUR OWN Password; this means that a root password is not needed.

Here are few more examples.
Task: Start / stop / restart services stored in /etc/init.d/ directory
$ sudo /etc/init.d/ssh stop$ sudo /etc/init.d/networking restart
Task: Avoid typing sudo each and every time

Note that this is not recommended until and unless you are an expert and aware of what you are typing:
$ sudo -i

Above command will start /bin/bash as a root shell so that you can enter a root user command w/o using sudo.

http://www.cyberciti.biz/faq/ubuntu-linux-root-password-default-password/

download file now

Read more »

Monday, August 14, 2017

Ubuntu Change Default Editor

Ubuntu Change Default Editor


Your terminal should have a default editor. This is what is used whenever you run commands like

crontab -e
. It may not be set to what you like, or your preferences may have changed. To change it, simply run the following command:
sudo update-alternatives --config editor
# You may also need to run this one for crontab
select-editor

Now enter the number representing the editor you would like to default to

Now that is set, you can use the editor command in substitute for

nano
or
vim
. This is great for people who write tutorials because now we dont have to assume what you like to use. For example, I will try to make sure my tutorial steps are like below:

editor my-config-file.txt

Instead of:

vim my-config-file.txt

References


download file now

Read more »

Thursday, August 3, 2017

Ubuntu Setting Deluge as the default bittorrent client

Ubuntu Setting Deluge as the default bittorrent client


I got a tip that Deluge will work way more reliably than the default client of Ubuntu, Transmission. Installing is easy enough, just type:

 sudo apt-get install deluge 

In the settings I also set it to handle magnet files, but it didnt work out-of-the-box. I had to issue the following command too, to make it work as intended:

 gvfs-mime --set x-scheme-handler/magnet deluge.desktop 

download file now

Read more »