Skip to main content

Posts

Showing posts from 2016

Cyber Attack Database (2016)

Source :  www.hackmageddon.com

Simple Squid (Proxy server) Configuration

1.  SETUP THE INITIAL NETWORK CONNECTIVITY ON CENTOS After installing centos completely configured the network interfaces as follows, 1. Add a network interface to centos virtual machine as “Lan segment”(Centos lan) 2. And configure the ip address for that LAN segment If this centos machine has only one NIC we have to create two vlans and trunk them.             One to connect to the internet.            One to connect to the local area network interface which we created earlier 3. Using fedora(Another vm guest os) verify the network connectivity 4. Pinging to the LAN-segment that we created in order to verify the internet connectivity. Now we are connected to the private network that we created using centos earlier. Note that in this scenario centos is act as a router. So we are going to convert this centos virtual machine to router, in order to do that we need to inform it to kernel and configure it. Using sysctl command,

Two-click-installer-windows

two-click-installer-windows If you have to face a situation which you don’t have windows server but you have to install a windows application to multiple machine and update them, let’s assume update with an exe. Here is my situation, I've an install file named PhonikIP.MSI and I need to install it to my local pcs and update the exe with nerwer version on the Apache server which installed in to the pcs. I've a Appache AKA HTTPD server install to my local centos server and i've coppied above file to appache server's root folder. This is my app,ication (‘.bat’) to install and update the application by running it as ADMINISTRATOR. I've use an additional textfile to do the configuration. The configuration file is saved to local drive “C:” as configInputs.txt (C:\configInputs.txt) followed by following structure. Note that this program has configured to update a file call “configcallcenterpass.txt” and to update application's configuration file whic

RSYNC

RSYNC  is one of the most popular File Copying/Synchronizing service among Linux people. Its synchronizing while copping and consume Less network resources for its operations. CAUTION!!!! Miss use may cause original data overwrite or deletion. As an example, here in iPhonik ( iPhonik was formed as a company in the business of developing an Unified Communication Solution product and related services. ) we use rsync to take realtime backups and duplicate them on the redundant servers. Call recording which stores in the real-time server will be synchronized/ copied to the redundant server (We are using NFS as the file sharing mechanism share-directory-between-two-server-nfs  ).   How to USE Most of the time your Linux distributions comes with the installed rsync service but if you don’t have installed rsync on your Linux distribution, Debian distributions apt-get install rsync   RedHat distributions yum install rsync Now if you wish to use rsync with th

Service-Start-Linux

Service-Start-Linux Click Here to Download zip Author ::krishees@gmail.com Features, Check the status of the given services (as a command line argument) and if that particular service is in down status./checksrv.sh <service> program can turn up the particular service. ======================================================================= pattern-> ./checksrv.sh <service-1> <service-2>.....<service-n> ex-> for httpd and mysqld ./checksrv.sh httpd mysqld ======================================================================= Usage-> Using crontab (crontab -e) * * * * * ./checksrv.sh <service> Check the status of the service every 60 seconds and if the particular service not up then the ./checksrv.sh will bring up the particular services ------------------------------------------------------------------------ Using inittab (/etc/inittab) Check the status of a service a