This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[How-To] Install the perfect Sentora server using CentOS 7
#1
[How-To] Install the perfect Sentora server using CentOS 7
NOTES: I will be using a virtual machine for this installation process, if you bought a dedicated server then simply login to your account and install CentOS 7 Minimal. That's if they support CentOS.

How to install CentOS 7 (for new users):
CentOS 7: Installation:
1: Select the appropriate language 
[Image: YrkriKj.png]

2: Fix any issues, Enable your network and set the date&time.
[Image: A3yemou.png]

Secure your server with a secure and lengthy password (try to make it as random as possible).
[Image: caAXrrq.png]

3: Login to your server.
4: Now we need to set a static ip for the server.
Code:
//before we set the static ip lets get a few essentials 
sudo yum install nano openssh -y
//now the fun part setting up a static IP for your server
sudo nmcli dev
//that should display either display "eth0" or"enpos3"
//I am using enp0s3
//jump to the network scripts folder
cd /etc/sysconfig/network-scripts/
ls
//do ls and it will display the file we are going to edit "ifcfg-enp0s3"
nano ifcfg-enp0s3

SIDE NOTE: if you are going use it in a Virtual Machine you will NEED to set the network type to "bridged adapter".

Now edit the following in the ifcfg-enp0s3 file:

Previous: BOOTPROTO="dhcp"
Change To: BOOTPROTO="static"
Hit Enter and in the next line enter your details
Code:
IPADDR=192.168.x.x
NETMASK=255.255.255.0
NETWORK=192.168.x.x
GATEWAY=192.168.x.x
DNS1=8.8.8.8
DNS2=8.8.4.4
NM_CONTROLLED=no //must be set as NO
NOTE: to save and exit changes use CTRL+x and then type y and hit enter it will save and close
FYI: DNS ip addresses are for googles dns 

End result should look something like this but obviously on your network as I have multiple, I will be using my first network 192.168.1.0 for this as its used for demos etc.

[Image: W0Zody7.png]

now you need to restart your network for those changes we made to take effect.
Code:
systemctl restart network
//then type 
ip add
//the output will show you if your ip has been set my one displayed 192.168.1.11 as I set it to .11

I usually test if I am able to resolve both domain names as well as ip's
Code:
ping google.com
//if request timed out , something went wrong
ping 8.8.8.8
//same as previous comment

If they both are able to send and receive data, congratulations you have a static ip

Finally, we can begin installing sentora panel.

Step 1: goto the Docs and grab the auto install script. 
Code:
//double check the below url with the above link
bash <(curl -L -Ss http://sentora.org/install)


Step 2: login to your panel using ssh or even directly(VM users).
paste the link in the terminal and hit enter 
  • INSTALLATION PROMPTS:
    • 1st Prompt: "Please select a continent or ocean."
      2nd Prompt: "Please select a country."
      3rd Prompt: "Is the above information OK?"
      4th Prompt: "Enter the sub-domain you want to access Sentora panel:" //Please Enter the corrent domain name eg: panel.site.tld or sen.site.tld or whateveryouwant.site.tld

If you are able to set the cname as well as the ip you would get "All is ok. Do you want to install Sentora now (y/n)? y"

if your panel does not resolve because you are going to use the current server for your domain and dns management simply force the install when it prompts you to force continue installation.

Give it up to 10+ minutes (depends on internet speed, usually its less than 10minutes) for it to complete.
you will then get the last prompt after it has been installed:
"Restart your server now to complete the install (y/n)?"
enter y and hit enter.

You should now have successfully installed Sentora v1.0.3 using CentOS 7, we are not yet done.
[Image: RJtzKnf.png]



Login to your panel using the details in /root/passwords.txt

[Image: JqnMVCY.png]

Now locate to Domains and add your domain. Note it will not go live until you do the next step.
Goto Dns Manager->select_a_domain_&_hit_enter->click_on"Create Records". //If your dns is managed by cloudflare or any other dns manager this might cause issues.

if you go back to "Domains" in a couple of minutes you should see that your domain is "Live";

Congratulations, You have successfully setup Sentora Panel & Your Domain using CentOS 7 Server.
-BetaTester3.0  ||  Just Another Sentora User. 

Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw

Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora Domains with Let's Encrypt TGates 27 97 ,783 06-08-2024, 05:06 PM
Last Post: andykimpe
Secure Sentora With SSLForFree Chris L 1 5 ,384 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 49 ,002 01-14-2020, 07:32 AM
Last Post: Vedran B

Forum Jump:


Users browsing this thread: 1 Guest(s)