Pages

Tuesday, December 27, 2016

How to Mouting NFS Synology on Centos 6.5

#vim /etc/fstab


Put :

//192.9.18.11/Onlinebackup1/ /mnt/backup1   cifs  user=backup,password=xxx,rw,iocharset=utf8 0 0



Esc : wq   for Safe.

Friday, December 23, 2016

How to replace string on database firebird

How to  replace string on database firebird


select     replace ('Billy Wilder',  'il', 'oog') from  tablemaster_employee where  em_emplcode = 11111




Wednesday, September 7, 2016

How To Fix PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" on centos 6.5

How to fix error PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"  centos 6.5



Answer : Open terminal

# yum clean all


Enter.






Friday, March 18, 2016

Find and remove all file from termilal Linux




# find . -name "*Locky*" -exec rm -rf {} \;

or

# find . -type f -name "*.Locky*" -exec rm -i {} \;

remarks : 

-name "FILE-TO-FIND" : File pattern.
-exec rm -rf {} \; : Delete all files matched by file pattern.
-type f : Only match files and do not include directory name

Tuesday, February 16, 2016

Delete files older then 7 day on windows



forfiles -p "D:\test" -s -m *.* -d 7 -c "cmd /c del @path"


save with extention .bat

Wednesday, November 11, 2015

How to fix yum error "Metadata file does not match checksum"

how to fix yum error "Metadata file does not match checksum"

$sudo yum clean metadata v

How to fix error yum "network is unreachable" or "couldn't connect to host" errors while running yum command

Fix error yum "network is unreachable" or "couldn't connect to host" errors while running yum command.

$ sudo vi /etc/yum.conf 



[main]


proxy=http://proxy.com:8000

How to fix yum error '404 errors' on CentOS 6

How to fix yum error '404 errors' on CentOS 6

 $ sudo yum clean metadata
 $ sudo yum clean all 

Tuesday, November 3, 2015

Error Connection status: unknown The dependency service or group failed to start on windows vista

go to start menu and type cmd in the search bar and open cmd with
administrator rights

1. Type "netsh winsock reset" and hit enter....if you get an error, ignore it
2. Type "netsh int ip reset" and hit enter....
3. Restart you computer