Hi all, Storing our data with a third party server or storage place has been always a concern. We used to save our personal as well as company or organization related data with storage space providers like Dropbox, Google drive, Outlook drive etc. They provide security for our data but sometimes we need to go […]
Category: Installation
VNC server
VNC (Virtual Network Computing) is a graphical desktop sharing system that can be used to control a remote computer. VNC transmits mouse and keyboard events from one node to another on a network and updates the graphical screen on the other end of the network. Vnc is platform independent. VNC makes use of RFB (Remote […]
Upgrading OpenSSH
You may follow the below steps to upgrade the OpenSSH on a Centos 5 server. Download the OpenSSH source tarball from the vendor and unpack it. You can find the tarballs athttp://www.openssh.com/portable.html
1 2 3 |
cd /usr/local/src wget <a class="external free" href="http://mirror.esc7.net/pub/OpenBSD/OpenSSH/portable/openssh-6.0p1.tar.gz" rel="nofollow">http://mirror.esc7.net/pub/OpenBSD/OpenSSH/portable/openssh-6.0p1.tar.gz</a> tar -xvzf openssh-6.0p1.tar.gz |
Copy the spec file and tarball:
1 2 |
cp ./openssh-6.0p1.tar.gz/contrib/redhat/openssh.spec /usr/src/redhat/SPECS/ cp openssh-6.0p1.tar.gz /usr/src/redhat/SOURCES/ |
Do a little magic:
1 2 |
cd /usr/src/redhat/SPECS perl -i.bak -pe ‘s/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/’ openssh.spec |
Build your RPM:
1 |
rpmbuild -bb openssh.spec |
Now if you go back into […]
Rkhunter
Rkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing MD5 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. […]
RED5
RED5 is open source flash server written in java supports streaming audio/video, recording client streams, shared objects, live stream publishing etc. 1) Download and Install Java RED5 server depends on Java. CentOS 5.3 comes with OpenJDK 1.6 and install it using yum.
1 |
yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel |
2) Export Variables for Ant and Java
1 2 3 |
export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/lib/jvm/java export PATH=$PATH:/usr/local/ant/bin |
Also export these variables […]
PPTP
PPTP – Point-to-Point Tunneling Protocol – extends the Point to Point Protocol (PPP) standard for traditional dial-up networking. Which enables the secure transfer of data from a remote client to a private enterprise server by creating a virtual private network (VPN) across TCP/IP-based data networks. PPTP supports on-demand, multi-protocol, virtual private networking over public networks, […]
OpenVZ Installation
Follow the below steps to install OpenVZ in your server. 1. Add the openvz repo.
1 2 3 |
cd /etc/yum.repos.d wget <a class="external free" href="http://download.openvz.org/openvz.repo" rel="nofollow">http://download.openvz.org/openvz.repo</a> yum -y install ovzkernel |
2. Adjust the sysctl.conf
1 |
vi /etc/sysctl.conf |
1 2 3 4 5 6 7 8 9 10 11 12 |
# Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 1 net.ipv4.conf.default.proxy_arp = 0 net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.all.send_redirects = 0 # Enables source route verification net.ipv4.conf.all.rp_filter = 1 |
1 |
sysctl -p |
1 2 |
shutdown -r now uname -r |
3. Install openvz tools.
1 |
yum install vzctl vzquota vzpkg |
4. Start
1 |
/etc/init.d/vz start |
5. Download pre-created templates from http://download.openvz.org/template/precreated/ to your server.
1 2 |
cd /vz/template/cache/ wget <a class="external free" href="http://download.openvz.org/template/precreated/centos-6-x86.tar.gz" rel="nofollow">http://download.openvz.org/template/precreated/centos-6-x86.tar.gz</a> |
6. Create a VPS
1 |
vzctl create 101 --ostemplate centos-5-x86 --config vps.basic |
7. Set hostname
1 |
vzctl set 101 --hostname veeble --save |
Now you have a […]
OpenERP
OpenERP Installation in Ubuntu 12.04LTS Update the packages in the serve before starting the the installation. To update the VPS :
1 2 |
sudo apt-get update sudo apt-get dist-upgrade |
Add an openerp user to own and run the application.
1 |
sudo adduser --system --home=/opt/openerp --group openerp |
Note that a “home” of /opt/openerp has been specified, this is where the OpenERP server code will reside and is created automatically by […]
Nginx
Nginx (pronounced engine-x) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains. Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Unlike traditional servers, Nginx doesn’t rely on […]
Ffmpeg,mplayer,mencoder,ffmpeg-php
This article describe how to install ffmpeg, mplayer, mencoder, flvtool2, ffmpeg-php with all supported codecs to convert / manipulate videos easily on CentOS 5.x. If you want to run sites like youtube, this article will help you to install the base for your software. 1. Setting-up RPMForge respository. RPMForge repository (http://dag.wieers.com) is the biggest rpm […]