background preloader

Tecmint: Linux Howtos, Tutorials & Guides

Related:  LinuxInformatique

networking - why am i unable to access internet even with being connected to network? Homepage de Jean-Louis Bicquelet PRIME PRIME is a technology used to manage hybrid graphics found on recent desktops and laptops (Optimus for NVIDIA, AMD Dynamic Switchable Graphics for Radeon). PRIME GPU offloading and Reverse PRIME are an attempt to support muxless hybrid graphics in the Linux kernel. Installation Open-source drivers Remove any closed-source graphic drivers and replace them with the open source equivalent: Reboot and check the list of attached graphic drivers: $ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x7d cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:Intel Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 1 associated providers: 1 name:radeon We can see that there are two graphic cards: Intel, the integrated card (id 0x7d), and Radeon, the discrete card (id 0x56), which should be used for GPU-intensive applications. By default the Intel card is always used: Closed-source drivers

www.FGAGNE.com How do I remove a full directory in Linux? Updated: 06/16/2017 by Computer Hope When attempting to remove a directory using a command such as the rmdir command, you may receive a prompt such as "rmdir: 'dir': Directory not empty" and be unable to delete the directory. To remove a directory that contains other files or directories, use the following command. rm -r mydir In the example above, you would replace "mydir" with the name of the directory you want to delete. For example, if the directory was named "files", you would type rm -r files at the prompt. Executing the above command would delete all files and directories within the directory named in the command. rm -rf mydir In the above example, the "mydir" directory, along with all files and directories within that directory, would be deleted with no prompt or message.

Aymeric / APLU(.FR) Learning Shell Scripting Language: A Guide from Newbies to System Administrator Linux is built with certain powerful tools, which are unavailable in Windows. One of such important tool is Shell Scripting. Windows however comes with such a tool but as usual it is much weak as compared to it’s Linux Counterpart. Shell scripting/programming makes it possible to execute command(s), piped to get desired output in order to automate day-to-day usages. In-fact automating these day-to-day task on server is an important task, system administrator has to perform and most of the admins achieve this by writing scripts to be executed as and when required. The most commonly used shell in Linux is BASH which stands for Bourne Again Shell. Almquist shell (ash)Bourne shell (sh)Debian Almquist shell (dash)korn shell (ksh)Public domain korn shell (pdksh)MirBSD korn shell (mksh)Z shell (zsh)Busybox, etc. We have tried to cover a large variety of shell programming on a number of aspect in 5 different posts. Understand Linux Shell and Basic Shell Scripting – Part I Hello.sh Process.sh up.sh

NAGIOS – développement des plugins NAGIOS – Nacta.fr Comme vous le savez, il existe des milliers de plugins publiés par la communauté Nagios surtout sur le site web officiel ( Toutefois, votre besoin de supervision ne peut être totalement couvert, voire pas du tout par ces plugins. Dans cette situation, vous serez obligé de développer votre propre plugin Nagios. Dans cette partie, nous allons présenter les bonnes pratiques et démarches pour développer un plugin Nagios avec différents langages de développement. 1. Les bonnes pratiques Avant d’entrer dans le vif du sujet, nous allons faire un rappel sur le fonctionnement des plugins. Pour considérer un script ou une sonde exécutable comme un plugin Nagios, il doit avoir au moins deux caractéristiques : Un code de retour :Le script ou l’exécutable doit toujours renvoyer un code de retour qui permet à Nagios de savoir l’état de l’élément supervisé. Avant de commencer le développement du plugin, il faut bien choisir le langage de développement. 2. #! #! 3. #!

Fedora 16 Linux on Samsung Series 9 (NP900X3A) Laptop | vaidas jablonskis Few words for a warm-up Few months ago I bought myself a brand new and shiny ultrabook from Samsung. It obviously came pre-installed with Windows7. I quickly rushed to wipe the evil OS out, before I did an SSD clone, just in case I will ever need Windows7 on this laptop again. Right, so it was time to install my favourite linux distribution - fedora! Installation I built a bootable USB stick with fedora16 netinstall image on it, started the installation and this is where the fun started. UEFI and Grub2 I knew my laptop had an option for UEFI firmware support, so I turned this on, because UEFI is cool, right? MSDOS Instead of GPT Another issue I ran into was that Anaconda (fedora/rhel/centos etc) GUI installer creates a GPT drive (I say drive because an SSD is not a disk) label by default, which means that either BIOS or UEFI has to be able to start a bootloader from a drive which has GPT partitition label. Partition alignment Successful Installation Post-install Fun Working Pieces The Rest Others

Configure NFSv3 and NFSv4 on CentOS 7 | ComputingForGeeks In this guide, I’ll take you through the installation of NFSv3 and NFSv4 Server on CentOS 7. The only prerequisite for this is that you should have installed CentOS 7 server and data directory to export to other servers via NFS. Below are complete steps to Install and configure both NFSv3 and NFSv4 on a CentOS 7 server. Step 1: Install NFS server Install the nfs-utils package on CentOS 7 using the following commands: # yum -y install nfs-utils Step 2: Configure domain used for NFS ( Optional) # vim /etc/idmapd.conf Domain = computingforgeeks.com Step 3: Configure NFS exports NFS exports are configured under the file /etc/exports. An entry for an exported file system has the following structure: export host(options) Variables used are: export –> The directory being exportedhost –> The host or network to which the export is being sharedoptions –> The options to be used for host For multiple hosts with different options, the syntax is: export host1(options1) host2(options2) host3(options3)

60 Commands of Linux : A Guide from Newbies to System Administrator For a person new to Linux, finding Linux functional is still not very easy even after the emergence of user friendly Linux distribution like Ubuntu and Mint. The thing remains that there will always be some configuration on user’s part to be done manually. Just to start with, the first thing a user should know is the basic commands in terminal. View the contents of a directory : A directory may contains visible and invisible files with different file permissions.Viewing blocks, HDD partition, External HDDChecking the integrity of Downloaded/Transferred PackagesConverting and copying a fileKnow your machine name, OS and KernelViewing historyBeing rootMake DirectoryMake FilesChanging the file permissionOwn a fileInstall, Update and maintain PackagesUncompressing a fileSee current date, time and calendarPrint contents of a fileCopy and MoveSee the working directory for easy navigationChange the working directory, etc… This was the first article of this series. That’s all for now from me.

Installation/Upgrading on RHEL/CentOS, SLES 12 SP2 and Debian 7/8 | QUADStor Systems Installation of prerequisite packages RHEL/CentOS yum install httpd gcc perl kernel-devel sg3_utils iotop sysstat tar On RHEL/CentOS 8, the following additional packages yum install compat-openssl10 elfutils-libelf-devel policycoreutils policycoreutils-python-utils Ensure that the kernel-devel package version matches the installed kernel version To get the kernel-devel package version rpm -qa | grep kernel-devel To get the running kernel version uname -r If the kernel-devel version is ahead of the installed kernel then do the following additional steps yum upgrade kernel reboot yum upgrade kernel-devel Secure Boot Secure boot systems are not supported yet. grep "Secure boot enabled" /var/log/messages Secure boot needs to be disabled for the VTL service to start QLogic Firmware The recent 8.07 firmware is recommended for QLA/QLE 24xx/25xx which can be got from . Firmware upgrade On the VTL system as root user 3. Debian 9

Related: