Using OpenVZ Web Panel on Debian ((config sever in web page))
2/24/2013 07:02:00 PM
OpenVZ Web Panel is a GUI web-based frontend for controlling of the hardware and virtual servers with theOpenVZ.
Install OpenVZ Web Panel on Debian:
# wget http://ovz-web-panel.googlecode.com/svn/installer/ai.sh # chmod +x ai.sh # ./ai.sh |
Now the web panel will install automatically on your server:
Installation finished. P |
Steps to install and configure FTP(vsFTPd) in linux (Fedora, CentOS, RedHat, etc)
2/24/2013 06:33:00 PM
Vsftpd (Very Secure FTP Daemon) is an FTP server for UNIX-like systems, including CentOS / RHEL / Fedora and other Linux distributions. It supportsIPv6, SSL, locking users to their home directories and many other advanced features.
In this guide you will learn:
- Setup vsftpd to Provide FTP Service.
- Configure vsftpd Basic.
VSFTPD offer security, performance and stability over other servers. A quick list of vsftpd features:
- Virtual IP configurations
- Virtual users
- Run as standalone or inetd / xinetd operation
- Per-user configuration
- Bandwidth throttling
- Per-source-IP configurability
- Per-source-IP limits
- IPv6 ready
- Encryption support through SSL integration
- And much more.
How to block a Web Browser in Squid proxy
2/24/2013 06:17:00 PM
Blocking some web browsers is possible in squid proxy server. Squid can block all the requests from web browsers like Internet explorer, Chrome, Firefox, etc.
Create an “acl” with the bad web browser types and finaly deny the access. Add all the below configurations to the Squid server configuration file “/etc/squid/squid.conf”.
[root@server ~ #]vim /etc/squid/squid.conf |
#Block Chrome in squid proxy
acl bad_browser browser Chrome |
#Deny the requests from chrome
Change iptables Default Policy to DROP on Centos & How to disable iptables
2/24/2013 05:59:00 PM
Default Iptables Chain Policy
The Default linux iptables chain policy is ACCEPT for all INPUT, FORWARD and OUTPUT policies. You can easily change this default policy to DROP with below listed commands.
You must login as a root user to run all the commands.
[root@server ~] # iptables -P INPUT DROP [root@server ~] # iptables -P FORWARD DROP [root@server ~] # iptables -P OUTPUT DROP |
After changing the INPUT, FORWARD, OUTPUT policies to DROP, All the incomming/outgoing/forwarding connections are dropped(Denied) by firewall. So you need to open every INPUT, FORWARD, OUTPUT connections in firewall/iptables with rules. If you change the default OUTPUT policy to DROP you cannot communicate with other systems/networks .
Allow All Outgoing connections
How to Configure Static IP Address on RHEL/CentOS Linux
2/24/2013 05:35:00 PM
This tutorial provides procedure to configure “Static IP Address” on RHEL/CentOS Linux Server. To assign “Static IP Address” for a Linux server, we need to update following two network configuration files.
Following instructions are compatible with
Following instructions are compatible with
(1) Cent OS Linux
(2) Fedora Core Linux
(3) Red Hat Enterprise Linux (RHEL) 3/4/5
Method # 1: GUI tool system-config-network
Type the following command at shell prompt (open x terminal):
How to add SSH login banner
2/24/2013 05:26:00 PM
Step1: Create a new banner file under /etc/ssh/ and add your Warning messag
[root@server ~ #]vi /etc/ssh/banner (sample of a warning message below) |
*****************WARNING!!!************************
The use of this machine is restricted to authorized users only. All the activities on this SSH Server is logged.
#Now save the new banner file
Step2: Now specify the created banner file to “sshd_config” file
[root@server ~ #]vi /etc/ssh/sshd_config |
# In the 128th line, enable the line by removing “#” , and specify the newly created banner file.
Banner / etc / ssh / banner |
#( now save the “sshd_config” file)
Step3: Restart the SSH daemon
[root@server ~ #]service sshd restart |
Subscribe to:
Posts
(
Atom
)