32 Matching Annotations
  1. Apr 2019
  2. Mar 2019
  3. Feb 2019
  4. Jan 2019
  5. Dec 2018
  6. Nov 2018
  7. Oct 2018
    1. mkfs.ext4 -O ^64bit,^metadata_csum -F -b 4096 -E stride=2,stripe-width=1024 -L rootfs ${IMAGE}2
    2. mkfs.ext4 -O ^64bit,^metadata_csum -F -b 4096 -E stride=2,stripe-width=1024 -L rootfs ${IMAGE}2
  8. Jul 2018
  9. Jun 2018
  10. Apr 2018
  11. Feb 2018
    1. Hay nociones relacionadas en el sur, como la noción de ubuntu de África meridional y swaraj from India que no puedo discutir aquí. Para una comparación entre buen vivir, degrowth, y swaraj ver Kothari, Demaria y Acosta
    2. Muchos grupos no predican su ser social en la idea de un individuo autónomo y separado; en estos casos se podría hablar, más propiamente, de regímenes de persona relacionales, en el que las personas existen en relación con los demás tanto como con, digamos, los ancestros, los seres espirituales, los seres naturales, etcétera
  12. Nov 2017
    1. Ubuntu phones and laptops never became popular with hardware makers, carriers, or consumers, and software development seemed to be slowing down. While Unity 8 was shipping on phones and tablets, it has never been stable enough to become the default on the desktop, which uses Unity 7. Canonical's work on creating a new desktop display server, Mir, has also been slow.

      primary factors.

  13. Sep 2017
    1. echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 sudo apt-get update sudo apt-get install sbt
  14. May 2017
  15. Apr 2017
  16. Jan 2017
  17. Sep 2016
    1. CIFS installation

      sudo apt-get install cifs-utils On older systems:

      sudo apt-get install smbfs Mounting unprotected (guest) network folders First, let's create the mount directory. You will need a separate directory for each mount.

      sudo mkdir /media/windowsshare Then edit your /etc/fstab file (with root privileges) to add this line:

      //servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0 Where

      guest indicates you don't need a password to access the share, uid=1000 makes the Linux user specified by the id the owner of the mounted share, allowing them to rename files, iocharset=utf8 allows access to files with names in non-English languages. This doesn't work with shares of devices like the Buffalo Tera Station, or Windows machines that export their shares using ISO8895-15. If there is any space in the server path, you need to replace it by \040, for example //servername/My\040Documents After you add the entry to /etc/fstab type:

      sudo mount -a This will (re)mount all entries listed in /etc/fstab.

      Mount password protected network folders The quickest way to auto-mounting a password-protected share is to edit /etc/fstab (with root privileges), to add this line:

      //servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0 This is not a good idea however: /etc/fstab is readable by everyone and so is your Windows password in it. The way around this is to use a credentials file. This is a file that contains just the username and password.

      Using a text editor, create a file for your remote servers logon credential:

      gedit ~/.smbcredentials Enter your Windows username and password in the file:

      username=msusername password=mspassword Save the file, exit the editor.

      Change the permissions of the file to prevent unwanted access to your credentials:

      chmod 600 ~/.smbcredentials Then edit your /etc/fstab file (with root privileges) to add this line (replacing the insecure line in the example above, if you added it):

      //servername/sharename /media/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 Save the file, exit the editor.

      Finally, test the fstab entry by issuing:

      sudo mount -a If there are no errors, you should test how it works after a reboot. Your remote share should mount automatically.

      Special permissions If you need special permission (like chmod etc.), you'll need to add a uid (short for 'user id') or gid (for 'group id') parameter to the share's mount options.

      //servername/sharename /media/windowsshare cifs uid=ubuntuuser,credentials=/home/ubuntuuser/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 Mount password protected shares using libpam_mount (Ubuntu 9.04) In addition to the initial assumptions, we're assuming that

      Your username and password are the same on the Ubuntu machine and on the network drive. Install libpam-mount:

      sudo apt-get install libpam-mount Edit /etc/security/pam_mount.conf.xml using your preferred text editor.

      gksudo gedit /etc/security/pam_mount.conf.xml First, we're moving the user specific config bits to a file which users can actually edit themselves: remove the commenting tags () surrounding the section called <luserconf name=".pam_mount.conf.xml"/>. Save the file when done. With this in place, users can create their own ~/.pam_mount.conf.xml.

      gedit ~/.pam_mount.conf.xml Add the following:

      <?xml version="1.0" encoding="utf-8" ?>

      <pam_mount> <volume options="uid=%(USER),gid=100,dmask=0700" user="*" mountpoint="/media/windowsshare" path="sharename" server="servername" fstype="cifs"/>

      </pam_mount> Troubleshooting Login errors If you get the error "mount error(13) permission denied", then the server denied your access. Here are the first things to check:

      Are you using a valid username and password? Does that account really have access to this folder? Do you have whitespace in your credentials file? It should be password=mspassword, not password = mspassword. Do you need a domain? For example, if you are told that your username is SALES\sally, then actually your username is sally and your domain is SALES. The fstab entry should read: ...username=sally,password=pass,domain=SALES,... Or: ...credentials=/path/to/file,domain=SALES,... Is the security setting correct? The most common is sec=ntlm, but you can also try the other options listed at the mount.cifs man page. The man page list leaves out the option sec=lanman for some reason, but you should try that one as well (see discussion). Unprotected network folder won't automount I've had a situation where an unprotected network folder wouldn't automount during bootup, but after manually entering "sudo mount -a" was mounted correctly. I solved this by replacing the "guest" option by "username=guest,password=". If anyone has an explanation for this, please leave a comment.

      //servername/sharename /media/windowsshare smbfs username=guest,password=,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0 Mount during login instead of boot If for some reason/etc/rc0.d/S31umountnfs.sh (networking problems for example) the automatic mounting during boot doesn't work, you can add the "noauto" parameter to your smbfs fstab entry and then have the share mounted at login.

      In /etc/fstab:

      //servername/sharename /media/windowsshare cifs noauto,credentials=/home/ubuntuusername/.smbpasswd 0 0 In /etc/rc.local:

      mount /media/windowsshare exit 0 Slow shutdown due to a CIFS/Network Manager bug If you use Network Manager, and are getting really slow shutdowns, it's probably because NM shuts down before unmounting the network shares. That will cause CIFS to hang and wait for 60 seconds or so. Here's how to fix it:/etc/rc0.d/S31umountnfs.sh

      sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K14umountnfs.sh sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K14umountnfs.sh Ubuntu 12.04 already runs umountnfs.sh at reboot and shutdown by default (/etc/rc0.d/S31umountnfs.sh and /etc/rc6.d/S31umountnfs.sh) so this is no longer necessary.

      CIFS Options Deprecated 20 Feb 2008 TW

      Using dmask or fmask in the fstab file produces the following warnings: WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead. WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.

      Instead use this format: file_mode=0777,dir_mode=0777 . Or in some cases you might need to use file_mode=0777,dir_mode=0777,nounix (see discussion)

      Use of tilde in pathnames such as "credentials=~/.smbcredentials" 20 Feb 2008 TW

      Curiously, using credentials=~/.smbcredentials in fstab didn't work. I had to use the full path, i.e. /home/username/.smbcredentials

      (This is likely because the tilde "~" is only a shell short-hand alias for "$HOME"; it isn't something recognized system-wide by all programs, especially not in a system file table where the concept of "HOME" doesn't really exist. -Ian!)

  18. May 2016
    1. sudo dpkg-reconfigure keyboard-configuration

      This worked well for me with a Dell Vostro 3550 and Ubuntu Server 14.04.4 virtualised inside VirtualBox (Version 5.0.16 r105871). When you run this command, the shell will present the configurator and the choices this user recommends are valid mostly. By contrast, I chose the Dell SK-8125 as a reasonably close match to the Vostro 3550. I also set the left Alt key to function as the AltGr key and this solved the problem. Now, if I want to type the pipe ( | ) character, I use the key combination

      ALT+~
      

      This is not the most intuitive solution; but it works!

  19. Apr 2015
    1. For developing h, you will need the following tools and libraries installed:

      See HACKING.Debian.rst for Ubuntu.

  20. Nov 2014
    1. AppArmor

      Still lacking good profiles for the common software packages... :-/

    2. several filesystems show performance improvements including XFS and Btrfs

      Now using btrfs on my notebook. Works fine!

      One of the reasons for using it (from btrfs.wiki.kernel.org):

      "SSD (Flash storage) awareness (TRIM/Discard for reporting free blocks for reuse) and optimizations (e.g. avoiding unnecessary seek optimizations, sending writes in clusters, even if they are from unrelated files. This results in larger write operations and faster write throughput)"

      Since btrfs once ate my data (pre 1.0) I did several crash simulations to boost my confidence beforehand.

    1. Freya inherits core components from Ubuntu 14.04.1 LTS such as the Linux kernel (version 3.13),

      I love elementary but I need the newer kernel of 14.10 (btrfs!). It's sad that we can't have both :-(