background preloader

Linux server 18.04

Facebook Twitter

Initial Server Setup with Ubuntu 18.04. Introduction When you first create a new Ubuntu 18.04 server, there are a few configuration steps that you should take early on as part of the basic setup.

Initial Server Setup with Ubuntu 18.04

This will increase the security and usability of your server and will give you a solid foundation for subsequent actions. Note: The guide below demonstrates how to manually complete the steps we recommend for new Ubuntu 18.04 servers. Following this procedure manually can be useful to learn some basic system administration skills and as an exercise to fully understand the actions being taken on your server.

As an alternative, if you wish to get up and running more quickly, you can run our initial server setup script which automates these steps. Step 1 — Logging in as Root To log into your server, you will need to know your server’s public IP address. Accept the warning about host authenticity if it appears. About Root. How to Set Up SSH Keys on Ubuntu 18.04. Introduction SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers.

How to Set Up SSH Keys on Ubuntu 18.04

When working with an Ubuntu server, chances are you will spend most of your time in a terminal session connected to your server through SSH. In this guide, we’ll focus on setting up SSH keys for a vanilla Ubuntu 18.04 installation. SSH keys provide an easy, secure way of logging into your server and are recommended for all users. Step 1 — Create the RSA Key Pair The first step is to create a key pair on the client machine (usually your computer): ssh-keygen By default ssh-keygen will create a 2048-bit RSA key pair, which is secure enough for most use cases (you may optionally pass in the -b 4096 flag to create a larger 4096-bit key).

After entering the command, you should see the following output: Output. Utiliser des clés SSH avec Windows pour les machines virtuelles Linux. Authentification SSH par clés. Jusqu'à présent, nous avons pris pour habitude d’utiliser comme seul facteur d'authentification le mot de passe.

Authentification SSH par clés

Il faut néanmoins savoir qu'il est également possible d'utiliser un autre facteur, une clé. Utiliser des clés SSH avec Windows pour les machines virtuelles Linux. Tutoriel pour le déploiement d'un serveur Ubuntu avec Apache. Le mot « Ubuntu » désigne une notion humaniste originaire du Sud de l’Afrique qui pourrait être traduite par « je suis ce que je suis grâce à ce que nous sommes tous ».

Tutoriel pour le déploiement d'un serveur Ubuntu avec Apache

Ubuntu est aussi le nom de la distribution Linux développée et maintenue par la société Canonical. Cette distribution est basée sur la distribution Linux Debian dont elle est très proche. Une version avec support étendu, dite LTS (Long Term Support), sort tous les deux ans au mois d’avril des années paires et a ses mises à jour assurées pendant 5 ans. How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04. A previous version of this tutorial was written by Brennan Bearnes.

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04

Introduction A “LAMP” stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. Comment installer MySQL sur Ubuntu 18.04. Introduction MySQL est un système de gestion de base de données Open Source, couramment installé dans le cadre de la pile LAMP (Linux, Apache, MySQL, PHP/Python/Perl) populaire.

Comment installer MySQL sur Ubuntu 18.04

Il utilise une base de données relationnelle et SQL (Structured Query Language, en français langage de requête structurée) pour gérer ses données. How To Set Up Multiple Domains on an Apache Web Server. Introduction The Apache web server is a popular method for serving websites on the internet.

How To Set Up Multiple Domains on an Apache Web Server

As of 2019, it is estimated to serve 29% of all active websites and it offers robustness and flexibility for developers. Using Apache, an administrator can set up one server to host multiple domains or sites off of a single interface or IP by using a matching system. Each domain or individual site — known as a “virtual host” — that is configured using Apache will direct the visitor to a specific directory holding that site’s information.

This is done without indicating that the same server is also responsible for other sites. How To Install and Secure phpMyAdmin on Ubuntu 18.04. An earlier version of this tutorial was written by Brennan Bearnes.

How To Install and Secure phpMyAdmin on Ubuntu 18.04

Introduction While many users need the functionality of a database management system like MySQL, they may not feel comfortable interacting with the system solely from the MySQL prompt. phpMyAdmin was created so that users can interact with MySQL through a web interface. In this guide, we’ll discuss how to install and secure phpMyAdmin so that you can safely use it to manage your databases on an Ubuntu 18.04 system.

Prerequisites Before you get started with this guide, you need to have some basic steps completed. 18.04 — Impossible de localiser le paquet phpmyadmin sur Ubuntu Server 18.04. How To Use Filezilla to Transfer and Manage Files Securely on your VPS. How to Install and Configure Samba on Ubuntu 18.04. Samba is a free and open-source re-implementation of the SMB/CIFS network file sharing protocol that allows end users to access files, printers, and other shared resources.

How to Install and Configure Samba on Ubuntu 18.04

Protégez un dossier avec un .htaccess - Concevez votre site web avec PHP et MySQL. Créez maintenant un nouveau fichier avec votre éditeur de texte.

Protégez un dossier avec un .htaccess - Concevez votre site web avec PHP et MySQL

Le.htpasswdva contenir la liste des personnes autorisées à accéder aux pages du dossier. On y inscrit une personne par ligne, sous cette forme : login:mot_de_passe_crypté Au final, votre fichier.htpasswddevrait ressembler à ceci : mateo21:$1$MEqT//cb$hAVid.qmmSGFW/wDlIfQ81 ptipilou:$1$/lgP8dYa$sQNXcCP47KhP1sneRIZoO0 djfox:$1$lT7nqnsg$cVtoPfe0IgrjES7Ushmoy. vincent:$1$h4oVHp3O$X7Ejpn.uuOhJRkT3qnw3i0 Dans cet exemple, il y a quatre personnes autorisées à accéder au dossier : mateo21, ptipilou, djfox et vincent. Comment peut-on crypter les mots de passe ? Bonne question ! Par exemple, si mon mot de passe est « kangourou », voici le code PHP que je devrai écrire pour l'obtenir en version cryptée :

Ajouter un serveur GNU/Linux dans un Active Directory. Second article sur l'intégration entre des serveurs GNU/Linux et des serveurs Active Directory. Ajouter une machine Ubuntu(GNU/Linux) dans un domain Active Directory (LDAP) – Elwan7's Blog. Les systèmes d’exploitation GNU/Linux n’ont pas la cote en entreprise c’est un fait,tu as beau essayé de les défendre les gens (la majorité des DSI) préférerons utiliser le système Windows et d’après le peu d’expérience que j’ai eu je pense que cette manque de considération est du a une désinformation. How To Create a Self-Signed SSL Cert for Apache in Ubuntu 18.04. A previous version of this tutorial was written by Justin Ellingwood Introduction TLS, or transport layer security, and its predecessor SSL, which stands for secure sockets layer, are web protocols used to wrap normal traffic in a protected, encrypted wrapper.

Using this technology, servers can send traffic safely between servers and clients without the possibility of messages being intercepted by outside parties. The certificate system also assists users in verifying the identity of the sites that they are connecting with. Webmin. How To Install Webmin on Ubuntu 18.04. The author selected the Tech Education Fund to receive a donation as part of the Write for DOnations program. Introduction Webmin is a web-based control panel for any Linux machine which lets you manage your server through a modern web-based interface. With Webmin, you can change settings for common packages on the fly, including web servers and databases, as well as manage users, groups, and software packages.

In this tutorial, you’ll install and configure Webmin on your server and secure access to the interface with a valid certificate using Let’s Encrypt and Apache. You’ll then use Webmin to add new user accounts, and update all packages on your server from the dashboard. Prerequisites. Google Traduction. Intégrer un poste de travail Ubuntu à Active Directory pour l'authentification unique réelle. Upgrade PHP version to PHP 7.4 on Ubuntu - Cloudbooklet.