Jump to content

Need Help With CentOS Server

So I'm trying to set up a server and for some reason it won't let me install or set up firewalld and I really need help with this because even though it will let me use IPtables I have no idea how to use that program

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Electronics Wizardy said:

What error are you getting?

 

why do you want to user firewalld instead of iptables?

 

Firewalld is the only one I know how to configure and here's the errors I'm getting

 

[root@localhost ~]# sudo systemctl start firewalld
sudo: systemctl: command not found

 

 

[root@localhost ~]# yum install firewalld -y
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.sesp.northwestern.edu
 * epel: mirror.nexcess.net
 * extras: centos.mirrors.tds.net
 * updates: mirror.sesp.northwestern.edu
No package firewalld available.
Error: Nothing to do

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

It can't find the package for firewalld in the repositories you've got enabled. Also it doesn't look like systemctl is a command in CentOS. There will be another utility for controlling processes. (edit: apologies if wrong about systemctl command, I don't use the distro CentOS)

Edited by wilamu
Link to comment
Share on other sites

Link to post
Share on other sites

Just now, wilamu said:

It can't find the package for firewalld in the repositories you've got enabled. Also it doesn't look like systemctl is a command in CentOS. There will be another utility for controlling processes. 

Ok I thought that was the reason why it wouldn't install

Link to comment
Share on other sites

Link to post
Share on other sites

I went ahead and tried to set up IPtables and I think I got it set up I'm going to try and set everything else up and see if it works

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, unijab said:

cat /etc/redhat-release

Thanks

 

5 minutes ago, wilamu said:

What version of CentOS are you using?

it says CentOS 6.8

Link to comment
Share on other sites

Link to post
Share on other sites

Install CentOS7 if you want firewalld... or keep 6.8 & continue with iptables... up to you

Can Anybody Link A Virtual Machine while I go download some RAM?

 

Link to comment
Share on other sites

Link to post
Share on other sites

Was going to say I just installed CentOS 7 and it came packaged with firewalld.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Mikensan said:

Was going to say I just installed CentOS 7 and it came packaged with firewalld.

It seems like they installed CentOS 6.8 on my server that's probably why

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×