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 ..
‘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 ..
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 ..
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 ..
@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 ..
http://trixbox.org/forums/trixbox-forums/open-discussion/change-default-sql-password-freepbx-version-2-6 How to Change MySQL passwords: Follow each step in order ! Step 1) mysql -u root –p [ENTER] Step 2) Enter password: passw0rd [ENTER] Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3743 to server version: 5.0.22 Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to ..
Notes on FreePBX, IncrediblePBX, and the like. Installation Copy the ISO to the SDHC card Download IncrediblePBX for Pi. See http://nerdvittles.com/?p=3026 Unpack the tarball. Put the SDHC card in the card reader (assumes Linux). Run the make-sdhc script that came out of the tarball. Put the Pi on the network For security reasons, do not ..
Install Webmin On Ubuntu Add the webmin repository to Your Source file: Edit Source file. User following command to edit your source file sudo vi /etc/apt/sources.list Add the following lines at the bottom of your source file: deb http://download.webmin.com/download/repository sarge contrib After adding above line save your source file with wq! Command Next Add the ..
Writing events to a Calendar with PHP using the Google Calendar API 3 and a Service Account (no user) Writing events to a Calendar with PHP using the Google Calendar API 3 and a Service Account (no user). 1. Download Google API’s PHP Client First download the Google API’s PHP Client code by following these instructions:https://code.google.com/p/google-api-php-client/. ..
Here’s the source for a php/agi file and dialplan sample I made, which can help you implement what you need : #extensions.conf exten => 12345,1,Goto(dtmf-recording,${EXTEN},1) [dtmf-recording] exten => _X.,1,Answer exten => _X.,2,Set(TIMEOUT(digits)=5) exten => _X.,3,Set(TIMEOUT(response)=10) exten => _X.,4,Set(TIMESTAMP=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}) exten => _X.,n,Read(DTMF|/var/lib/asterisk/agi-bin/sounds/whatever) exten => _X.,n,Hangup exten => h,1,Deadagi(agi-bin/report_dtmf.php|${TIMESTAMP}|${DTMF}) ————————————————— report_dtmf.php : <?php set_time_limit(30); require_once “phpagi.php”; declare(ticks ..
Recent Comments