How to increase max_input_vars on remote hosting? Simple via .htaccess – just add this:
1 |
php_value max_input_vars 5000 |
How to increase max_input_vars on remote hosting? Simple via .htaccess – just add this:
1 |
php_value max_input_vars 5000 |
Recently i had to reinstall my old (but still working) server. I have bought Smart Array P400 instead of my old Smart Array E200, added new harddrives (WD Caviar Black 1TB x 2). And there was an issue regarding that on CentOS 7.x (RHEL 7.x) there is no more drivers for that controller. This was bad for me.
I have started to google the internet and have found a solution for this:
https://www.centos.org/forums/viewtopic.php?f=49&t=47011&start=20
and
https://www.centos.org/forums/viewtopic.php?f=49&t=51302&sid=850e80707bfb3db598f2c5be00ae5e51&start=10
Solution was simple:
Hi all,
Nothing has been posted recently on my site, but there is a reason – currently I am trying to write three big post’s about very interesting stuff.
So stay tuned
Regards to all of you. Now i am having a great time with family at polish sea.
Thank’s to Jono’s Bacon information on Tweeter i have discovered ATOM – a very fast and easy to use text editor, which anyone can customize it for his own purpose 🙂
Great job guys!
Yesterday I was programming late at night (4 am) and all the time I had a problem with authentication when switching between web sites.
This morning I looked at the code and found out that I made a simple mistake – a typo in the code.
My advice – do not sit, and code late at night. 😉
Today i have had a problem with 3 external internet connection. What i did at the very beginning of configuring it was that I haven’t choose which interface is the PRIMARY and which is BACKUP.
At the very beginning i have only one external wan so there where no problems but, after some time i have had second and about 3 month ago third external wan.
When one interface was down whole traffic did not know which other interface he had to choose 😉
Today i have set it up properly and voila everything works as planned.
First we have to create entry in yum.repos.d
1 |
# touch /etc/yum.repos.d/google-chrome.repo |
After that we need to enter following information into that file
1 2 3 4 5 6 |
[google-chrome] name=google-chrome - \$basearch baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub |
Now we are ready to go 🙂
1 2 |
# yum update # yum install google-chrome-stable |
After installing CentOS 7 on my laptop there was no entry pointing to Windows in the grub menu. Here is what i have done:
1 2 |
$ su # grub2-mkconfig |
I have found entry:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
### BEGIN /etc/grub.d/30_os-prober ### Found Windows Vista (loader) on /dev/sda1 menuentry 'Windows Vista (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-3A1E21731E2128F9' { insmod part_msdos insmod ntfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 3A1E21731E2128F9 else search --no-floppy --fs-uuid --set=root 3A1E21731E2128F9 fi parttool ${root} hidden- chainloader +1 } ### END /etc/grub.d/30_os-prober ### |
So first i have created copy of old grub.cfg in /boot/grub2/grub.cfg like this:
1 |
# cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.old |
and then i have done this:
1 |
# grub2-mkconfig -o /boot/grub2/grub.cfg |
After above operations I was able to enter my Windows OS 😉
Yesterday i have installed CentOS 7 on my old HP Compaq 6710b laptop. I don’t wanted to remove my current OS (ubuntu) because I did’nt know if I find all software which i am using, so i decided to install it on 16GB micro sd card (!).
After install i have done this:
After two days of working on it (Geany, GIMP, OpenVPN, Remmina) I must say that everything is working fine.