Molto facile e veloce:
Apri il file /etc/network/interfaces con
per diventare root
per editare il file con nano.
Una volta modificato,
salvare con +”o” + invio
chiudere con +”x”
Ovviamente occorre adattare il seguente contenuto alla propria sottorete (è ovvio che può essere anche un indirizzo ip pubblico…). In questo esempio viene utilizzato l’ indirizzo IP 192.168.0.100/24, la subnet 192.168.0.0, il router 192.168.0.1, l’ interfaccia di rete ETH0
Continue reading “[ITA] Guida indirizzo IP fisso con Debian Squeeze da console ssh”
(Visited 194 times, 1 visits today)
Shineisp is an italian open source WHM (Web Hosing Management) and we are going to give it a try. I recall i alredy installed it last year, but the machine had a poor hardware and shineisp is a greedy MVC php–mysql program. For this “instalfiguration” we assume we are on Debian Squeeze and we will cover the steps needed to get shineisp up and running in 10 minutes.
Continue reading “Shineisp Installation Log / mini How to”
(Visited 2,301 times, 1 visits today)
Personal notes to be always available for debian installations.
Here’s a very simple script which is divided into two parts, code which always runs, and code which runs when called with “start” or “stop”.
If you need something like a service to start at boot time, you need this.
Debian stores script needed to usually start, stop and restart in /etc/init.d/
Scripts contained have to be able to manage at least the start and stop parameters. Continue reading “Debian: How to run scripts at boot time”
(Visited 5,720 times, 1 visits today)
It may happen in several hosting environments to discover this line in your webserver error log:
ALERT - configured POST variable limit exceeded - dropped variable 'name_of_dropped_variable' (attacker '188.8.131.52', file '/several dirs..../wp-admin/post.php'), referer: http://sitename.tld/wp-admin/post.php?post=181&action=edit
Well i discovered and solved this situation:
Cause: It is caused by PHP suhosin
you can “locate” it on your disk it using the “locate” command as follows
(if it is first time you use locate) type:
# locate suhosin
for my machine (debian) it is located within /etc/php5/conf.d/suhosin.ini
so you can edit it by typing:
Now, look into your suhosin.ini fìle until you see the followings vars:
You want to remove the comment symbol “;” from the very beginning of these two lines and the increase the default value (it should be 200) to at least 500 in order to make complex wordpress themes working properly.
Remember to kick apache2 typing
Incoming search terms:
- alert - configured post variable limit exceeded - dropped variable (12)
(Visited 2,908 times, 1 visits today)