OpenVZ Web Panel

OpenVZ Web Panel is a GUI web-based frontend for controlling of the hardware and virtual servers with the OpenVZ virtualization technology.

Announcements

  • 2013/02/09 - OpenVZ Web Panel 2.2 is available! It's a maintenance release. Includes Rails security fixes, vSwap support, scheduled backups and bugfixes.

Demo

Demonstration of web panel's user interface is below:

Using OpenVZ Web Panel on Debian ((config sever in web page))


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)


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:
  1. Setup vsftpd to Provide FTP Service.
  2. Configure vsftpd Basic.
VSFTPD offer security, performance and stability over other servers. A quick list of vsftpd features:
  1. Virtual IP configurations
  2. Virtual users
  3. Run as standalone or inetd / xinetd operation
  4. Per-user configuration
  5. Bandwidth throttling
  6. Per-source-IP configurability
  7. Per-source-IP limits
  8. IPv6 ready
  9. Encryption support through SSL integration
  10. And much more.

How to block a Web Browser in Squid proxy


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



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


(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


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