Install Sentora pe Centos server dedicat online.net

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert
Am vazut ca este cerut asa ca voi face un mic tutorial pe aceasta tema sa aveti un server online functional.

Preparare:

1. comandam serverul si recomandarea mea este online.net, serverul de 15 euro
2. la os alegem Centos 7.X
3. daca contul este nou iti va cere copie dupa BI, daca contul e vechi, acesta va fi disponibil in cateva secunde in contul vostru
4. instalarea la centos dureaza aproximativ o ora

Instalare sentora pe server + tot ce are nevoie.

1. ne logam pe server cu putty https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Datele de logare sunt cele care le-ati setat voi in procesul de instalare la centos
2. in panoul de administrare la domeniu adaugati un Cname server.site.com pentru ca o sa va ceara aceasta adresa in prcesul de instalare.
2. Executati una din comenzile de mai jos. Daca prima nu merge, atunci executati adoua.
Cod:
bash <(curl -L -Ss http://sentora.org/install)
Cod:
yum install wget -y && cd /tmp && wget sentora.org/install && bash install
3. urmatii pasii in procesul de instalare.
4. in functie de vps sau server dedicat procesul de install poate dura intre 10 si 45 minute.
5. la final va sunt afisate datele de logare care recomanda sa le salvati bine in calculator. Dupa ce ati salvat datele recomand sa stergeti fisierul password.txt
Cod:
rm -rf password.txt
Extra:
1. executam un update:
Cod:
yum update -y
2. install firewall sa ne protejam putin
Cod:
cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
perl /usr/local/csf/bin/csftest.pl
3. activam firewall
Cod:
nano /etc/csf/csf.conf
si la CSF test schimbam 1 cu 0.
Acum dam restart la firewall csf -r
Banare ip: csf -d ip
4. editam php.ini in functie de cerintele care le avem. In general merg setarile default.
Cod:
nano /etc/php.ini
Acum login in sentora panel. Adresa poate fi server.site.com setata de voi sau ip de la server.

 

Lucifer

Member
Registered
Banned
Frumos tutorial Alex, dar am o problema. Prima comanda nu face nimic iar a 2-a apare doar asta:

--2017-11-20 13:41:32-- (try:19) http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection timed out.
Retrying.
 

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert
Incearca iar si ar trebui sa mearga.
Eroarea insemna ca nu se poate conecta la sentora.
Poti da un restart la retea si apoi incerci iar.
Cod:
sudo systemctl restart network
 

Lucifer

Member
Registered
Banned
Asta apare dupa ce adaug comanda, si o i-a de la capat apoi..

Cod:
[root@vps481519 tmp]# sudo systemctl restart network
[root@vps481519 tmp]# yum install wget -y && cd /tmp && wget sentora.org/install && bash install
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: fr.mirror.babylon.network
Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version
Nothing to do
--2017-11-20 16:29:26--  http://sentora.org/install
Resolving sentora.org (sentora.org)... 5.196.10.149
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection timed out.
Retrying.

--2017-11-20 16:31:34--  (try: 2)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80...
 

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert

Lucifer

Member
Registered
Banned
La punctul 3 ramanea in conectare si am utilizat prima comanda de jos. Apoi am continuat cu pasul 4 si imi apare:
[root@vps481519 ~]# chmod +x install
chmod: cannot access ‘install’: No such file or directory
[root@vps481519 ~]#
 

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert
chmod +x install
normal ca nu mai este acelasi nume la fisier.
da ls si vezi numele la fisier.
Poate fi sentora_install.sh sau sentora.sh daca ai folosit sursa de la roforum.
 

Lucifer

Member
Registered
Banned
Acelasi lucru:

Cod:
[root@vps481519 ~]# sudo ./sentora_install.sh

############################################################
#  Welcome to the Official Sentora Installer 1.0.3  #
############################################################

Checking that minimal requirements are ok
Detected : CentOs  7  x86_64
Ok.
DB server will be mariaDB

-- Installing wget and dns utils required to manage inputs
Loaded plugins: fastestmirror
base                                                        | 3.6 kB  00:00:00
epel/x86_64/metalink                                        |  27 kB  00:00:00
epel                                                        | 4.7 kB  00:00:00
extras                                                      | 3.4 kB  00:00:00
updates                                                     | 3.4 kB  00:00:00
(1/7): base/7/x86_64/group_gz                               | 156 kB  00:00:00
(2/7): epel/x86_64/group_gz                                 | 261 kB  00:00:00
(3/7): base/7/x86_64/primary_db                             | 5.7 MB  00:00:00
(4/7): epel/x86_64/updateinfo                               | 848 kB  00:00:00
(5/7): extras/7/x86_64/primary_db                           | 130 kB  00:00:00
(6/7): updates/7/x86_64/primary_db                          | 3.6 MB  00:00:00
(7/7): epel/x86_64/primary_db                               | 6.1 MB  00:00:00
Determining fastest mirrors
 * epel: fr.mirror.babylon.network
No packages marked for update
Package 32:bind-utils-9.9.4-51.el7.x86_64 already installed and latest version
Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version
 

Lucifer

Member
Registered
Banned
Dezinstall la wget si incearca iar
yum remove wget si apoi executa iar
sudo ./sentora_install.sh

Ai instalat centos minimal sau full? E recomandat sa fie minimal.
Nu stiu care e. Cand a fost sa aleg era doar centos 6 64/ centos 7 64.
Am facut cum ai zis, dar ramane tot la fel:
Package 32:bind-utils-9.9.4-51.el7.x86_64 already installed and latest version
 

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert
Uite am facut acum un vps de 2 core, 4gb ram la ovh si rulat install
sudo -i
yum install wget -y && cd /tmp && wget sentora.org/install && bash install
Totul a mers fara probleme, dupa cum vezi in video.
 

AlexH

Merg pe strada catre Mine...
Membru personal
Administrative
Freelancer
SEO Expert
Executa un fresh install la OS si apoi poti relua procesul de install.
Ai exeutat asta iar:
sudo -i
yum install wget -y && cd /tmp && wget sentora.org/install && bash install
 

Lucifer

Member
Registered
Banned
mda, nu stiu ce naiba sa ii mai fac. am dat reinstall la centos 7, am adaugat comenzile de mai sus si face ca inainte, nu se mai conecteaza.

Cod:
login as: root
root@151.80.140.5's password:
[root@vps481519 ~]# sudo -i
[root@vps481519 ~]# yum install wget -y && cd /tmp && wget sentora.org/install &                & bash install
Loaded plugins: fastestmirror
base                                                     | 3.6 kB     00:00
epel/x86_64/metalink                                     |  28 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/4): extras/7/x86_64/primary_db                          | 130 kB   00:00
(2/4): base/7/x86_64/group_gz                              | 156 kB   00:00
(3/4): updates/7/x86_64/primary_db                         | 3.6 MB   00:00
(4/4): base/7/x86_64/primary_db                            | 5.7 MB   00:01
Loading mirror speeds from cached hostfile
 * epel: epel.mirrors.ovh.net
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-15.el7_4.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch            Version                   Repository        Size
================================================================================
Installing:
 wget          x86_64          1.14-15.el7_4.1           updates          547 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 547 k
Installed size: 2.0 M
Downloading packages:
wget-1.14-15.el7_4.1.x86_64.rpm                            | 547 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wget-1.14-15.el7_4.1.x86_64                                  1/1
  Verifying  : wget-1.14-15.el7_4.1.x86_64                                  1/1

Installed:
  wget.x86_64 0:1.14-15.el7_4.1

Complete!
--2017-11-20 20:42:37--  http://sentora.org/install
Resolving sentora.org (sentora.org)... 5.196.10.149
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:44:45--  (try: 2)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:46:54--  (try: 3)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:49:05--  (try: 4)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:51:16--  (try: 5)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:53:28--  (try: 6)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:55:41--  (try: 7)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 20:57:56--  (try: 8)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 21:00:11--  (try: 9)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80... failed: Connection t                imed out.
Retrying.

--2017-11-20 21:02:27--  (try:10)  http://sentora.org/install
Connecting to sentora.org (sentora.org)|5.196.10.149|:80...
 

Reclama

Stiri Monezi Virtuale

Reducere pentru Vacanta

Loading...
Sus