Updates from Iron Man Toggle Comment Threads | Keyboard Shortcuts

  • GLPI: Change the category of tickets in mass [Quick Guide] 

    6:37 pm May 18, 201712910

    I. introduction

    GLPI computer park management solution allows to classify by categories support tickets. GLPI web interface allows you to mass change the category of a set of tickets to move them from one category to another.

    However, this does not work on closed tickets on which it is not possible to make any changes. It would be annoying to change the status of tickets temporarily to move… Besides it’ll generate the notifications so users will not understand everything…

    The trick that I use as a solution to this problem and change the category tickets directly concerned in the database . Tested under GLPI 9.1.1.

    II. Procedure

    I invite you to use PhpMyAdmin to access your MySQL in a simple way database management. For information on the Wiki of GLPI, you can find the list of tables is the database (although this list seems incomplete): GLPI – list of tables

    before you begin: make sure to be careful, the manipulation of SQL queries can be risky… A backup beforehand won’t too.

    Table tickets – glpi_tickets

    GLPI contains a table that references all of the tickets, there are different fields as “id”, which is the identifier unique ticket (a number incremented by + 1 to each new ticket), but the field that interests us here is “itilcategories_id” which corresponds to identifier unique to the category to which the ticket is attached.

    The table of categories – glpi_dropdown_tracking_category

    it may be useful to consult this table to get the ID of the categories concerned by the transfer of tickets. The “ID” field you will get ID unique category clearly indicated in the “Name” field. The “CompleteName” contains the full name, i.e. with parent categories is it y in a.

    now for the transfer of tickets from one category to another…

    For example, to move the tickets of category ID “82” to the category ID “30” here is the proper SQL query:

     UPDATE 'glpi_tickets' SET 'itilcategories_id' = 30 WHERE 'itilcategories_id' = 82; 

    This query can be sent directly via PhpMyAdmin:

    you can make various requests of this kind according to the necessary movements at the level of the categories of tickets. Each time, PhpMyAdmin shows you the number of rows affected, i.e. the number of displaced tickets.

    If we refer to the image above, there were 29 tickets IDP category ID “56” to the category ID “30”. That these tickets are closed or not, the category change for taken place.

    There are more to apply this procedure on your GLPI if you sometimes encounter this problem.

  • WannaCrypt: What does think? Act! [Quick Guide] 

    9:34 am May 18, 20176495

    WannaCrypt is a topic that is on the table of the service computer following the attack this weekend. With more than 200,000 infected devices and some companies shut down, arguably he made noise and is not without consequence.

    Maintenance of the it parks being questioned?

    What is obvious, is that it highlights a cruel lack of parks maintenance computer within some companies. This ransomware exploits a flaw known and corrected by Microsoft in March, when we know today the importance of updates, how could she be forgotten?

    We can’t say that there are no tools available to simply update its computers, Microsoft offers many years the WSUS on Windows Server role to actually deploy these fixes with a few clicks.

    So certainly, this attack also affects the items under Windows XP, a bone completely obsolete and maintained by Microsoft since April 8, 2014. But is it normal that Windows XP might still be used? No, even go to the evidence that it’s not always simple to get in these special cases, particularly in the field of industry where he lives the machine connected to a PLC out of price. Incidentally, Microsoft for released a patch for Windows XP and Windows Server 2003 emergency to fix the hole on these obsolete systems.

    Beyond the fact to apply this security patch, you can disable the SMBv1 because this is the version that is affected by this vulnerability and that it is obsolete. Today, we in the SMB v3 version. X. the problem is that version 1 of SMB is always enabled on Windows by compatibility issues, particularly on network copiers that use this version for the scan-to-share. So be careful before you disable this version it will take can be better patch initially.

    Info: which version of the SMB Protocol do you use?

    Educate your users!

    In my opinion, beyond the system operating, it is also about l’ computer hygiene with the education of users , better be safe than sorry. Security is also to anticipate the risks and identify weaknesses in its information system. It is essential to train the users to give them a look more inured on what they do on Internet , on files they open, etc… Because often, it is there that the door opens for access to your information system.

    Your users must also be informed about the importance of the updates, regardless of whether at work or at home, the updates are essential! We don’t disable Windows Update!

    Why is WannaCrypt, so powerful?

    To put it simply, in regards to WannaCrypt itself, it works on a basic model: a link, a file is downloaded and executed, and it is your files are encrypted. There where WannaCrypt is formidable and powerful, but that it then operates an SMB flaw (as corrected by the hotfix Microsoft) to diffuse through the network on the other positions of your infrastructure.

    By the way, originally from WannaCrypt people managed to steal a tool at the NSA that allows to exploit this flaw. The NSA as she used it as part of its espionage operations.

    A decryption under design tool?

    Publishers of anti-virus solution on the spot, WannaCrypt is in their viewfinder: between those who claim to protect users against WannaCrypt and those who say work on a decryption tool.

    When the decryption tool will be ready, it will be normally broadcast on the website No. More Ransom , a platform launched by Kaspersky Lab, Europol, Intel Security and police in the Netherlands. A cooperative work is therefore underway.

    Whatever it is, don’t pay the ransom! You will not have the guarantee to review your files… And in more you will strengthen the movement.

    Here, I will stop here on the subject, we could write tons… And you, what is your opinion on the subject?

  • SecNumAcademie: ANSSI on cybersecurity MOOC [Quick Guide] 

    12:29 am May 18, 20179566

    tomorrow, from 5 pm, a MOOC the safety will be available online for free to introduce you to cybersecurity around 4 main axes. A very good initiative on the part of ANSSI!

    This online training will address the following 4 themes:

    – Panorama of the ISS (may 2017)
    – authentication
    security – security on Internet
    – workstation security and nomadism

    I am not aware of the “difficulty level” of the MOOC itself but be aware that a certificate of completion will be issued at the end of the training If you succeed. This is a good way to learn cyber security or at least to learn more.

    From its launch Thursday, May 17, 2017, the MOOC will stay online for a period of 3 years and you can now register: https://secnumacademie.gouv.fr/

    ANSSI = National Agency for the security of the information systems

  • How to increase the conversion rate of my blog? [Quick Guide] 

    12:21 am May 17, 201712351

    conversion rate is an indicator of performance major because it tells you the percentage of people who are willing to engage for you / your business. Ask yourself how to increase the conversion rate of a blog ? Here are a few tips that can help maximize your visitors commitments.

    augmenter le taux de conversion de mon blog

    1 – create long content to increase the conversion rate of my blog

    write lengthy content appears to be effective when you want to increase its conversion rate. SEOs have indeed noticed that the more articles of 2000 words are better positioned as short articles in the results of Google . It is however necessary to propose the content interesting and well optimized so that it applies. Whatever it is, better positioning means automatically more traffic and so, more likely to get conversions. a must for a blog profitable .
    Ideally, make sure to write stories of approximately 2,500 words when you want get a strong commitment : your visitors will appreciate your involvement and the fact that the content is free, they will more likely to share this type of article or put it in their favorites if he for a particular interest. Finally, remember that the quality is just as important as quality.

    2 – integrate keywords long tail

    you want to optimize your long articles in order to generate maximum conversions ? Improving the conversion rate , nothing like the long tail keywords. Remember that these groups of keywords correspond to specific queries entered by users in the search engines. So we’ll talk about key word for the term “pen” for example, while we discuss the long tail on a query of type ‘buy a pen on the Champs Elysées’. Position yourself on the long tail keywords will allow you to further target your audience , which is most likely to engage or buy your products . If we take the example given, a seller of pens on the Champs Elysees will increase my conversion rate if it is placed on keywords long tail; If he tried to stand on the word “pen” only, it would have first a lot of competition but more would attract an audience mostly not interested in its products.

    you must use a maximum of long tail keywords in your long content! More you use, the more you multiply your chances of get volume in traffic … and this volume will be already targeted, you will receive visitors already “filtered”.

    3 – the principle of the funnel to purchase to boost conversion rates

    principle the purchase funnel works pretty well when it comes to blog . As a reminder, the funnel works like this:

    • the prospect becomes aware of the product/service it needs.
    • he begins to do research, to compare;
    • it takes its decision to purchase.

    unless you propose a completely new product, the prospect should arrive on your site in the phase 2: “did some research, compare. You must provide detailed information about what he’s looking for, solutions, answers. Your content must align with the intention of users of your site. Keep in mind that a user is not a buyer, it’s a “passerby” to give confidence and facilitate access to your products.

    4 – use the Search Console tool to improve its content

    you can never say it enough: content is King! The tool Search Console Google will allow you to increase the conversion rate of your blog thanks to a fairly simple technique: go to and search traffic analysis research. Once in space, set up your console to get the CTR (click through rate) on your articles. If you notice that some URLs get more than 30% CTR, then, this means that users are interested in the answers that your site offers; It may therefore be interesting to optimize these articles in order to fully meet their expectations and so increase the conversion rate of a blog .

    5 – leverage tools for sharing and capture

    Insert sharing tools will allow you to increase the conversion rate of your blog . To do this, you can offer:

    • a subscription by e-mail;
    • download.
    • a free trial;
    • to love your Facebook.
    • to follow you on Twitter, LinkedIn, Instagram, Pinterest, Google +, etc.
    • subscribe to your Youtube Channel.

    the best email addresses “capture” tool is undoubtedly the pop-up window. To not weigh down your page or go unnoticed in the eyes very fast and eager users, preferably limit your form to 3 fields. Ideally, offer only a single field to fill in: the email address. You need to be attractive, convincing, persuasive.

    what to remember to increase the rate of conversion of a site

    to increase the conversion rate of a blog , should be offered preferably long, rich in information and content punctuated effective long tail keywords (that you will have determined upstream). This will allow you to run a relevant traffic to your blog… and who says said relevant traffic conversion rate that explodes . Don’t forget to create calls, using tools: form, products available to download, etc. Your blog must be easy to access, it must be written in clear and simple words because remember that the compact is the impact!
    Once you have created new content, improved the most wanted items, and made your blog more attractive, you should naturally increase the conversion rate of the blog . More your hearing will be faithful and committed, most likely you have a profitable blog … that one of the solutions is to live blog !

    Rondelet Lucie

  • Best Practices: Analyze your PowerShell with PSScriptAnalyzer code [Quick Guide] 

    9:11 pm May 15, 201711121

    I. introduction

    PSScriptAnalyzer is a module PowerShell that checks the code of your scripts and your modules to assess the quality of your code based on a set of rules of practice.

    You can use predefined and corresponding rules on best practices identified by the PowerShell team and the community around this language. In addition, you can create your own set of rules specific to your company.

    The advantage of using PSScriptAnalyzer is that it will tell you the results of my diagnosis according to rules of warnings or errors, with the potential risk, but also a suggestion to correct the points highlighted. As a result, you can on the one hand to improve the quality of your code, but also improve you in General so that you apply these best practices course.

    In this tutorial, we will install the module and we’ll put it into practice on a few scripts.

    Video version of the tutorial:

    II. Install PSScriptAnalyzer

    to begin with, we will install this module. It is compatible with Windows from PowerShell 3.0, and according to the page of the module, it works with PowerShell Core under Linux , at least on Ubuntu 14.04. Page of the module: GitHub PSScriptAnalyzer

    to install it, simply, directly from the PSGallery:

     Install-Module - Name PSScriptAnalyzer - Repository PSGallery - Force 

    the proof below image 🙂

    before you continue, you can list the module commandlets, which there are 2 at the moment.

    To use the PSScriptAnalyzer module in several concrete cases, including the commandlet “Invoke-ScriptAnalyzer” which allows you to start a scan of the code on a script or module PowerShell, I’ve used a few scripts that I have published on my GitHub (and coded by me).

    III. PSScriptAnalyzer: Example # 1

    Let’s start with the “Backup – AllGPO.ps1” script that allows to save its GPO… To run the analysis on this script, invoke the following command:

     Invoke-ScriptAnalyzer - Path .ad-backup-allgpo

    vous will notice that it is not clear a PS1 file directly, but a folder, which means that all PowerShell files will be scanned. The result of the analysis contains a property “ ScriptName ” which will indicate the name of the script exactly.

    On the screenshot below, you’ll notice that a dozen corrections are suggested by the ScriptAnalyzer . Although there are several identical and are not critical in the sense where it does not prevent the script to function, it is important to pay attention to.

    Make the point.

    • Information: PSAvoidUsingPositionalParameters

    this rule indicates that it is better to avoid using positional parameters, but to instead name the parameters and specify a value for each parameter. In fact, in my script I use “Write-Host” followed the text to display in the console without specifying a parameter, good practice like that instead of writing:

     Write-Host "My text" 

    one writes:

     Write-Host - Object "My text" 

    which will allow me to correct two points back by the ScriptAnalyzer.

    Note: In the result displayed in the console, property “Line” poster the line “mistakenly” escalation by the parser within the script named with the ScriptName property.

    • Warning: PSAvoidUsingWriteHost

    this rule indicates that the “Write-Host” commandlet is used so that it will not work in all cases, but especially because it is better to use Write-Output, Write-Verbose or Write Information instead. For more information on this recommendation: Write-Host, Attention!

    Which is silly, because advantage other commandlets is we can redirect the output, or even pass it on to another object, it is not just the display in the console. Another way to manage the text output, but to follow best practices, it is necessary to adapt the script.

    For my part, I direct myself to Write-Output since my behavior is close to Write-Host to display content in the console. After, feel free to choose the formula best suited to your needs.

    • Warning: PSAvoidUsingCmdletAliases

    a warning that comes up twice, about “Select” and “Foreach” that are aliases of the commands “Select Object” and “Foreach-Object”. The Analyzer Script recommends using the full names of the commandlets rather than the alias.

    This implies to replace occurrences of “Select” by “Select Object” and those of “Foreach” by “Foreach-Object”.

    After having followed the advice and recommendations of PSScriptAnalyzer, we can see that there are more changes to the script:

    IV. PSScriptAnalyzer: Example # 2

    for example now, the “Start – BitsDownloadRecursive.ps1” script that allows to download a complete tree of files through BITS. If you look at the output of the command Invoke-ScriptAnalyzer, there is the result the recommendations already obtained in the previous example, we know how to fix. 🙂

    ultimately is not surprising to see the same rules match because if one for the same logic in my scripts, one commits the same imperfections. The goal is to improve.

    V. PSScriptAnalyzer: Example # 3

    Finally, let’s take as an example the “Add – NetworkPrinter.ps1” script that allows to add a network printer on a machine via PowerShell, of course. The Analyzer Script for this script does not follow the same rules as before.

    • Warning: PSAvoidUsingWMICmdlet

    to work with printers, I use the “Get-WmiObject” commandlet, as its name suggests making a WMI query on the machine. However, it is now preferable to CIM request for benefit of the model common to different operating systems.

    For my part, I believe that at the moment for reasons of compatibility and in this case, it is best to stay as it will not bring much to spend on a CIM query in WMI. This particularly, because it takes at least PowerShell 3.0 to support the CIM queries.

    In the case of my script, here is a command to list the printers, whether in CIM or WMI gives the same information, only the format of the output is different.

    This tutorial on the PSScriptAnalyzer module coming to an end, I hope it encourages you to use it for your creations in order to have an optimized code and in response to good practices. This groundwork also facilitates the recovery of the code by another person since it is beneficial to understanding the code also.

    To go further:

    • you can list the existing rules and thus take knowledge even before they emerge in an analysis: Get-ScriptAnalyzerRule
    • you can include or exclude rules using the parameters “IncludeRule” and “ExcludeRule” followed of the name or the names of rules

  • How to translate my WordPress theme in a child theme? [Quick Guide] 

    6:10 pm May 15, 201712888

    Translate my child theme can be complex… Yet, you have seen lately on WP training it was very easy to translate the theme using the extension Loco Translate … However, if you prefer not to be dependent on a plugin, there is another solution: translated my WordPress theme in a child theme with Poedit . Let’s look at the steps to achieve this…

    Traduire son thème enfant

    Step 1: prepare the environment necessary to translate my child theme

    one of the solutions, not suitable, would be to create a file for translation directly in your parent theme… The concern would be that your translation would disappear in the next updated theme! Going therefore, beforehand, create a child theme. If you don’t already have one, you can read article which will help you to create easily.

    Then, you will need the Poedit software which offers a free version that will be sufficient to make the changes you need. This software is available for Mac and PC on the official website . Download it, then install it on your computer.

    Step 2: retrieve the .po file available in your theme parent

    Dupliquer le fichier po en local

    in order to create your translation, you will need the file .po to your parent theme. You are sure to find in the folder languages or lang theme. It could appear under the name of en_EN.po or even xx_XX.po if the theme developers have planned this. Once the file for been spotted, save a copy in your local environment on your desktop for example.

    Step 3: create a new translation with Poedit file

    as your environment is ready, you can start your translation. A few steps will be enough to get your new file fr_FR.po, , however, if you want to translate your theme in a language other than the french, see to documentation for the official code of the desired language:

    Créer une nouvelle traduction avec Poedit

    1. open Poedit and then click on “create a new translation”
    2. a popup will open and allow you to select the file that you just saved locally (cf (: step 2), the famous en_EN.po , then click on “open”
    3. Poedit will ask you to set the language of this new translation, select “french” and then click “accept”.

    Step 4: start translation with Poedit

    Traduire le theme

    translation can begin: the translation strings available (in blue) located on the left of your screen and on the right are the translations that you make (in green). It’s at the bottom of the screen you can enter your translation (in the green box).

    Attention! Be sure to keep all of the special characters that are useful to your theme in your translation such as “ % ” or “ %s ” for example.

    Translate all strings you need, knowing that some of them correspond to only available side translations administration while others are those that the user sees when he visits your site. You are therefore not required to translate the entirety of your theme, however, if that’s what you want to, you can check the status of your translation all at the bottom of Poedit (red arrow in the screenshot) which will tell you the percentage of translation already made.

    Step 5: build the new .po and .mo files

    Générer les fichier po et mo

    once you have performed all the translations required for your theme, you can finish by the generation of new .po and .mo files:

    1. always in Poedit, go to file > save
    2. a popup opens and allows you to enter your file name for the french-online en_US (without “.po” or “.mo”)
    3. choose your location and then finish by “Save”
    4. the Poedit software generates then two files: fr_FR.po and fr_FR.mo
    5. these two files are required and you will need to send in your child theme via FTP. You can also store them in a subfolder that you would name “lang” or good “languages”

    Importer le dossier langue dans le thème enfant

    step 6: modify the file functions.php to your child theme

    Ajouter une fonction au fichier functions.php

    If you stop at step 5, you will see that translation sent in your child theme for not been taken into account! Indeed, so that it is, we have to add a function to the file functions.php to your child theme, only two enrolled in red parameters to customize according to your theme:

     / / consideration of the issue of translation of the child theme instead of the parent function my_child_theme_setup() {load_child_theme_textdomain ('  text-domain-du-theme-parent ')} get_stylesheet_directory(). (' /languages '); languages being the path of the folder in which your .po and .mo files are} add_action ('after_setup_theme', 'my_child_theme_setup'); 

    The function “load_child_theme_textdomain” requires as the first parameter in the “text domain” of your parent theme (required), you will have to customize this setting based on the theme you are using. If you want more information on this function, you can visit the dedicated page on the Codex de WordPress .

    Where to find the Text Domain of the topic parent to translate my child theme?

    Localiser le Text Domain du thèeme parent

    in General, the text domain of the parent theme is easily localizable in header file style.css of it and it is often the same name as that of the template…

    However some themes can give you of trouble if the developers have not registered this information in header and do not use the same name as that of the template (this is the case of SimpleMag with which I performed this test)!

    Therefore search in the file functions.php theme the function named parent “load_theme_textdomain” . The first parameter located in parenthesis will tell you the name of the text domain which will be useful for translated my child theme ! In my example, it’s “themetext” (nothing to do with SimpleMag!)

    Step 7: check the

    Vérifier l'état de la traduction

    in conclusion, if you have followed these steps, you should get the result and see your translations on the side of the front end… If you spot a few translations forgotten, repeat steps 4 and 5.

    in conclusion…

    There is no better solution between using a plugin like Loco Translate or translating the theme manually with Poedit. In my opinion, it’s a question of affinity…

    But what is most important with the Poedit method, it is translated my child theme rather than its topic parent to keep changes in a future update.

  • Top 5 applications that are essential for traveling offline [Quick Guide] 

    3:00 pm May 14, 201714394

    it’s going on our Smartphone today and it becomes increasingly easy to have internet everywhere, even when travelling abroad. However, there are times to be without network or even on-site internet local to have SIM-free. It’ll be my case for a few days which gave me the idea to prepare a small selection of useful apps!

    By the time you read these lines, we will be on the plane with Magali direction Tunisia and specifically Sousse for 4/5 days in the Sun. When the country permits, I like to have internet on my iPhone, it is always practical and this can help in some cases.

    However, with the Tunisia , it’s very complicated to take one option or a SIM walking in the country. Rather than bothering me during the week, I have prepared my phone with a few apps allowing travel offline: maps, points of interest, translation, etc. This is so my selection (Google haters, go your way into party…)!

    Navigate with Google Maps

    it’s really the basis for app navigate to identify and move in a country. It is possible for a few months now on iOS as on Android take offline a geographical area . By default, is your home which is proposed, but you can put the box of your choice.

    I put in my case the city of Tunis (where we’re landing in the case where) as well as the city of Sousse and its surroundings. As you can see, it takes not even 50 MB of storage .

    There are many apps that do the same thing but here, you have navigation that works. Why deprive yourself? Available on iOS and Android .

    Chat with Google translation

    good orientation it is well but communicate with the locals, it may still practice! Although English is very present regardless of the country, I advise you to download the language of the country to travel peacefully offline.

    It can still be convenient for translate a word in a restaurant or asking someone information . Too bad, the translation via the camera is not available offline, it would have been very handy, especially for languages that do not use the latin alphabet.

    I even downloaded by default the french and English to not be bothered on a daily basis. Available on iOS and Android .

    Enjoy with Google Trips

    end of last year, Google for announced a new application called Google Trip s. It is based on the emails you receive on Gmail and automatically created a stay on that basis. For example, if you receive your flight confirmation, booking your hotel and entrance to a Museum, everything will be compiled into the application.

    Some love for the intrusive side but I still find it handy. It also gives you things to do on-site, practical information on the country, etc.

    at the moment, the application is available in English, but it shouldn’t take too long to arrive in French and other languages. Available on iOS and Android .

    Surf with Wiffinity

    given that we don’t have a 4G connection, must be fall back on Wi – Fi networks for surfing the web and shared our small photos on social networks. I found an app that seems not bad for it, it’s Wiffinity . It aggregates thousands of localized with the password Wi – Fi networks to access.

    It is also possible to download the database on a localized area to travel offline. The application is free, without ads and available on iOS and Android .

    Buy with Valuta

    Finally, the last essential app for me if you plan on traveling offline: a currency converter. There are a lot on the App Store and the Store, this app for the advantage of being very simple to operate offline and it for no ads, if they are offline (as well).

    Certainly, the rate will not be updated but in theory, it does not fluctuate that much in a week. If you’re interested, the app handles even the bitcoin! Available on iOS and Android .

    Bonus: Spotify and Netflix

    I end this selection with two bonus applications: Spotify and Netflix . It is far from essential, but it can help you to spend a few hours on the plane or train. It is possible on each app to download playlists or movies/series offline.

    I hope you like this little selection. If you want to see some pictures during my trip (if I find the Wi – Fi), I invite you to follow me from now on Instagram . Good week to you!

  • Thecus LightningPRO: New Bay storage 100% SSD [Quick Guide] 

    11:54 pm May 13, 20178731

    solution specialist storage Thecus for officially launched a new All-Flash range named “LightningPRO” and who relies on SSDS on up to 700 000 IOPS.

    The offer comes in two models, the SC180 and the SE300. Here are more details on these two variations. Whatever it is, these storage arrays are all two rack and 1U size.

    Thecus LightningPRO SC180

    this model offers a capacity of 10 type SATA SSD, replaceable hot, to get up to 360 000 IOPS performance. Accompanied by 4-port 10GbE SFP +.

    Thecus LightningPRO SE300

    this model is more powerful than the first, particularly because it can carry 8 SSD with a NVMe interface, which strongly contributes to the increase in performance. This makes it possible to achieve up to 700 000 IOPS on a perf test with writings of 4 KB files.

    For the network portion, the SE300 is equipped with 6-port 10GbE SFP + while the power supply is redundant as the SC180.

    FlexiRemap to the stick

    FlexiRemap technology is used for the management of data, namely writing and erasing the data. Thecus Announces intelligence brought with FlexiRemap allows to reduce the cycles of erasing of chips stores up to 150% compared to the usual RAID. For information, FlexiRemap is a technology of the company AccelStor, specialized in the performance of the flash storage.

    These solutions target businesses with intensive applications and requires strong performance, be it for the virtualization or transactional data bases, this new range looks ambitious. Unfortunately, I have no information on price and availability to give you.

  • And the winner is… (2017 edition) [Quick Guide] 

    8:41 am May 12, 201712822

    and the grand winner is…

    by Olivier Roland

    WOW dear readers, what enthusiasm! 🙂

    you were hundreds to vote in 1 and 2nd round to choose those who have achieved the best video… and scores have been ULTRA tight!

    but they are finally departages, and here are the results! 🙂

    4th: Albane TOUGERON, of the emancipator

    3rd: Marie-Cécile Baritou, blog learn how to play the piano

    2nd: Violaine Gorges, of family 365 games.


    drum rolls…

    (le suspense est insoutenable! 😉)

    1: Sandra Fernandes-Machado, of Sandra FM

    congratulations to all the participants and winners! I quickly contact you for your gifts! 😉

    and thank you readers for your enthusiasm!

  • How to install LAMP in CentOS? [Quick Guide] 

    8:30 pm May 11, 20177486

    I. introduction

    in this step-to-step tutorial under CentOS, we will see how to set up a LAMP server: Linux Apache – MariaDB-PHP, to prepare your Linux system to hosting applications.

    II. Installation of the web server Apache

    the first step in the MariaDB-Apache-PHP architecture is to install and configure Apache. So we’re going to connect to the application account, previously created and run the following command:

     $ sudo yum install httpd 

    this task runs with the privileges of the County root, since it uses a sudo command. The password requested, is the account of work, i.e., according to the example above, the account wiki.

    Before you can start the service, it must make the daemon httpd accessible during the reboot the system:

     $ sudo systemctl enable httpd.service $ sudo systemctl start httpd.service 

    at this stage, we can verify that the service is active and operational by connecting to the following url: http://. If the name is not stated in the directory of the company DNS names, you can always connect to the url referring to the IP address of the server. We should then see the screen below, on the open browser:

    reminder: in order to know the IP address of a server, you can run the following command which will inevitably return the IP address of the local server:

     $ sudo ip addr sho eth0 | grep inet | AWK '{print $2}';. [sed's//*$//'

    Si you do not want to open a browser, it is also possible to use the curl tool, that allows to respond to HTTP requests, without for as much consume exorbitant resources, a browser such as Firefox:

     $ curl http://

    III. Data base MariaDB Server installation

    you can then install the MariaDB database (in lieu of the MySQL engine, bought by Oracle Corp.), in order to store the information to access the wiki site:

     $ sudo yum install mariadb mariadb-server 

    once the installation is complete, you can start the service mariadb to secure its access :

     $ sudo systemctl start mariadb 

    one can then run the script mysql_secure_installation on the new instance MariaDB, to remove the default options, which are not always wise and lock a little more access to the system database:

     $ sudo mysql_secure_installation 

    the script Wizard offers first place to initialize the password of the root of the instance account :

    for the rest of the questions proposed by this script, you can leave the default options and tap [ENTER] to each of them.

    We can then make the active service during each reboot of the operating system:

     $ sudo systemctl enable mariadb.service 

    IV. The content PHP Server installation

    now that the database instance is installed and ready to be used, you can also install the PHP part to display dynamic content. This information will be distributed via the base MariaDB and displayed through the Apache Server:

     $ sudo yum install php php-mysql 

    at this stage, must then restart the httpd service to take into account the new PHP layer built into the Apache web server:

     $ sudo systemctl restart httpd.service 

    in order to expand the possibilities of the PHP interpreter You can also add modules below. This is not a requirement, only an option:

    – php – bcmath.x86_64: PHP applications using the bcmath library.
    – php – cli.x86_64: for PHP CLI command line.
    – php – common.x86_64: standard files for PHP.
    – php – dba.x86_64: applications PHP database abstraction layer.
    – php – devel.x86_64: files needed for the construction of PHP extensions.
    – php – embedded.x86_64: PHP library for embedded applications.
    – php – enchant.x86_64: extension of Enchantment for PHP applications.
    – php – fpm.x86_64: PHP FastCGI process manager.
    – php – gd.x86_64: module for PHP applications using the gd library.

    In order to know the existing modules on the system, you can execute the following statement:

     $ sudo yum search php-

    you can have even more information about a package, in particular, with the command below:

     $ sudo yum info  

    example: information about the package php – fpm:

     $ sudo yum info php - fpm 

    one can then check that the system is properly configured and that the PHP options are taken into account. To do this, simply create a PHP script, that will be called info.php. For this script to be recognized by the Apache web server, it must be saved in a special directory called web root.

    In a CentOS 7 distribution by default, this directory is located in/var/www/html. So we’ll have to edit a file info.php in this same directory, with the following content:


    , by running the url http:///info.php, we should be able to visualize the PHP homepage, below:

    ATTENTION: code test includes no space between “?” and “php”. If there is, we must delete it, because the result would be a blank page!

    That is, your under CentOS LAMP server is ready to host your applications!

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc