November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Forward & Reverse Apache Proxy – CentOS 7

Forward Apache Proxy is a proxy configuration that is commonly used in companies and it enables users to access the internet. Users or clients must configure their browsers or operating system to use a proxy server (Forward Apache Proxy) to be able to access the internet. This means that requests from all clients go through […]

Increase Root Partition Size – LVM – CentOS 7 , Fedora, RHEL 7

Increase Root Partition Size – LVM – CentOS Linux root partition is different from all other partitions on your system since it holds all of the system files required for your system to run and operate.

This is the reason why you can not increase root partition size as simply as any other partition – […]

SFTP server on chroot

SFTP server SFTP ( Secure File Transfer Protocol ) is used to encrypt connections between clients and the FTP server. It is highly recommended to use SFTP because data is transferred over encrypted connection using SSH-tunnel on port 22 . Basically we need openssh-server package to enable SFTP . Install openssh-server package, if its not […]

Setup FTP server on centos 7

yum -y install vsftpd

After installation you can find /etc/vsftpd/vsftpd.conf file which is the main configuration file for VSFTP. Take a backup copy before making changes .

cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.org

vi /etc/vsftpd/vsftpd.conf

Find this line anonymous_enable=YES ( Line no : 12 ) and change value to NO to disable anonymous FTP access.

anonymous_enable=NO

Uncomment the […]

VNC server on Centos 7

VNC server on Centos 7 a) yum groupinstall “X Window System”

b) yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts

unlink /etc/systemd/system/default.target

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

reboot

After reboot, you will get Centos 7 desktop .

Now start installing VNC packages.

Issue the below command to install VNC package.

yum install tigervnc-server -y

Create a file […]

firewalld add

Assuming you’re using the default zone of “public” (you may need to temporarily disable selinux (setenforce 0)):

1. To allow everyone to access port 8080/tcp:

firewall-cmd –zone=public –add-port=8080/tcp –permanent

2. Allow a server from the IPv4 address 192.168.1.50 to access this server on port 128 over UDP:

firewall-cmd –zone=public –add-rich-rule=’rule family=”ipv4″ source address=”192.168.1.50/32″ […]

LAMP server on centos 7

LAMP server on centos 7

LAMP is a group of open source softwares installed together to build a webserver. LAMP refers to Linux (Operating system), Apache (Web service), MySQL/MariaDB (Database) , PHP (Programming language). This guide helps you to install LAMP server on centos 7. Before starting installation, you need to setup Static IP and […]

mail server on centos 7 Redhat 7

Setup mail server on centos 7

This article helps you to install and configure basic mail server on Centos 7. Here i have used Postfix for SMTP, Dovecot for POP/IMAP and Dovecot SASL for SMTP AUTH. Before proceeding please make sure you have assigned static IP for the server and have internet connectivity for installing […]

Nmcli

let’s start, Type “nmcli d” command in your terminal for quick identification of Ethernet cards installed in your machine.

[root@clusterserver1 ~]# nmcli d DEVICE TYPE STATE CONNECTION eno16777736 ethernet connected eno16777736 lo loopback unmanaged —

 

[root@clusterserver1 ~]# nmcli connection show NAME UUID TYPE DEVICE eno16777736 040b2729-2cc5-4ded-af3a-c4ae09dd3563 802-3-ethernet eno16777736 [root@clusterserver1 ~]# nmcli device show eno16777736 […]

Centos 7 SYSTEMCTL && Run level && hostname

Centos 7 SYSTEMCTL && Run level && hostname

Centos 7 SYSTEMCTL && Run level && hostname

systemctl start httpd.service (service httpd start)

systemctl stop httpd.service ( service httpd stop)

systemctl restart httpd.service ( service httpd stop)

systemctl status httpd.service ( service httpd status)

systemctl enable httpd.service (chkconfig httpd on)

systemctl disable httpd.service (chkconfig httpd […]