Skip to main content

Posts

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 t...

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...

Share-A-Directory-between-two-server-NFS

Share-A-Directory-between-two-server-NFS Please grant the relevant permission on the shell scripts ./client_Export.sh Takes three argument as follows 1. server ip address to be exported 2. client directory which should be exported to the particular server 3. options aka permission for the expoted folder rw: This option allows the client server to both read and write within the shared directory sync: Sync confirms requests to the shared directory only once the changes have been committed. no_subtree_check: This option prevents the subtree checking. When a shared directory is the subdirectory of a larger filesystem, nfs performs scans of every directory above it, in order to verify its permissions and details. Disabling the subtree check may increase the reliability of NFS, but reduce security. no_root_squash: This phrase allows root to connect to the designated directory E...