This is a little bash script that rotate logs as when the file reach a specified limit.
I had implemented my raspberry pi to use wireless network, unfortunately the connection might after a while disconnect, the only option that I have found was to run a script that check the connection and re-connect if network is down.
I have written a little script which generate number for your next lotto ticket.
Schedule it in the crontab to get your number each day you do need it.
I am including the command line that would allow to stop the Mail station (Roundcube) component and Mail Server (Postfix)
- /usr/syno/bin/synopkg stop \M\a\i\l\S\t\a\t\i\o\n;
- /usr/syno/bin/synopkg stop \M\a\i\l\S\e\r\v\e\r;
For starting, replace stop with start.
Run Hydra in bash upon a password list;
ncat for the potential port for each protocol, some additional port / protocol could be added of course.
You will require to set couple of file, one would be login (one user per line) + password (still one by line)
I have been restoring several files under specific user into ownCloud solution; I have found in some forum that we could refresh the files records upon the filesystem.
The table name is : oc_filecache
If you delete manually all the content of this table (something like : Delete * from oc_filecache); Logout and login back; All the content would be refreshed.
I came accros the need to install a product from symantec; Symantec Protection Engine however this task and platform dedicated was/is Linux.
As today, x64 platform would the most common platform; I have started to installed Centos (as Redhat alternative).
As once the centos server has been installed. (Server minimum).
the following components are needed:
- Apache httpd server
Continue reading “PrestaShop on Centos 6.x”
Run this command which should work in most of distro.
Select the correct Zone that you wish to apply:
cp /usr/share/zoneinfo/Europe/London /etc/localtime
Installation in the terminal:
sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity sudo apt-get update sudo apt-get install indicator-systemtray-unity
Once installed, you can enable it by this command:
gsettings list-recursively net.launchpad.indicator.systemtray
If you wish to remove it, run this command:
sudo apt-get --purge remove indicator-systemtray-unity