Archives : July-2016

Vicidial mysql repair command  / goautodial mysql repair command below are the possible issue faced while db/mysql corrupted 1. your session has been disabled 2. Autodial calls not landing to Agents. 3. realtime report not updating properly 4. agent error Run the below command as ssh shell ie: from putty mysqlcheck -u root -p –auto-repair ..

Read more

working solution: Assuming On windows XAMPP server similar for other environment – download and extract for cacert.pem here (a clean file format/data) https://gist.github.com/VersatilityWerks/5719158/download put it here C:\xampp\php\extras\ssl\cacert.pem in your php.ini put this line in this section: ;;;;;;;;;;;;;;;;;;;; ; php.ini Options ; ;;;;;;;;;;;;;;;;;;;; curl.cainfo = “C:\xampp\php\extras\ssl\cacert.pem” restart your webserver/apache Problem solved! (source: https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-ce..

Read more

Maintenance Modes To enable maintenance mode, simply execute the down Artisan command: php artisan down To disable maintenance mode, use the up command: php artisan up Create New Projects composer create-project laravel/laravel {Project name} “5.1.*” Laravel Project serve to specific port/IP (eg. localhost:8000) php artisan serve –host=localhost –port=8000 Creating New Laravel Controler (app/Http/Controllers/{controller name}) php ..

Read more

php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;” php composer-setup.php php -r “unlink(‘composer-setup.php’);” —- Change to a directory on your PATH and run the installer following the Download page instructions to download composer.phar. Create a new composer.bat file ..

Read more

how to install WinSCP on linux cotne nazarashvili edited this page on 25 Sep 2015 · 2 revisions Pages 2 Home how to install WinSCP on linux Clone this wiki locally install dependencies execute one from this commands dnf install wine icoutils imagemagick # fedora 22 yum install wine icoutils imagemagick # fedora old apt-get ..

Read more

Open Applicaction -> Accessories -> Terminal Type commandline as below… sudo apt-get install openjdk-7-jdk Type commandline as below… apt-cache search jdk (Note: openjdk-7-jdk is symbolically used here. You can choose the JDK version as per your requirement.) 4. For “JAVA_HOME” (Environment Variable) type command as shown below, in “Terminal” using your installation path… export JAVA_HOME=/usr/lib/jvm/java-7-openjdk ..

Read more

‘m running the command yum update -y and getting the following error: Loaded plugins: fastestmirror, priorities Existing lock /var/run/yum.pid: another copy is running as pid 523. Another app is currently holding the yum lock; waiting for it to exit… The other application is: yum-updatesd-he Memory : 14 M RSS ( 26 MB VSZ) Started: Tue ..

Read more

Banner Files or say hello to the user that log in and NO to unauthorized users. Author: matsk Final: 2009-02-10 Send improvements, corrections and comments to the CentOS-docs mailinglist. Introduction This Tips & Trix will cover banners for SSH and the console prompt. About legal issues An often forgotten area in system protection is an ..

Read more

install phpMyAdmin easily on Elastix if it isn’t installed: yum install -y phpmyadmin Then edit the file /etc/httpd/conf.d/phpMyAdmin.conf Add the line “Allow from all” to this entry so it ends up looking like this: Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from All Allow from ::1 Then type /etc/init.d/httpd restart Then you can ..

Read more

@echo off CLS cd c:\temp set MYSQLUSER=root set MYSQLPASS=PassWord set BATCHFILE=c:\temp\Batch_mysqldump.bat set DUMPPATH=c:\temp SET backuptime=%DATE:~4,2%-%DATE:~7,2%-%DATE:~10,4%-%TIME:~0,2%-%TIME:~3,2% SET backuptimelog=%DATE:~4,2%-%DATE:~7,2%-%DATE:~10,4% %TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2% echo starting MySqlDump at %backuptime% echo —— starting MySqlDump at %backuptimelog% —— >> “Z:\-=macine backup=-\sqldump\sqldump.log” echo Running dump… set 7zip_path= mkdir “%backuptime%” >> “Z:\-=macine backup=-\sqldump\sqldump.log” cd “c:\Program Files\MySQL\MySQL Server 5.6\bin” echo @echo off > %BATCHFILE% echo cd ..

Read more