Commands Postfix Setup
Commands Postfix Setup
Program name:
{yp,nis,}domainname=hostname -y
dnsdomainname=hostname -d
Program options:
-a, --alias alias names
-A, --all-fqdns all long host names (FQDNs)
-b, --boot set default hostname if none available
-d, --domain DNS domain name
-f, --fqdn, --long long host name (FQDN)
-F, --file read host name or NIS domain name from given
file
-i, --ip-address addresses for the host name
-I, --all-ip-addresses all addresses for the host
-s, --short short host name
-y, --yp, --nis NIS/YP domain name
Description:
This command can get or set the host name or the NIS domain
name. You can
also get the DNS domain or the FQDN (fully qualified domain
name).
Unless you are using bind or NIS for host lookups you can
change the
FQDN (Fully Qualified Domain Name) and the DNS domain name
(which is
part of the FQDN) in the /etc/hosts file.
[root@vps733914 ~]# hostname set-hostname
mail.remaxindia.email
Usage: hostname [-b] {hostname|-F file} set host name
(from file)
hostname [-a|-A|-d|-f|-i|-I|-s|-y] display formatted name
hostname display host name
Program name:
{yp,nis,}domainname=hostname -y
dnsdomainname=hostname -d
Program options:
-a, --alias alias names
-A, --all-fqdns all long host names (FQDNs)
-b, --boot set default hostname if none available
-d, --domain DNS domain name
-f, --fqdn, --long long host name (FQDN)
-F, --file read host name or NIS domain name from given
file
-i, --ip-address addresses for the host name
-I, --all-ip-addresses all addresses for the host
-s, --short short host name
-y, --yp, --nis NIS/YP domain name
Description:
This command can get or set the host name or the NIS domain
name. You can
also get the DNS domain or the FQDN (fully qualified domain
name).
Unless you are using bind or NIS for host lookups you can
change the
FQDN (Fully Qualified Domain Name) and the DNS domain name
(which is
part of the FQDN) in the /etc/hosts file.
[root@vps733914 ~]# hostname set-hostname
mail.remaxindia.email -A
Usage: hostname [-b] {hostname|-F file} set host name
(from file)
hostname [-a|-A|-d|-f|-i|-I|-s|-y] display formatted name
hostname display host name
Program name:
{yp,nis,}domainname=hostname -y
dnsdomainname=hostname -d
Program options:
-a, --alias alias names
-A, --all-fqdns all long host names (FQDNs)
-b, --boot set default hostname if none available
-d, --domain DNS domain name
-f, --fqdn, --long long host name (FQDN)
-F, --file read host name or NIS domain name from given
file
-i, --ip-address addresses for the host name
-I, --all-ip-addresses all addresses for the host
-s, --short short host name
-y, --yp, --nis NIS/YP domain name
Description:
This command can get or set the host name or the NIS domain
name. You can
also get the DNS domain or the FQDN (fully qualified domain
name).
Unless you are using bind or NIS for host lookups you can
change the
FQDN (Fully Qualified Domain Name) and the DNS domain name
(which is
part of the FQDN) in the /etc/hosts file.
[root@vps733914 ~]# hostname
vps733914.ovh.net
[root@vps733914 ~]# hostnamectl set-hostname
mail.remaxindia.email
[root@vps733914 ~]# hostname
mail.remaxindia.email
[root@vps733914 ~]# vi /etc/hosts
[root@vps733914 ~]# vi /etc/hosts
[root@vps733914 ~]# rpm -Uvh
https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-
release-7-11.noarch.rpm
Retrieving
https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-
release-7-11.noarch.rpm
warning: /var/tmp/rpm-tmp.fmFbks: Header V3 RSA/SHA256
Signature, key ID 352c64e5: NOKEY
Preparing...
################################# [100%]
package epel-release-7-11.noarch is already installed
[root@vps733914 ~]# yum install postfix
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink
| 29 kB 00:00:00
* epel: mirror.23media.com
base | 3.6
kB 00:00:00
extras | 2.9
kB 00:00:00
updates |
2.9 kB 00:00:00
(1/4): base/7/x86_64/group_gz
| 165 kB 00:00:00
(2/4): extras/7/x86_64/primary_db
| 152 kB 00:00:00
(3/4): updates/7/x86_64/primary_db
| 1.1 MB 00:00:00
(4/4): base/7/x86_64/primary_db
| 6.0 MB 00:00:00
Package 2:postfix-2.10.1-7.el7.x86_64 already installed and latest
version
Nothing to do
[root@vps733914 ~]# vi /etc/postfix/main.cf
[root@vps733914 ~]# systemctl restart postfix
[root@vps733914 ~]# systemctl enable posrfix
Failed to execute operation: No such file or directory
[root@vps733914 ~]# systemctl enable postfix
[root@vps733914 ~]# useradd mailuser
[root@vps733914 ~]# passwd mailuser
Changing password for user mailuser.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@vps733914 ~]# telnet mail.remaxindia.email
-bash: telnet: command not found
[root@vps733914 ~]# yum install telnet telnet-server -y
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.23media.com
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-64.el7 will be installed
---> Package telnet-server.x86_64 1:0.17-64.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
telnet x86_64 1:0.17-64.el7
base 64 k
telnet-server x86_64 1:0.17-64.el7
base 41 k
Transaction Summary
=======================================
=======================================
======================================
Install 2 Packages
Installed:
telnet.x86_64 1:0.17-64.el7 telnet-
server.x86_64 1:0.17-64.el7
Complete!
[root@vps733914 ~]# telnet mail.remaxindia.email
Trying 51.77.192.2...
telnet: connect to address 51.77.192.2: Connection refused
[root@vps733914 ~]# yum install telnet
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.23media.com
Package 1:telnet-0.17-64.el7.x86_64 already installed and latest
version
Nothing to do
[root@vps733914 ~]# telnet
telnet> mail.remaxindia.email
?Invalid command
telnet> exit
?Invalid command
telnet> quit
[root@vps733914 ~]# telnet mail.remaxindia.email smtp
Trying 51.77.192.2...
telnet: connect to address 51.77.192.2: Connection refused
[root@vps733914 ~]#
[root@vps733914 ~]# telnet remaxindia.email smtp
Trying 51.77.192.2...
telnet: connect to address 51.77.192.2: Connection refused
[root@vps733914 ~]# telnet remaxindia.email smtp
Trying 51.77.192.2...
telnet: connect to address 51.77.192.2: Connection refused
[root@vps733914 ~]# telnet mail.remaxindia.email smtp
Trying 51.77.192.2...
telnet: connect to address 51.77.192.2: Connection refused
[root@vps733914 ~]# useradd mailuser1
[root@vps733914 ~]# passwd mailuser1
Changing password for user mailuser1.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@vps733914 ~]# yum install dovecot
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.23media.com
Resolving Dependencies
--> Running transaction check
---> Package dovecot.x86_64 1:2.2.36-3.el7 will be installed
--> Processing Dependency: libclucene-shared.so.1()(64bit) for
package: 1:dovecot-2.2.36-3.el7.x86_64
--> Processing Dependency: libclucene-core.so.1()(64bit) for
package: 1:dovecot-2.2.36-3.el7.x86_64
--> Running transaction check
---> Package clucene-core.x86_64 0:2.3.3.4-11.el7 will be
installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
dovecot x86_64 1:2.2.36-3.el7
base 4.4 M
Installing for dependencies:
clucene-core x86_64 2.3.3.4-11.el7
base 528 k
Transaction Summary
=======================================
=======================================
======================================
Install 1 Package (+1 Dependent package)
Installed:
dovecot.x86_64 1:2.2.36-3.el7
Dependency Installed:
clucene-core.x86_64 0:2.3.3.4-11.el7
Complete!
[root@vps733914 ~]# vi /etc/dovecot/dovecot.conf
[root@vps733914 ~]# vi /etc/dovecot/conf.d/10-mail.conf
[root@vps733914 ~]# vi /etc/dovecot/conf.d/10-auth.conf
[root@vps733914 ~]# vi /etc/dovecot/conf.d/10-master.conf
[root@vps733914 ~]# systemctl restart dovecot
[root@vps733914 ~]# systemctl enable dovecot
Created symlink from /etc/systemd/system/multi-
user.target.wants/dovecot.service to
/usr/lib/systemd/system/dovecot.service.
[root@vps733914 ~]# telnet mail.remaxindia.email pop3
Trying 51.77.192.2...
Connected to mail.remaxindia.email.
Escape character is '^]'.
+OK Dovecot ready.
user mailuser
+OK
pass tmc@2020
+OK Logged in.
retr 1
-ERR There's no message 1.
quit
+OK Logging out.
Connection closed by foreign host.
[root@vps733914 ~]# yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-
7.noarch.rpm
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
epel-release-latest-7.noarch.rpm
| 15 kB 00:00:00
Examining /var/tmp/yum-root-gD_qSb/epel-release-latest-
7.noarch.rpm: epel-release-7-11.noarch
/var/tmp/yum-root-gD_qSb/epel-release-latest-7.noarch.rpm: does
not update installed package.
Error: Nothing to do
[root@vps733914 ~]# yum install
http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
remi-release-7.rpm
| 17 kB 00:00:00
Examining /var/tmp/yum-root-gD_qSb/remi-release-7.rpm: remi-
release-7.7-1.el7.remi.noarch
Marking /var/tmp/yum-root-gD_qSb/remi-release-7.rpm to be
installed
Resolving Dependencies
--> Running transaction check
---> Package remi-release.noarch 0:7.7-1.el7.remi will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
remi-release noarch 7.7-
1.el7.remi /remi-release-7 23 k
Transaction Summary
=======================================
=======================================
======================================
Install 1 Package
Total size: 23 k
Installed size: 23 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : remi-release-7.7-1.el7.remi.noarch
1/1
Verifying : remi-release-7.7-1.el7.remi.noarch
1/1
Installed:
remi-release.noarch 0:7.7-1.el7.remi
Complete!
[root@vps733914 ~]# yum install yum-utils
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.23media.com
* remi-safe: mirror.23media.com
remi-safe |
3.0 kB 00:00:00
remi-safe/primary_db
| 1.6 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-52.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-
utils-1.1.31-52.el7.noarch
--> Processing Dependency: libxml2-python for package: yum-
utils-1.1.31-52.el7.noarch
--> Running transaction check
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be
installed
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
yum-utils noarch 1.1.31-52.el7
base 121 k
Installing for dependencies:
libxml2-python x86_64 2.9.1-6.el7_2.3
base 247 k
python-kitchen noarch 1.1.1-5.el7
base 267 k
Transaction Summary
=======================================
=======================================
======================================
Install 1 Package (+2 Dependent packages)
Installed:
yum-utils.noarch 0:1.1.31-52.el7
Dependency Installed:
libxml2-python.x86_64 0:2.9.1-6.el7_2.3 python-
kitchen.noarch 0:1.1.1-5.el7
Complete!
[root@vps733914 ~]# yum-config-manager --enable remi-php72
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
=======================================
========== repo: remi-php72
=======================================
==========
[remi-php72]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl =
cache = 0
cachedir = /var/cache/yum/x86_64/7/remi-php72
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = 1
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7/remi-php72/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7/remi-php72/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
hdrdir = /var/cache/yum/x86_64/7/remi-php72/headers
http_caching = all
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist = http://cdn.remirepo.net/enterprise/7/php72/mirror
mirrorlist_expire = 86400
name = Remi's PHP 7.2 RPM repository for Enterprise Linux 7 -
x86_64
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/7/remi-php72
pkgdir = /var/cache/yum/x86_64/7/remi-php72/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = remi-php72
ui_repoid_vars = releasever,
basearch
username =
Dependencies Resolved
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
mariadb-server x86_64 1:5.5.64-1.el7
base 11 M
nginx x86_64 1:1.12.2-3.el7
epel 531 k
php x86_64 7.2.23-1.el7.remi
remi-php72 3.2 M
php-cli x86_64 7.2.23-1.el7.remi
remi-php72 4.8 M
php-common x86_64 7.2.23-1.el7.remi
remi-php72 1.1 M
php-fpm x86_64 7.2.23-1.el7.remi
remi-php72 1.7 M
php-gd x86_64 7.2.23-1.el7.remi
remi-php72 80 k
php-mbstring x86_64 7.2.23-1.el7.remi
remi-php72 495 k
php-mysqlnd x86_64 7.2.23-1.el7.remi
remi-php72 235 k
php-pecl-imagick x86_64 3.4.4-1.el7.remi.7.2
remi-php72 162 k
php-pecl-mcrypt x86_64 1.0.3-1.el7.remi.7.2
remi-php72 30 k
php-pspell x86_64 7.2.23-1.el7.remi
remi-php72 54 k
php-xml x86_64 7.2.23-1.el7.remi
remi-php72 208 k
Installing for dependencies:
ImageMagick6-libs x86_64 6.9.10.66-
1.el7.remi remi-safe 2.4 M
LibRaw x86_64 0.19.2-1.el7
base 308 k
OpenEXR-libs x86_64 1.7.1-7.el7
base 217 k
adobe-mappings-cmap noarch 20171205-3.el7
base 2.1 M
adobe-mappings-cmap-deprecated noarch 20171205-
3.el7 base 114 k
adobe-mappings-pdf noarch 20180407-1.el7
base 703 k
apr x86_64 1.4.8-5.el7
base 103 k
apr-util x86_64 1.5.2-6.el7
base 92 k
aspell x86_64 12:0.60.6.1-9.el7
base 686 k
atk x86_64 2.28.1-1.el7
base 263 k
avahi-libs x86_64 0.6.31-19.el7
base 61 k
cairo x86_64 1.15.12-4.el7
base 741 k
cups-libs x86_64 1:1.6.3-40.el7
base 358 k
dejavu-fonts-common noarch 2.33-6.el7
base 64 k
dejavu-sans-fonts noarch 2.33-6.el7
base 1.4 M
fftw-libs-double x86_64 3.3.3-8.el7
base 759 k
fontconfig x86_64 2.13.0-4.3.el7
base 254 k
fontpackages-filesystem noarch 1.44-8.el7
base 9.9 k
fribidi x86_64 1.0.2-1.el7
base 79 k
gd x86_64 2.0.35-26.el7
base 146 k
gd-last x86_64 2.2.5-8.el7.remi
remi-safe 134 k
gdk-pixbuf2 x86_64 2.36.12-3.el7
base 570 k
gperftools-libs x86_64 2.6.1-1.el7
base 272 k
graphite2 x86_64 1.3.10-1.el7_3
base 115 k
graphviz x86_64 2.30.1-21.el7
base 1.3 M
gtk-update-icon-cache x86_64 3.22.30-3.el7
base 28 k
gtk2 x86_64 2.24.31-1.el7
base 3.4 M
harfbuzz x86_64 1.7.5-2.el7
base 267 k
hicolor-icon-theme noarch 0.12-7.el7
base 42 k
httpd x86_64 2.4.6-90.el7.centos
base 2.7 M
httpd-tools x86_64 2.4.6-90.el7.centos
base 91 k
ilmbase x86_64 1.0.3-7.el7
base 100 k
jasper-libs x86_64 1.900.1-33.el7
base 150 k
jbigkit-libs x86_64 2.0-11.el7
base 46 k
lcms2 x86_64 2.6-3.el7
base 150 k
libICE x86_64 1.0.9-9.el7
base 66 k
libSM x86_64 1.2.2-2.el7
base 39 k
libX11 x86_64 1.6.7-2.el7
base 607 k
libX11-common noarch 1.6.7-2.el7
base 164 k
libXau x86_64 1.0.8-2.1.el7
base 29 k
libXaw x86_64 1.0.13-4.el7
base 192 k
libXcomposite x86_64 0.4.4-4.1.el7
base 22 k
libXcursor x86_64 1.1.15-1.el7
base 30 k
libXdamage x86_64 1.1.4-4.1.el7
base 20 k
libXext x86_64 1.3.3-3.el7
base 39 k
libXfixes x86_64 5.0.3-1.el7
base 18 k
libXft x86_64 2.3.2-2.el7
base 58 k
libXi x86_64 1.7.9-1.el7
base 40 k
libXinerama x86_64 1.1.3-2.1.el7
base 14 k
libXmu x86_64 1.1.2-2.el7
base 71 k
libXpm x86_64 3.5.12-1.el7
base 55 k
libXrandr x86_64 1.5.1-2.el7
base 27 k
libXrender x86_64 0.9.10-1.el7
base 26 k
libXt x86_64 1.1.5-3.el7
base 173 k
libXxf86misc x86_64 1.0.3-7.1.el7
base 19 k
libXxf86vm x86_64 1.1.4-1.el7
base 18 k
libaio x86_64 0.3.109-13.el7
base 24 k
libargon2 x86_64 20161029-3.el7
epel 23 k
libfontenc x86_64 1.1.3-3.el7
base 31 k
libglvnd x86_64 1:1.0.1-
0.8.git5baa1e5.el7 base 89 k
libglvnd-egl x86_64 1:1.0.1-
0.8.git5baa1e5.el7 base 44 k
libglvnd-glx x86_64 1:1.0.1-
0.8.git5baa1e5.el7 base 125 k
libgs x86_64 9.25-2.el7_7.2
updates 4.6 M
libjpeg-turbo x86_64 1.2.90-8.el7
base 135 k
libmcrypt x86_64 2.5.8-13.el7
epel 99 k
libpaper x86_64 1.1.24-8.el7
base 37 k
libraqm x86_64 0.7.0-1.el7
epel 15 k
librsvg2 x86_64 2.40.20-1.el7
base 132 k
libthai x86_64 0.1.14-9.el7
base 187 k
libtiff x86_64 4.0.3-32.el7
base 171 k
libtool-ltdl x86_64 2.4.2-22.el7_3
base 49 k
libwayland-client x86_64 1.15.0-1.el7
base 33 k
libwayland-server x86_64 1.15.0-1.el7
base 39 k
libwebp7 x86_64 1.0.2-1.el7.remi
remi-safe 265 k
libwmf-lite x86_64 0.2.8.4-41.el7_1
base 66 k
libxcb x86_64 1.13-1.el7
base 214 k
libxshmfence x86_64 1.2-1.el7
base 7.2 k
libxslt x86_64 1.1.28-5.el7
base 242 k
mailcap noarch 2.1.41-2.el7
base 31 k
mariadb x86_64 1:5.5.64-1.el7
base 8.7 M
mesa-libEGL x86_64 18.3.4-5.el7
base 109 k
mesa-libGL x86_64 18.3.4-5.el7
base 165 k
mesa-libgbm x86_64 18.3.4-5.el7
base 39 k
mesa-libglapi x86_64 18.3.4-5.el7
base 45 k
nginx-all-modules noarch 1:1.12.2-3.el7
epel 16 k
nginx-filesystem noarch 1:1.12.2-3.el7
epel 17 k
nginx-mod-http-geoip x86_64 1:1.12.2-3.el7
epel 23 k
nginx-mod-http-image-filter x86_64 1:1.12.2-3.el7
epel 27 k
nginx-mod-http-perl x86_64 1:1.12.2-3.el7
epel 36 k
nginx-mod-http-xslt-filter x86_64 1:1.12.2-3.el7
epel 26 k
nginx-mod-mail x86_64 1:1.12.2-3.el7
epel 54 k
nginx-mod-stream x86_64 1:1.12.2-3.el7
epel 76 k
oniguruma5 x86_64 6.9.3-1.el7.remi
remi-safe 193 k
openjpeg2 x86_64 2.3.1-1.el7
base 153 k
pango x86_64 1.42.4-4.el7_7
updates 280 k
perl x86_64 4:5.16.3-294.el7_6
base 8.0 M
perl-Carp noarch 1.26-244.el7
base 19 k
perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7
base 32 k
perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7
base 57 k
perl-DBD-MySQL x86_64 4.023-6.el7
base 140 k
perl-DBI x86_64 1.627-4.el7
base 802 k
perl-Data-Dumper x86_64 2.145-3.el7
base 47 k
perl-Encode x86_64 2.51-7.el7
base 1.5 M
perl-Exporter noarch 5.68-3.el7
base 28 k
perl-File-Path noarch 2.09-2.el7
base 26 k
perl-File-Temp noarch 0.23.01-3.el7
base 56 k
perl-Filter x86_64 1.49-3.el7
base 76 k
perl-Getopt-Long noarch 2.40-3.el7
base 56 k
perl-HTTP-Tiny noarch 0.033-3.el7
base 38 k
perl-IO-Compress noarch 2.061-2.el7
base 260 k
perl-Net-Daemon noarch 0.48-5.el7
base 51 k
perl-PathTools x86_64 3.40-5.el7
base 82 k
perl-PlRPC noarch 0.2020-14.el7
base 36 k
perl-Pod-Escapes noarch 1:1.04-294.el7_6
base 51 k
perl-Pod-Perldoc noarch 3.20-4.el7
base 87 k
perl-Pod-Simple noarch 1:3.28-4.el7
base 216 k
perl-Pod-Usage noarch 1.63-3.el7
base 27 k
perl-Scalar-List-Utils x86_64 1.27-248.el7
base 36 k
perl-Socket x86_64 2.010-4.el7
base 49 k
perl-Storable x86_64 2.45-3.el7
base 77 k
perl-Text-ParseWords noarch 3.29-4.el7
base 14 k
perl-Time-HiRes x86_64 4:1.9725-3.el7
base 45 k
perl-Time-Local noarch 1.2300-2.el7
base 24 k
perl-constant noarch 1.27-2.el7
base 19 k
perl-libs x86_64 4:5.16.3-294.el7_6
base 688 k
perl-macros x86_64 4:5.16.3-294.el7_6
base 44 k
perl-parent noarch 1:0.225-244.el7
base 12 k
perl-podlators noarch 2.5.1-3.el7
base 112 k
perl-threads x86_64 1.87-4.el7
base 49 k
perl-threads-shared x86_64 1.43-6.el7
base 39 k
php-json x86_64 7.2.23-1.el7.remi
remi-php72 66 k
php-pdo x86_64 7.2.23-1.el7.remi
remi-php72 127 k
pixman x86_64 0.34.0-1.el7
base 248 k
urw-base35-bookman-fonts noarch 20170801-
10.el7 base 852 k
urw-base35-c059-fonts noarch 20170801-10.el7
base 879 k
urw-base35-d050000l-fonts noarch 20170801-
10.el7 base 75 k
urw-base35-fonts noarch 20170801-10.el7
base 7.6 k
urw-base35-fonts-common noarch 20170801-
10.el7 base 19 k
urw-base35-gothic-fonts noarch 20170801-10.el7
base 650 k
urw-base35-nimbus-mono-ps-fonts noarch 20170801-
10.el7 base 796 k
urw-base35-nimbus-roman-fonts noarch 20170801-
10.el7 base 860 k
urw-base35-nimbus-sans-fonts noarch 20170801-
10.el7 base 1.3 M
urw-base35-p052-fonts noarch 20170801-10.el7
base 978 k
urw-base35-standard-symbols-ps-fonts noarch 20170801-
10.el7 base 40 k
urw-base35-z003-fonts noarch 20170801-10.el7
base 275 k
xorg-x11-font-utils x86_64 1:7.5-21.el7
base 104 k
xorg-x11-server-utils x86_64 7.7-20.el7
base 178 k
Updating for dependencies:
mariadb-libs x86_64 1:5.5.64-1.el7
base 759 k
Transaction Summary
=======================================
=======================================
======================================
Install 13 Packages (+147 Dependent packages)
Upgrade ( 1 Dependent package)
Installed:
mariadb-server.x86_64 1:5.5.64-1.el7 nginx.x86_64
1:1.12.2-3.el7
php.x86_64 0:7.2.23-1.el7.remi php-cli.x86_64
0:7.2.23-1.el7.remi
php-common.x86_64 0:7.2.23-1.el7.remi php-
fpm.x86_64 0:7.2.23-1.el7.remi
php-gd.x86_64 0:7.2.23-1.el7.remi php-
mbstring.x86_64 0:7.2.23-1.el7.remi
php-mysqlnd.x86_64 0:7.2.23-1.el7.remi php-pecl-
imagick.x86_64 0:3.4.4-1.el7.remi.7.2
php-pecl-mcrypt.x86_64 0:1.0.3-1.el7.remi.7.2 php-
pspell.x86_64 0:7.2.23-1.el7.remi
php-xml.x86_64 0:7.2.23-1.el7.remi
Dependency Installed:
ImageMagick6-libs.x86_64 0:6.9.10.66-1.el7.remi
LibRaw.x86_64 0:0.19.2-1.el7
OpenEXR-libs.x86_64 0:1.7.1-7.el7
adobe-mappings-cmap.noarch 0:20171205-3.el7
adobe-mappings-cmap-deprecated.noarch 0:20171205-3.el7
adobe-mappings-pdf.noarch 0:20180407-1.el7
apr.x86_64 0:1.4.8-5.el7
apr-util.x86_64 0:1.5.2-6.el7
aspell.x86_64 12:0.60.6.1-9.el7
atk.x86_64 0:2.28.1-1.el7
avahi-libs.x86_64 0:0.6.31-19.el7
cairo.x86_64 0:1.15.12-4.el7
cups-libs.x86_64 1:1.6.3-40.el7
dejavu-fonts-common.noarch 0:2.33-6.el7
dejavu-sans-fonts.noarch 0:2.33-6.el7
fftw-libs-double.x86_64 0:3.3.3-8.el7
fontconfig.x86_64 0:2.13.0-4.3.el7
fontpackages-filesystem.noarch 0:1.44-8.el7
fribidi.x86_64 0:1.0.2-1.el7
gd.x86_64 0:2.0.35-26.el7
gd-last.x86_64 0:2.2.5-8.el7.remi
gdk-pixbuf2.x86_64 0:2.36.12-3.el7
gperftools-libs.x86_64 0:2.6.1-1.el7
graphite2.x86_64 0:1.3.10-1.el7_3
graphviz.x86_64 0:2.30.1-21.el7
gtk-update-icon-cache.x86_64 0:3.22.30-3.el7
gtk2.x86_64 0:2.24.31-1.el7
harfbuzz.x86_64 0:1.7.5-2.el7
hicolor-icon-theme.noarch 0:0.12-7.el7
httpd.x86_64 0:2.4.6-90.el7.centos
httpd-tools.x86_64 0:2.4.6-90.el7.centos
ilmbase.x86_64 0:1.0.3-7.el7
jasper-libs.x86_64 0:1.900.1-33.el7
jbigkit-libs.x86_64 0:2.0-11.el7
lcms2.x86_64 0:2.6-3.el7
libICE.x86_64 0:1.0.9-9.el7
libSM.x86_64 0:1.2.2-2.el7
libX11.x86_64 0:1.6.7-2.el7
libX11-common.noarch 0:1.6.7-2.el7
libXau.x86_64 0:1.0.8-2.1.el7
libXaw.x86_64 0:1.0.13-4.el7
libXcomposite.x86_64 0:0.4.4-4.1.el7
libXcursor.x86_64 0:1.1.15-1.el7
libXdamage.x86_64 0:1.1.4-4.1.el7
libXext.x86_64 0:1.3.3-3.el7
libXfixes.x86_64 0:5.0.3-1.el7
libXft.x86_64 0:2.3.2-2.el7
libXi.x86_64 0:1.7.9-1.el7
libXinerama.x86_64 0:1.1.3-2.1.el7
libXmu.x86_64 0:1.1.2-2.el7
libXpm.x86_64 0:3.5.12-1.el7
libXrandr.x86_64 0:1.5.1-2.el7
libXrender.x86_64 0:0.9.10-1.el7
libXt.x86_64 0:1.1.5-3.el7
libXxf86misc.x86_64 0:1.0.3-7.1.el7
libXxf86vm.x86_64 0:1.1.4-1.el7
libaio.x86_64 0:0.3.109-13.el7
libargon2.x86_64 0:20161029-3.el7
libfontenc.x86_64 0:1.1.3-3.el7
libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7
libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7
libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7
libgs.x86_64 0:9.25-2.el7_7.2
libjpeg-turbo.x86_64 0:1.2.90-8.el7
libmcrypt.x86_64 0:2.5.8-13.el7
libpaper.x86_64 0:1.1.24-8.el7
libraqm.x86_64 0:0.7.0-1.el7
librsvg2.x86_64 0:2.40.20-1.el7
libthai.x86_64 0:0.1.14-9.el7
libtiff.x86_64 0:4.0.3-32.el7
libtool-ltdl.x86_64 0:2.4.2-22.el7_3
libwayland-client.x86_64 0:1.15.0-1.el7
libwayland-server.x86_64 0:1.15.0-1.el7
libwebp7.x86_64 0:1.0.2-1.el7.remi
libwmf-lite.x86_64 0:0.2.8.4-41.el7_1
libxcb.x86_64 0:1.13-1.el7
libxshmfence.x86_64 0:1.2-1.el7
libxslt.x86_64 0:1.1.28-5.el7
mailcap.noarch 0:2.1.41-2.el7
mariadb.x86_64 1:5.5.64-1.el7
mesa-libEGL.x86_64 0:18.3.4-5.el7
mesa-libGL.x86_64 0:18.3.4-5.el7
mesa-libgbm.x86_64 0:18.3.4-5.el7
mesa-libglapi.x86_64 0:18.3.4-5.el7
nginx-all-modules.noarch 1:1.12.2-3.el7
nginx-filesystem.noarch 1:1.12.2-3.el7
nginx-mod-http-geoip.x86_64 1:1.12.2-3.el7
nginx-mod-http-image-filter.x86_64 1:1.12.2-3.el7
nginx-mod-http-perl.x86_64 1:1.12.2-3.el7
nginx-mod-http-xslt-filter.x86_64 1:1.12.2-3.el7
nginx-mod-mail.x86_64 1:1.12.2-3.el7
nginx-mod-stream.x86_64 1:1.12.2-3.el7
oniguruma5.x86_64 0:6.9.3-1.el7.remi
openjpeg2.x86_64 0:2.3.1-1.el7
pango.x86_64 0:1.42.4-4.el7_7
perl.x86_64 4:5.16.3-294.el7_6
perl-Carp.noarch 0:1.26-244.el7
perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7
perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7
perl-DBD-MySQL.x86_64 0:4.023-6.el7
perl-DBI.x86_64 0:1.627-4.el7
perl-Data-Dumper.x86_64 0:2.145-3.el7
perl-Encode.x86_64 0:2.51-7.el7
perl-Exporter.noarch 0:5.68-3.el7
perl-File-Path.noarch 0:2.09-2.el7
perl-File-Temp.noarch 0:0.23.01-3.el7
perl-Filter.x86_64 0:1.49-3.el7
perl-Getopt-Long.noarch 0:2.40-3.el7
perl-HTTP-Tiny.noarch 0:0.033-3.el7
perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7
perl-PathTools.x86_64 0:3.40-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7
perl-Pod-Escapes.noarch 1:1.04-294.el7_6
perl-Pod-Perldoc.noarch 0:3.20-4.el7
perl-Pod-Simple.noarch 1:3.28-4.el7
perl-Pod-Usage.noarch 0:1.63-3.el7
perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
perl-Socket.x86_64 0:2.010-4.el7
perl-Storable.x86_64 0:2.45-3.el7
perl-Text-ParseWords.noarch 0:3.29-4.el7
perl-Time-HiRes.x86_64 4:1.9725-3.el7
perl-Time-Local.noarch 0:1.2300-2.el7
perl-constant.noarch 0:1.27-2.el7
perl-libs.x86_64 4:5.16.3-294.el7_6
perl-macros.x86_64 4:5.16.3-294.el7_6
perl-parent.noarch 1:0.225-244.el7
perl-podlators.noarch 0:2.5.1-3.el7
perl-threads.x86_64 0:1.87-4.el7
perl-threads-shared.x86_64 0:1.43-6.el7
php-json.x86_64 0:7.2.23-1.el7.remi
php-pdo.x86_64 0:7.2.23-1.el7.remi
pixman.x86_64 0:0.34.0-1.el7
urw-base35-bookman-fonts.noarch 0:20170801-10.el7
urw-base35-c059-fonts.noarch 0:20170801-10.el7
urw-base35-d050000l-fonts.noarch 0:20170801-10.el7
urw-base35-fonts.noarch 0:20170801-10.el7
urw-base35-fonts-common.noarch 0:20170801-10.el7
urw-base35-gothic-fonts.noarch 0:20170801-10.el7
urw-base35-nimbus-mono-ps-fonts.noarch 0:20170801-10.el7
urw-base35-nimbus-roman-fonts.noarch 0:20170801-10.el7
urw-base35-nimbus-sans-fonts.noarch 0:20170801-10.el7
urw-base35-p052-fonts.noarch 0:20170801-10.el7
urw-base35-standard-symbols-ps-fonts.noarch 0:20170801-
10.el7
urw-base35-z003-fonts.noarch 0:20170801-10.el7
xorg-x11-font-utils.x86_64 1:7.5-21.el7
xorg-x11-server-utils.x86_64 0:7.7-20.el7
Dependency Updated:
mariadb-libs.x86_64 1:5.5.64-1.el7
Complete!
[root@vps733914 ~]# systemctl start nginx
[root@vps733914 ~]# systemctl enable nginx
Created symlink from /etc/systemd/system/multi-
user.target.wants/nginx.service to
/usr/lib/systemd/system/nginx.service.
[root@vps733914 ~]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled;
vendor preset: disabled)
Active: active (running) since Wed 2019-09-25 15:49:31
CEST; 13s ago
Main PID: 20135 (nginx)
CGroup: /system.slice/nginx.service
├─20135 nginx: master process /usr/sbin/nginx
└─20136 nginx: worker process
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Setting the root password ensures that nobody can log into the
MariaDB
root user without the proper authorisation.
Reloading the privilege tables will ensure that all changes made
so far
will take effect immediately.
Cleaning up...
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.
MariaDB [(none)]> CREATE DATABASE roundcubemail /*!40101
CHARACTER SET utf8 COLLATE utf8_general_ci */;
Query OK, 1 row affected (0.01 sec)
=======================================
=======================================
======================================
Package Arch Version
Repository Size
=======================================
=======================================
======================================
Installing:
wget x86_64 1.14-18.el7_6.1
base 547 k
Transaction Summary
=======================================
=======================================
======================================
Install 1 Package
Installed:
wget.x86_64 0:1.14-18.el7_6.1
Complete!
[root@mail ~]# wget -c
https://github.com/roundcube/roundcubemail/releases/download/
1.3.7/roundcubemail-1.3.7-complete.tar.gz
--2019-09-25 16:18:23--
https://github.com/roundcube/roundcubemail/releases/download/
1.3.7/roundcubemail-1.3.7-complete.tar.gz
Resolving github.com (github.com)... 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443...
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-
2e65be.s3.amazonaws.com/4224042/adb4c4d4-937c-11e8-8f8f-
2d844ee44f73?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-
Credential=AKIAIWNJYAX4CSVEH53A%2F20190925%2Fus-east-
1%2Fs3%2Faws4_request&X-Amz-Date=20190925T141824Z&X-
Amz-Expires=300&X-Amz-
Signature=3ac3ebb83b2a1efb11d42caefcd18ccdbb8cb40a38bab
096d2c772000ccd6fe4&X-Amz-
SignedHeaders=host&actor_id=0&response-content-
disposition=attachment%3B%20filename%3Droundcubemail-
1.3.7-complete.tar.gz&response-content-type=application
%2Foctet-stream [following]
--2019-09-25 16:18:24-- https://github-production-release-asset-
2e65be.s3.amazonaws.com/4224042/adb4c4d4-937c-11e8-8f8f-
2d844ee44f73?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-
Credential=AKIAIWNJYAX4CSVEH53A%2F20190925%2Fus-east-
1%2Fs3%2Faws4_request&X-Amz-Date=20190925T141824Z&X-
Amz-Expires=300&X-Amz-
Signature=3ac3ebb83b2a1efb11d42caefcd18ccdbb8cb40a38bab
096d2c772000ccd6fe4&X-Amz-
SignedHeaders=host&actor_id=0&response-content-
disposition=attachment%3B%20filename%3Droundcubemail-
1.3.7-complete.tar.gz&response-content-type=application
%2Foctet-stream
Resolving github-production-release-asset-
2e65be.s3.amazonaws.com (github-production-release-asset-
2e65be.s3.amazonaws.com)... 52.216.147.35
Connecting to github-production-release-asset-
2e65be.s3.amazonaws.com (github-production-release-asset-
2e65be.s3.amazonaws.com)|52.216.147.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5533537 (5.3M) [application/octet-stream]
Saving to: 'roundcubemail-1.3.7-complete.tar.gz'
100%
[=======================================
===================================>]
5,533,537 4.95MB/s in 1.1s
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.
Database changed
MariaDB [roundcubemail]> select * from roundcubemail;
ERROR 1146 (42S02): Table 'roundcubemail.roundcubemail'
doesn't exist
MariaDB [roundcubemail]> select * from
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax;
check the manual that corresponds to your MariaDB server
version for the right syntax to use near '' at line 1
MariaDB [roundcubemail]> select * from roundcube;
ERROR 1146 (42S02): Table 'roundcubemail.roundcube' doesn't
exist
MariaDB [roundcubemail]> CREATE TABLE `users` (
-> `user_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
-> `username` varchar(128) BINARY NOT NULL,
-> `mail_host` varchar(128) NOT NULL,
-> `created` datetime NOT NULL DEFAULT '1000-01-01
00:00:00',
-> `last_login` datetime DEFAULT NULL,
-> `failed_login` datetime DEFAULT NULL,
-> `failed_login_counter` int(10) UNSIGNED DEFAULT NULL,
-> `language` varchar(5),
-> `preferences` longtext,
-> PRIMARY KEY(`user_id`),
-> UNIQUE `username` (`username`, `mail_host`)
-> ) ;
ERROR 1050 (42S01): Table 'users' already exists
MariaDB [roundcubemail]> select * from users;
Empty set (0.00 sec)