Home
Search results “Fstab options noatime”
How Increasing Linux Servers Performance by 30% - Networknuts
 
29:56
Red Hat Training video showing the importance of relatime and barrier mount options in /etc/fstab. Understand how atime, mtime and ctime filesystem metadata writes slows down the Linux server. Understanding the concept of barrier mount option and when to disable it and how it increases Linux servers performance, safely. Connect to Alok Srivastava - http://www.facebook.com/alokaryan Visit our Linux Blog - http://www.networknuts.net/linux-blog
Views: 19291 networknutsdotnet
How to Optimize Your SSD for use in Linux
 
40:31
In this video I show you the steps I take to optimize my SSD's when used in a Linux Operating System. Hope you enjoy! If I've helped you in any way and you'd like to buy me a coffee, please click this link to do so: https://www.paypal.me/dontcallmelenny Many Thanks in advance! SHOWNOTES: 1.Set AHCI for Sata in BIOS. 2 sudo hdparm -I /dev/sda | grep TRIM (to see if your SSD supports trim) 3. Add "noatime" to fstab: (on / partition) example: UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext4 noatime,errors=remount-ro 0 1 4.#!/bin/sh # call fstrim-all to trim all mounted file systems which support it set -e # # This only runs on Intel and Samsung SSDs by default, as some SSDs with # faulty firmware may encounter data loss when running fstrim under high I/O # load (e. g. https://launchpad.net/bugs/1259829). You can append the # --no-model-check option here to disable the vendor check and run fstrim on # all SSD drives Like this (remove the hash): #exec fstrim-all --no-model-check exec fstrim-all --no-model-check 5.sudo chmod +x /etc/cron.daily/trim reboot 6. Copy and paste to disable weekly cron trim: sudo mv -v /etc/cron.weekly/fstrim /fstrim 7. Manually trim sudo fstrim -v / 8. Swappiness cat /proc/sys/vm/swappiness (should be no more than 10) open file : gksudo leafpad /etc/sysctl.conf add to end of file: # Sharply reduce swap inclination vm.swappiness=1 reboot 9. Firefox - set cache to 0. Preferences-Advanced-Network tab Cached web content - tick "Overide auto cache mgt" and set to 0. 10. Chrome/Chromium Open chrome/chromium then f12 click on gear wheel settings check " disable cache while dev tools is open"
Views: 24337 Don't Call Me Lenny!
How to Enable Trim in Linux for SSD Solid State Drives
 
04:16
Tutorial on how to enable Trim for SSD (Solid State Drives) in Linux, I show you two methods of enabling Trim in Ubuntu 12.04: 1. Edit /etc/fstab Add "discard,noatime" to the mount options 2. Manually run "fstrim / -v" Both these methods apply to most (if not all) Linux distros, including: Ubuntu, Debian, Fedora, Arch, and Gentoo. Trim works on Ext4, BTRFS, XFS, and FAT drives. Using trim can extend the life of the SSD's, but can cause a loss in performance. There is no need to use Trim on Rotational Hard Drives (HDD's)
Views: 22077 quidsup
Configuring Your SSD for Linux
 
19:05
In this video I discuss options for configuring your SSD for use in Linux. Hope you enjoy! Show Notes: sudo hdparm -I /dev/sdX | grep "TRIM supported" (checks if trim is supported on your SSD) Change X to your drive letter ***************************************************************************** sudo fstrim -v / (manual trim on command) ***************************************************************************** add fstrim to rc.local file to trim at boot: sudo leafpad /etc/rc.local add "fstrim /" and save ***************************************************************************** enable trim automatically: sudo leafpad /etc/fstab add discard,noatime to ext4 partitions (mounts drive as ssd with continuous trim) ************************************************************************************ Swappiness: cat /proc/sys/vm/swappiness (to check current setting) sudo sysctl vm.swappiness=10 (to manually set swappiness - will revert on next boot) To set swappiness permanently: sudo leafpad /etc/sysctl.d/99-sysctl.conf add at end of file: vw.swappiness=10 save file reboot after each step
Views: 26339 Don't Call Me Lenny!
Install GNU/Linux Debian on Alix mini-itx boards
 
03:53
How to: 1) Create one full partition on Compact Flash Card # Attack CF card on CF card reader in my case CF is device /dev/sdb. Show with command: dmesg | grep sd # fdisk /dev/sdb list partitions: # Command (m for help): p delete all partitions and create only one Linux partition: # Command (m for help): d 1 # Command (m for help): c 2 mark as bootable # Command (m for help): a 2 # Command (m for help): w # Command (m for help): q Format CF: # mkfs.ext3 -v /dev/sdb1 2) Run debootstrap to install base system on CF card If you dont using GNU/Debian or Ubuntu systems, you can install debootstramp directly downloading here: http://ftp.debian.org/debian/pool/main/d/debootstrap/ or Install debootstrap using apt-get or aptitude: # aptitude install debootstrap 3) Mount CF card # mkdir /mnt/debinst Mount CF on /mnt/debinst. Change your device! # mount /dev/sdb1 /mnt/debinst # mkdir /mnt/debinst/{proc,dev,sys} # mount -o bind /dev /mnt/debinst/dev # mount -t proc /proc /mnt/debinst/proc # mount -t sysfs /sys /mnt/debinst/sys Run debootstrap: # debootstrap --arch i386 squeeze /mnt/debinst http://ftp.br.debian.org/debian 4) Configuring base system Chroot into new GNU/Debian system: # LANG=C chroot /mnt/debinst /bin/bash # export TERM=xterm-color Configure partitioning table to add two lines /etc/fstab # sed -i "1s/$/\n proc \/proc proc nodev,noexec,nosuid 0 0/" /etc/fstab Get UUID variable with command: # UUID=$(dumpe2fs /dev/sdb1 | grep 'UUID' | cut -d':' -f2 | sed 's/[[:space:]]//g') Show $UUID value: # echo "$UUID" # sed -i "1s/$/\n UUID=$UUID \/ ext3 defaults,noatime 0 1/" /etc/fstab /etc/fstab looks like this: UUID=8378c672-3c2f-42ef-9ad1-f7309d4f54a2 / ext3 defaults,noatime 0 1 proc /proc proc nodev,noexec,nosuid 0 0 Note: UUID value is different. Setting Timezone: # dpkg-reconfigure tzdata Configure Neworking: Edit /etc/network/interfaces # vi /etc/network/interfaces Some simple example. I'm using DHCP client to obtain IP address: ############## /etc/network/interfaces ########################## # We always want the loopback interface. # auto lo iface lo inet loopback # To use dhcp: # auto eth0 iface eth0 inet dhcp # An example static IP setup: (broadcast and gateway are optional) # # auto eth0 # iface eth0 inet static # address 192.168.0.42 # network 192.168.0.0 # netmask 255.255.255.0 # broadcast 192.168.0.255 # gateway 192.168.0.1 ############## /etc/network/interfaces ########################## Configure hostname: # vi /etc/hostname Insert you hostname: embedded-deb Configure Apt: Add the following lines for source packages and security updates (/etc/apt/sources.list) deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main # sed -i '1s/$/\ndeb http:\/\/security\.debian\.org\/ squeeze\/updates main/' /etc/apt/sources.list # sed -i '1s/$/\ndeb-src http:\/\/security\.debian\.org\/ squeeze\/updates main/' /etc/apt/sources.list # aptitude update Configure Locales and Keyboard: # aptitude install locales # dpkg-reconfigure locales # aptitude install console-data # dpkg-reconfigure console-data Install Kernel # aptitude install linux-image-2.6-486 Set up the Boot Loader # aptitude install grub Now you must configure grub Edit /etc/default/grub file and add/adjust like this: GRUB_CMDLINE_LINUX_DEFAULT="verbose console=ttyS0,38400n8 reboot=bios" GRUB_SERIAL_COMMAND="serial --unit=0 --speed=38400" GRUB_TERMINAL=serial Execute grub command to adjust configuration: Install grub on MBR # grub-install /dev/sdb Create a sane and working /boot/grub/menu.lst # update-grub Assume your CF card corresponds to device /dev/sdb, change grub configuration to replace (string hd1 to hd0): # sed -i 's/hd1/hd0/g' /boot/grub/grub.cfg Configure /etc/inittab to run a console on the serial line Comment-out or remove the following lines: #1:2345:respawn:/sbin/getty 38400 tty1 #2:23:respawn:/sbin/getty 38400 tty2 #3:23:respawn:/sbin/getty 38400 tty3 #4:23:respawn:/sbin/getty 38400 tty4 #5:23:respawn:/sbin/getty 38400 tty5 #6:23:respawn:/sbin/getty 38400 tty6 Add following line after '#6...' line: T0:23:respawn:/sbin/getty -L ttyS0 38400 5) Finishing Set root password # passwd root Install some packages: syslog and sudo # aptitude install rsyslog sudo Choose a profile to install (or execute tasksel without any argument to select) # tasksel install standard # tasksel install ssh-server You can free up some diskspace (files downloaded) # aptitude clean 6) Put CF on Alix mini-itx onboard and boot new GNU/Debian Squeeze!
Views: 14685 julianobento
How To Speed Up Firefox By Moving Cache Into Ram On Ubuntu
 
03:29
By default Firefox puts its cache in your home partition. You can speed up Firefox and reduce disk writes by moving this cache into RAM if you have 1GB RAM or more. To do this you need to edit your fstab and sysctl.conf files. You also need to create a new string in your Firefox settings. To open your fstab file open a terminal window (press Ctrl+Alt+T) and copy+paste the following line: sudo gedit /etc/fstab When the fstab file is open copy+paste the following lines into the fstab file: tmpfs /tmp tmpfs noexec,defaults,noatime 0 0 tmpfs /var/tmp tmpfs noexec,defaults,noatime 0 0 When done you can save and close the fstab file. To edit your sysctl.conf file copy+paste the following line in your terminal window: sudo gedit /etc/sysctl.conf Now copy+paste the following line: vm.swappiness=10 When the line is added you can save and close the sysctl.conf file. Start Firefox and type about:config in the Firefox address bar and click on the button that says: I’ll be careful,I promise!. Right click on blank area and create (just copy+paste the line below) a new string value called: browser.cache.disk.parent_directory Click on the OK button and copy+paste the following line into the empty string value field: /tmp Click on the OK button to add the new string value. When done close Firefox, reboot your system and experience the performance.
Views: 1231 Martijn van Poorten
AWS বাংলা টিউটোরিয়াল অংশ -5.1|| ইলাস্টিক ক্লাউড কম্পিউটিং| EC2 With EBS Storage
 
21:19
Command Line Reference : df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 488M 60K 488M 1% /dev tmpfs 497M 0 497M 0% /dev/shm /dev/xvda1 7.8G 982M 6.7G 13% / ! sudo mkfs -t ext3 /dev/sdf !sudo mkdir /mnt/data-store ! sudo mount /dev/sdf /mnt/data-store ! echo "/dev/sdf /mnt/data-store ext3 defaults,noatime 1 2" | sudo tee -a /etc/fstab ! cat /etc/fstab ! df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 488M 60K 488M 1% /dev tmpfs 497M 0 497M 0% /dev/shm /dev/xvda1 7.8G 982M 6.7G 13% / /dev/xvdf 976M 1.3M 924M 1% /mnt/data-store ! sudo sh -c "echo some text has been written (user angle bracket) /mnt/data-store/file.txt" ! cat /mnt/data-store/file.txt Delete Command Line 1.sudo rm /mnt/data-store/file.txt 2. ls /mnt/data-store/ End
Views: 69 Harun Roshid
How to Mount an USB drive and config on a  RetrOrange Pie
 
03:28
How to Mount an USB drive and config on a RetrOrange Pie Mounted by UUID for NTFS drive. 1. sudo blkid 2.Search /dev/sdaX UUID = "xxxxxxxxxxxxxxxxxxxxx" 3. Sudo nano /etc/fstab 4. Add UUID=xxxxxxxxxxxxxxxxxxxxx /media/ORANGEPI ntfs-3g defaults, noatime, nodiratime, commit = 600 0 2 For a FAT Drive change ntfs-g3 for vfat like this: UUID=xxxxxxxxxxxxxxxxxxxxx /media/ORANGEPI vfat defaults, noatime, nodiratime, commit = 600 0 2
Mount linux partitions
 
05:05
Putem comunica aici foarte usor : https://www.facebook.com/groups/510152262459391/ Montare de partitii 1: sudo blkid 2: sudo gedit /etc/fstab UUID=a98291d6-df10-4e49-a118-d7a13e57b032 / ext4 errors=remount-ro,defaults,noatime,nodiratime 0 1 UUID=7ae17b5e-2874-4b31-b182-f55e7365c3ce none swap sw 0 0 UUID=6ff6c804-c2ef-405c-b81e-a4e609febd8b /home/data ext4 defaults,comment=x-gvfs-show,noatime,nodiratime 0 0 Id-u - locatia - tipul partitiei - optiuniile - cand sa porneasca
Views: 661 Seth-666
Make Firefox Fast & Snappy by Running Your Profile from RAM
 
09:50
In this quick and dirty video, I demonstrate how to automatically move your Firefox profile into RAM and keep it synchronized with your copy on the HDD. This will dramatically improve the responsiveness of your web browser, giving that Google Chrome Snappiness to our tried and true friend from Mozilla. :) Apologize for the abrupt way this video begins and ends. I have filmed a more solid intro and ending, but it pushed me past the 10 minute youtube limit. If the video progresses too quickly for you, here are the relevant lines: ----Added to /etc/fstab---- tmpfs /home/YOURUSERNAME/.mozilla tmpfs defaults,noatime,mode=0777 0 0 ----Added to /etc/rc.local---- rsync -avv --delete /home/YOURUSERNAME/mozbak/ /home/YOURUSERNAME/.mozilla/ ----/home/YOURUSERNAME/fflaunch.sh---- #!/bin/bash firefox rsync -avv --delete /home/YOURUSERNAME/.mozilla/ /home/YOURUSERNAME/mozbak/ If you found this helpful, please leave a comment or rating so I can gauge interest in this type of content.
Views: 2980 Ray Taylor III
Fstab
 
10:12
The fstab (or file systems table) file is a system configuration file commonly found at /etc/fstab on Unix and Unix-like computer systems. In Linux it is part of the util-linux package. The fstab file typically lists all available disk partitions and other types of file systems and data sources that are not necessarily disk-based, and indicates how they are to be initialized or otherwise integrated into the larger file system structure. The fstab file is read by the mount command, which happens automatically at boot time to determine the overall file system structure, and thereafter when a user executes the mount command to modify that structure. It is the duty of the system administrator to properly create and maintain the fstab file. This video is targeted to blind users. Attribution: Article text available under CC-BY-SA Creative Commons image source in video
Views: 515 Audiopedia
RaspberryPi: File Server / NAS Network Attached Storage how to step by step
 
10:35
Grab a USB Hard Drive and your Pi and follow this easy "how to" and you'll be up in no time. Or buy this stuff: Powered Hard Drives (make sure they come with power adapters): http://amzn.to/1v8u2xw Powered USB Hub: http://amzn.to/1zCvBZC Get a 5V2A power supply: http://amzn.to/13LeA49 And, the Raspberry Pi 2: http://amzn.to/1zJlP9L Follow along with these steps: 1) Raspbian. It is fully updated. Remember to fully update or this won't work. 2) Log in via SSH. There are other ways of doing this. Don't believe that this is the only way - as some websites will vary the instructions slightly - this is the way I do it. This Step-by-Step uses a system with UUIDs. UUIDs are unique identifiers for your hard drive and they mean that they'll load consistently to the same directory, with the same properties... - but it also makes the setup a little more tedious. I think that tediousness is worthwhile because of the robustness it gives the machine. And I don't want a flame war in the comments. If you know a way you like to do it - share it. But don't flame. Because my way is best. 3) Install the dependencies: sudo apt-get install ntfs-3g samba 4) create a directory in /media for the new hard drive to mount AND make it logical like Hard Drive is a My_Book so call the directory /My_Book sudo mkdir /media/My_Book 5) Get the UUID: sudo blkid 6) Next, copy the UUID and check the formatting. Mine is an NTFS (that's why I install ntfs-3g at the start of the video). 7) Now you need to edit the fstab which is what the OS reads to find the names of drives and where to mount them at boot. sudo nano /etc/fstab Add the line: UUID=pasteyourUUIDhere /media/My_Book ntfs-3g defaults,noatime 0 2 Then reboot the RaspberryPi: sudo reboot 8) Edit your samba config file. But first, back it up: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo nano /etc/samba/smb.conf Add this to the bottom of the file: [My_Book] comment = This is the WD My_Book loaded with NTFS path = /media/My_Book available = yes read only = no browseable = yes public = yes writable = yes create mask = 0755 Now, repeat until all of your Hard Drives are mounted and visible on the Network. --- To see my other Raspberry Pi projects: Garage door remote: http://youtu.be/p2abZ90-eU0 Outdoor Automated Lights: http://youtu.be/xc1daIb1LVc File Server (NAS): http://youtu.be/fGYCrYT114o Weather Station: http://youtu.be/dRT39e3PQrk How to Bitcoin Miner: http://youtu.be/U2_tFci61PE Voice activated lights: http://youtu.be/puUnaLswaig Alarm Clock Project: http://youtu.be/julETnOLkaU Donate here: If you like the video or think it's useful buy me a coffee on paypal. http://bit.ly/1kAous6 Donate smaller amounts with bitcoin and help me avoid paypal fees. 1HfHr25qZQjPzwphPxpNaD5CytDNYcfzrJ Support this channel on Patreon! http://patreon.com/skiwithpete Don't forget to tell post links to any Projects you’re up to, or let me know if there's anything you’d like me to try out.
Views: 124787 skiwithpete
30 Things to do After Installing Ubuntu 18.04 LTS (all-in-one video)
 
42:13
This is a list of 30 things to do after installing Ubuntu Bionic Beaver to make your Ubuntu Linux experience great. 1:15 Configure the update manager. 5:03 Install Drivers 5:45 Install Synaptic package manager 6:32 Install additional codecs, MS fonts, flash and a few more useful packages. 6:54 Install Microcode 9:40 Activate Minimize to dock. 11:00 Decrease Swap Use 12:40 Enable Drive Cache 14:01 Reduce SSD Writes 15:45 Set up firewall 16:57 Configure Ubuntu settings 18:47 Move apps button to top 19:25 Install Gnome tweak tool 19:47 Install Gnome Extensions 21:04 Install Arc menu 22:36 Install additional themes 26:38 Change Firefox settings (open last closed tabs, add search field) 27:37 Enable Netflix Support in Firefox 28:16 Tweak LibreOffice 29:54 Enable Google Drive integration 30:48 Schedule Backups 32:06 Remove unnecessary software 33:28 Turn Off Startup Applications 34:18 Clean system (Bleachbit) 35:58 Install VLC 37:28 Install Google Chrome 38:28 Install Dropbox 39:41 Install Skype 40:27 Install Spotify 40:43 Laptop Tweaks # Dropbox registration https://db.tt/rrcs7agl # Mentioned videos: Ubuntu 17.10 review https://youtu.be/gdX606Hjt04 Linux Mint videos https://www.youtube.com/playlist?list=PLSmXPSsgkZLsiemyy_Rzcqf_0iED8ZfHS 15 things to do after installing Linux Mint https://youtu.be/RXV6FXVL6xI Back up in Linux https://www.youtube.com/playlist?list=PLSmXPSsgkZLtDgMSAOIAwltynUcz9osnW Convert video to images with VLC https://youtu.be/4NuK7wSQUNs # Code and packages used in the video: grep Package /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_bionic_partner_binary-amd64_Packages ubuntu-restricted-extras, libdvd-pkg, openjdk-8-jre, flashplugin-installer sudo dpkg-reconfigure libdvd-pkd apt-xapian-index gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' gsettings reset org.gnome.shell.extensions.dash-to-dock click-action cat /proc/sys/vm/swappiness gedit admin:///etc/sysctl.conf vm.swappiness = 10 gedit admin:///etc/fstab noatime libavcodec-extra sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop apt://vlc tlp, tlp-rdw ################################################ Support on Patreon: https://www.patreon.com/averagelinuxuser Donate through PayPal: https://www.paypal.me/Kryvokhyzha ################################################ More cool Linux stuff at other social media: Google+ - Best Linux Stuff: https://plus.google.com/+AverageLinuxUser Facebook - Top Linux Tips: https://www.facebook.com/AverageLinuxUser Twitter - Daily Linux News: http://twitter.com/AVGLinuxUser Website: http://averagelinuxuser.com/
Views: 226919 Average Linux User
15 Things To Do First in Linux Mint
 
19:12
Do you wonder what you can do with Linux Mint after install? In this video, I will learn you 15 things to do after installing Linux Mint. These Linux Mint tips and tricks will improve your system responsiveness, prevent some possible issues, make your system more secure and optimize the usability of your system. Linux Mint Installation Guide for Beginners: https://youtu.be/xbQu4QRud6g Linux Mint - Install, configure, tweak playlist: https://www.youtube.com/playlist?list=PLSmXPSsgkZLsiemyy_Rzcqf_0iED8ZfHS Timecodes: 00:59 1.Configure Update Manager 02:02 2.Install Drivers 03:29 3. Install Microcode 04:17 4.Decrease Swap Use 05:44 5.Enable Drive Cache 06:51 6.Reduce SSD Writes 08:22 7.Turn on Firewall 09:10 8.Install Microsoft Fonts 09:42 9.Remove Unnecessary Software. 13:22 10.Change Firefox settings 14:52 11.Tweak LibreOffice 15:39 12.Remove Some Applets 16:06 13.Turn Off Startup Applications 16:43 14.Disable Hibernation (suspend-to-disk) 18:01 15.Disable Switch User Option The command to disable hibernation: sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla / The command to undo the disable hibernation: sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d ################################################ Support on Patreon: https://www.patreon.com/averagelinuxuser Donate through PayPal: https://www.paypal.me/Kryvokhyzha ################################################ More cool Linux stuff at other social media: Google+ - Best Linux Stuff: https://plus.google.com/+AverageLinuxUser Facebook - Top Linux Tips: https://www.facebook.com/AverageLinuxUser Twitter - Daily Linux News: http://twitter.com/AVGLinuxUser Website: http://averagelinuxuser.com/ Music from Jukedeck - create your own at http://jukedeck.com
Views: 317626 Average Linux User
Linux et les SSD
 
08:26
Les SSD sont très rapides, silencieux et résistants au choc, mais ils ont un tarif élevé par rapport à leur capacités. Pour un fonctionnement optimal il faut activer l'option TRIM. Cela permet de bien utiliser sont disque dur et donc éviter une usure prématurée. En français fr french par Barbuche. Avec un terminal : sudo gedit /etc/fstab Ajouter : "noatime,discard" devant ",errors=remount-ro 0" Dès le prochain démarrage, la commande TRIM sera activée.
Views: 1908 Barbuche TV
Manjaro Architect install
 
16:53
Hey everyone thanks for watching please leave your thoughts in the comments down below,also please share and subscribe :) Links : https://manjaro.org/2017/03/27/install-manjaro-as-you-want-it-with-architect/ Follow Me :https://twitter.com/lleweldyn :https://plus.google.com/u/0/+LlewesReviews
Views: 17642 Llewe's Reviews
Projet NAS Linux: installation système (7/12)
 
26:48
http://reussiraveclinkedin.com/offre-gratuite-conseils-description-emploi.html - installation système Cette vidéo a pour but d'installer le système et configurer le système de telle sorte qu'il puisse démarrer par lui-même. Voici le procédure exécutée dans le video: Monter les partitions: ------------------------------ mount /dev/sda2 /mnt mkdir /mnt/boot mount /dev/sda1 /mnt/boot mkdir /mnt/var mount /dev/md0 /mnt/var mkdir /mnt/home mount /dev/md1 /mnt/home Installer le système: ---------------------------- pacstrap -i /mnt base base-devel Note sur base-devel: Pour une meilleure sécurité, vous ne devriez pas installer base-devel Configurations reliées aux systèmes de fichiers: ------------------------------------------------------------------- mdadm --detail --scan >> /mnt/etc/mdadm.conf genfstab -U /mnt > /mnt/etc/fstab Parenthèse reliée aux options de mount 3 temps associés à chaque fichier access time, modif time et inode info modif time inode info = Metadata: timestamp, ownership, permissions Options de mount: atime: Change le access time pour toutes les lectures. En d'autres mots, chaque lecture génère une écriture noatime: Aucune lecture modifie le access ts relatime: Seulement modifie le access ts si sa valeur actuelle est plus ancienne que le last modif ts = très bon compromis Changer la racine: ------------------------- arch-chroot /mnt /bin/bash Config Locale: -------------------- vi /etc/locale.gen Enlever la mise en commentaire pour les localisations désirée locale-gen vi /etc/locale.conf Écrire 'LANG=en_US.UTF-8' Config reliée au temps: -------------------------------- ln -sf /usr/share/zoneinfo/America/Montreal /etc/localtime hwclock --systohc --utc Configurer le mode utc pour le HW clock. L'autre option est localtime mais ce choix est inférieur surtout si vous habité dans une zone où le temps change selon les saisons. La seule raison pour choisir localtime est si vous avez un dual boot avec MS Windows. Config réseau: -------------------- echo kimper2 > /etc/hostname vi /etc/hosts pacman -S pkgfile net-tools pkgfile --update pkgfile ifconfig Trouver le nom de l'interface ifconfig Enable client DHCP systemctl enable [email protected] Installer le bootloader: ------------------------------- pacman -S intel-ucode grub efibootmgr grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub --recheck grub-mkconfig -o /boot/grub/grub.cfg Installer ssh: ------------------ pacman -S openssh systemctl enable sshd.service Créer un usager: ----------------------- useradd -m -g users -s /bin/bash lano1106 passwd lano1106 chfn lano1106 Changer le mot de passe du root: passwd exit umount -R /mnt reboot installation système https://youtu.be/DcSzFK1zmV4 https://www.youtube.com/channel/UCUtN2juZFxfvuVvQtn6n5NA
A full nofail run
 
04:47
Also 720p60 boisss
Views: 4 ~Osmium~
Owncloud 8: Datenverzeichnis auslagern
 
09:33
In diesem Video wird gezeigt, wie Sie das Datenverzeichnis Ihrer Owncloud auf z.B. eine andere Festplatte umziehen lassen können. Vielen Dank für Ihre Unterstützung: http://www.patreon.com/sempervideo?ty=c https://flattr.com/donation/give/to/sempervideo mkdir /home/bananapi/usbstick fdisk -l mount -t auto /dev/sda1 /home/bananapi/usbstick chown -R www-data:www-data /home/bananapi/usbstick sudo nano /etc/fstab /dev/sda1 /home/bananapi/usbstick auto noatime 0 0 cp -R /var/www/owncloud/data/. /home/bananapi/usbstick/
Views: 25175 SemperVideo
Solid state drive make my Pc Very Fast! ;)
 
05:16
Corsair solid state for +- 75 Euro is very vast inti my pc. Specially for vdeo capturing is this many times faster than the old ide os sata drives De meeste vertraging zit hem in de harde schijf deze nu vervangen voor een solit state drive Corsair solid state drive 60 GB Wat een verademing zeg, een oudere pc supesnel maken ;)) Boot up Linux Mint dvd in 7 sec ;)) Need to know a few things - Format drive in ext 2 partition - Manuel select partition / 15 Gb - Swap 2 Gb (Depend on memory :2) (I have 4 Gb mem into the pc) If install is complete sudo gedit /etc/fstab - Edit noatime example UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext2 noatime,errors=remount-ro 0 -Reduce swap magenemant vm.swappiness=0 vm.vfs_cache_pressure=50 - Reduce logfiles tmpfs /var/log tmpfs defaults 0 0 - go to therminal as root - sudo su passwoord - Map`s restore into var/log - Goto /etc/rc.local - Look for the rule exit 0 - Paste above the rule for dir in apparmor apt cups dist-upgrade fsck gdm installer samba unattended-upgrades ; do if [ ! -e /var/log/$dir ] ; then mkdir /var/log/$dir fi done Save it and you done you have the fastest pc now ;)) Works also with pc sata over ide controller ..
Views: 400 Cappeltje
2 DEFAULTS 1 PUMP
 
06:19
home of airsoft games, shooting stuff with the airsoft gun, gameplay, and sometimes art. :)
Views: 2 Matt C