I love VLC because it can play verity of file types, streams, even can open videos and settings from devices such as capture cards, web cams too. No matter which operating system you use, you can still install VLC and experience keeps same (close buttons, preferences location will differ according to OS). best thing is no ads or spyware.recently noticed ...
just started a miniblog to write tech tips and info. hope it helps to everyone to use simple tips. visit and follow and share with your friends TechNotes this blog will remain as same and hope to write experiments here.lktechnotes.blogspot.comමගේ අත්දැකීම් පරීක්ෂණ සටහන් වන පිටුව
Warning: fopen(newfile.txt): failed to open stream: Permission denied in /var/www/public_html/test.php on line 2Unable to open file!fopen gives above error while opening stream for following code<?php $myfile = fopen("newfile2.txt", "w") or die("Unable to open file!"); $txt = "John Doe\n"; fwrite($myfile, $txt); $txt = "Jane Doe\n"; fwrite($myfile, $txt); fclose($myfile); ?>solution was labeling the file using following command.chcon -t httpd_sys_rw_content_t filenameමගේ අත්දැකීම් පරීක්ෂණ ...
check current keyboard map information use following commandrecently i installed CentOS 7 and accidentally installed en_gb by default loadkeys us localectl status # to display locale settingslocalectl set-locale LANG=en_GB.utf8 # to set the Languagelocalectl list-locales # to lists localeslocalectl list-keymaps # list keyboard mappingslocalectl set-keymap uk # sets the key mapමගේ අත්දැකීම් පරීක්ෂණ සටහන් වන පිටුව ...
In Fedora Core, CentOS, and Red Hat Enterprise Linux you just need to run following# yum install mod_securitywhen installation complete we can see mod_security.conf file in apache folder# ls -l /etc/httpd/conf.dinclude this line to httpd.conf fileLoadModule security2_module modules/mod_security2.sorestart apache# service httpd restart මගේ අත්දැකීම් පරීක්ෂණ සටහන් වන පිටුව ...
first need to install epel-release repo on centos 7 just run following command to install epelyum install epel* after that we can start install LAMP stack on CentOS7LAMP stand for followingsL - Linux (CentOS)A - Apache(httpd)M - Mysql(mysqld)P - PHPnow we can install httpd server using followingyum install httpdthis will install Apache server as httpd servicestart the httpd service using ...
recently i installed centos 7 and happy to say back to play with linux. so as first step after installation was the configure network. first need to check what are the available interfaces in current system. to check that we can use ifconfing -a command[root@tecmint ~]# ifconfig -aeth0 Link encap:Ethernet HWaddr 00:0B:CD:1C:18:5A inet addr:172.16.25.126 Bcast:172.16.25.63 Mask:255.255.255.224 inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link ...