Archives : July-2016

‘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