2023-09

Ubuntu23.04_en

Ubuntu Server23.04 ; OS Install

Ubuntu Server 23.04 Download Installation Image The installation media for Ubuntu Server can be downloaded from the official site on the Internet. As long as you have a fast connection, you can download the OS itself in about 2 to 3 minutes. You will need to create an installation CD/DVD from the downloaded iso file. (approx. 2.5G) The iso file itself can be used for installation on a virtual machine using Vmware or other software. The iso file can be downloaded from the "Official Ubuntu Download Site". Ubuntu 23.04 (released on April 20, 2023) is supported until January 2024, so it is safer to install the LTS version of Ubuntu 22.04 in the production environment.
Slackware 15.0_en

Slackware15.0 : OS image download, boot

About Slackware Slackware is one of the Linux distributions. However, in the early days of Linux, it was one of the two major distributions so commonly used that it was said that Linux was either Slackware or Red Hat Linux. Launched in 1992, Slackware celebrates its 31st anniversary this year. The latest version is 15.0, released on February 4, 2022. Forte ・High stability ・Secure with few bugs and security holes ・It is capable of high operating speeds. Slackware is fast because it installs only the components that users need. ・Highly compliant with standards and suitable for servers ・Slackware is simple to use, and if you can master it, you can create your own environment. ・SlackBuilds, which automates the installation of apps, is available, and the SlackBuilds site has a database of scripts for creating various packages on your own. Furthermore, if you install sbopkg, you can browse the Slackbuilds database with a single command and automatically download, generate, and install packages. ・Slackware allows you to use emacs, vim, and gimp, which are standard Linux applications.
Slackware 15.0_en

Slackware 15.0 ; Disk partitioning

Partitioning First, basic partitioning divides the disk space into two parts: / (root) and a partition for swap. The partition for swap must be prepared. 1.Using gdisk commands When gdisk is invoked, the following is displayed. gdisk always requires a device file name as an argument
Slackware 15.0_en

Slackware 15.0 ; Disk partition format

Partition formatting and directory mapping 1.Launch Slackwar...
Slackware 15.0_en

Slackware15.0 ; Installing packages

Installing packages Select installation media and other inst...
Slackware 15.0_en

Slackware15.0 ; Various settings during installation

Creating Bootstick To create an emergency Bootstick, insert a USB stick, select Create, and press Enter. Select Skip since you will not create it this time. Install Boot Manager ELILO Installation If installed on a machine with a UEFI boot PC or motherboard, the following screen will appear PCs running on UEFI firmware will not work with LILO, so proceed to install ELILO designed for EFI/UEFI systems Select skip and press Enter to continue
Slackware 15.0_en

Slackware15.0 ; Various settings after OS installation #I

Adding General Users Root is a privileged user and should not normally be logged in as root. You must create your own account separate from root. Create a login user with the following command # useradd huong # passwd huong New password: Retype new password: passwd: password updated successfully Create user's home directory Setting up the use of the sudo command To grant sudo privileges to the created general user, use the command "visudo" as root and edit the file "sudoers". This time, "users belonging to the wheel group can use it; they will not be asked for their password when sudoing." Use the
Slackware 15.0_en

Slackware15.0 ; Various settings after OS installation #2

SSH Remote Connection Configure the default settings to increase the security of ssh connections. 1. SSH service configuration file modification Modify the configuration file to change the SSH service settings. The SSH service configuration file is "/etc/ssh/sshd_config".
Slackware 15.0_en

Slackware15.0 ; SSH connect with public key

Creation of public and private key pairs Create a public/private key pair for a user connecting to a Linux server using OpenSSH. Use ssh-keygen to create the key pair. The creation of a public/private key pair is performed with remote login user privileges. If you do not specify the destination and file name, id_ed25519 and id_ed25519.pub will be created in /home/(user name)/.ssh/. On the way, enter the password for the key.
Slackware 15.0_en

Slackware15.0 ; FTP (Vsftpd) server installation

Vsftpd Configuration Slackware has "vsftpd" installed by default, but it is not activated.   Edit the "vsftpd" configuration file to activate it. # vi /etc/vsftpd.conf Change to line 12 NO. anonymous_enable=NO Change line 113 to YES listen=YES Add to last line use_localtime=YES Enable ftp as "inetd" is in charge of startup
Slackware 15.0_en

Slackware15.0 ; WEB server (Apache) , PHP , MariaDB installation

WEB server (Apache) Apache Installation ①system update ➁http...
Slackware 15.0_en

Slackware15.0 ; WordPress Download and Installation

Database for WordPress Create user, password and database fo...
Slackware 15.0_en

Slackware15.0 ; Mail Server Install

Postfix Installation ①Edit postfix configuration file To prevent unauthorized mail relay, configure Postfix to require authentication for outgoing mail as well, using Dovecot's SASL function.
openSUSE_15.3_en

Opensuse 15.x ; Zabbix6 Install

Installation of open source integrated monitoring software "Zabbix" Zabbix is an open source integrated monitoring software for centralized monitoring of servers, networks and applications. It provides monitoring, fault detection and notification functions required for integrated monitoring. With Zabbix agent and SNMP support for many platforms, you can monitor your entire system with a single Zabbix. To run Zabbix, you need PHP programming language, MySQL/MariaDB as database server, and a web server such as Apache or Nginx. In this case, we will proceed on the assumption that all of the following conditions have already been configured. ・OS : OpenSUSE15.5 ・Web server : Apache2.4.51 ・PHP8.0.29 ・Database : MariaDB10.6 Please refer to the following to configure the above
OracleLinux 8.6_en

OracleLinux 8.x ; Icinga2 Monitoring Application Installation

What is Icinga2? It is an open source software for system monitoring, derived and developed from a monitoring software called Nagios. In this article, we will install the Icinga2 monitoring application on OracleLinux8.x with RHEL8. The same can be done on Rocky Linux8.x and AlmaLinux8.x. However, please note that some information related to PowerTools is different from the information on this page. 1.Prerequisite. The requirement for installing Icinga2 is that you must have LAMP installed. PHP 7.3 or later version is also required. In this case, it is assumed that the following have been built MySQL   Ver 8.0.32 PHP    7.4.33 Httpd   Apache/2.4.37 SELINUX   permissive