Entradas

Mostrando entradas de septiembre, 2022

How Manually Removing A Domain Controller Server

Imagen
 Thank to: https://argonsys.com/ Use of DCPROMO is still the proper way to remove a DC server in an Active Directory infrastructure. The following video provides an example of these steps: Certain situations, such as server crash or failure of the DCPROMO option, require manual removal of the DC from the system by cleaning up the servers metadata. The following detailed steps will help you accomplish this: Removing metadata via Active Directory Users and Computers Log in to DC server as Domain/Enterprise administrator and navigate to  Server Manager > Tools > Active Directory Users and Computers Expand the  Domain > Domain Controllers Right click on the Domain Controller you need to manually remove and click  D elete Click  Yes  to confirm within the Active Directory Domain Services dialog box In next dialog box, select  This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO)  and click

Nextcloud Ldap Integration

Imagen
 Thank to: https://www.server-world.info/ Configure LDAP Integration to NextCloud to login with LDAP user accounts. [1] Install OpenLDAP Server, refer to here . [2] Configure NextCloud to access to LDAP Server from PHP scripts. root@dlp:~#  apt  -y install php-ldap root@dlp:~#  systemctl  restart php7.4-fpm [3] Login to NextCloud Web with admin account and open [Apps]. [4] Select [Your apps] on the left pane and Click [Enable] button on [LDAP user and group backend] section. [5] After enabling [LDAP user and group backend], open settings again and select [Administration] - [LDAP / AD integration] on the left pane. [6] Input LDAP server's information to connect. Like this example to use OpenLDAP on Ubuntu Server, it's OK to input server's hostname or IP addreess and Base DN only. Click [Test Base DN] button and if [Configuration OK] message is displayed like follows, that's OK, Click [Continue] to proceed. For [User DN] and its [Password] fields, generally input a LDAP u

How to Install Nextcloud with Nginx Webserver on Ubuntu 20.04

 Thank to: https://www.vultr.com/ Overview NextCloud  is an open-source self-hosted cloud storage server and workspace tool. Its extensive plug-in community offers solutions for most file-hosting and collaborative needs. Prerequisites Deploy a new  Ubuntu 20.04 Vultr cloud server . Set up a  non-root user with sudo privileges . Verify your server  is up to date . Install Dependencies Install unzip. $ sudo apt-get install unzip Install the server dependencies. $ sudo apt-get install nginx mysql-server Install the PHP dependencies. $ sudo apt-get install php7.4 php7.4-cli php7.4-common php7.4-json php7.4-fpm php7.4-curl php7.4-mysql php7.4-gd php7.4-opcache php7.4-xml php7.4-zip php7.4-mbstring PHP Setup Verify  php7.4-fpm  is installed. $ php-fpm7.4 --version PHP 7.4.3 (fpm-fcgi) Start and enable  php7.4-fpm . $ sudo systemctl start php7.4-fpm $ sudo systemctl enable php7.4-fpm Verify  php7.4-fpm  is running. $ sudo systemctl status php7.4-fpm Active: active (running) Database Setup Ver