There are many different versions of Linux, and unlike other commercial operating systems that
are controlled, distributed and supported by only one company, the core of
Linux is free to distribute and use. This creates a situation in which numerous
companies, organizations and individuals have developed their own specific
version of the Linux operating system.
When these versions are made publically available for use, they are known as
“distributions”.
PHP, MySQL, Laravel, Jquery, Drupal, Joomla, Zend Framework, MVC, Sugar CRM, Javascript, Python, Django, Linux Server Administration, Zend Framework 2, Wordpress, Magento, vTiger CRM
Tuesday, March 19, 2013
Monday, March 11, 2013
Centos 6.3 Screen resolution - GUI not fit for default resolution and we not able to change it. No other option available in screen display settings
Centos screen resolution - GUI not fit for default
resolution and no other option was in
screen display settings.
Remove
xorg.conf file having resolution setting. Follow below steps:
- Go to /etc/x11/
- Remove xorg.conf file
- Reboot System
When system
starts and comes to gui. Now go to screen display settings. All other options
for screen resolution will be visible now. We can set it now.
Saturday, March 2, 2013
Set selinux to allow Apache and Samba on the same folder
First off, you can view the context of something with ls using ls -Z
[root@servername www]# ls -dZ /var/www/html
drwxr-xr-x root root system_u:object_r:httpd_sys_content_t /var/www/html
Second, there are two options for giving Samba and Apache access to the same
directory.The simple way is to just allow samba read/write access everywhere with:
PHP files not working after LAMP (linux, PHP, Mysql, Installation) Add entries in IPtable for port 80 and 443
After successfully installing PHP, Mysql, Apache if still you are not able to execute php files. You need to check firewall settings on server. Check entries in iptable and allow access to port 80 and 443
open
Add below lines :
open
/etc/sysconfig/iptables
Add below lines :
# Allow traffic on port 80 (HTTP traffic)
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
#Allow traffic on 443 (HTTPS traffic)
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
Save and restart apache.
Try to run now your php files in browser it will work.
How to configue screen resolution after centos/linux installation if no option to change resolution
Sometimes after Centos installation screen resolution creates issue as you will not be able to view full window and configuration options tabs will be hidden.
The simplest way to sortout this issue is delete xorg.conf file.
Follow belwo steps :
The simplest way to sortout this issue is delete xorg.conf file.
Follow belwo steps :
- Navigate /etc/XII/ directory
- Remove or rename xorg.conf configuration file
- Restart the system (Type init 6 in terminal)
Subscribe to:
Posts (Atom)