1. I did something via control panel, but nothing changed!
3. How to prevent passwords hack ftp/pop3/etc?
4. How to prevent scripts hack?
5. How to know path to the programm installed in system?
6. How to know where I am on server?
7. How to go to home directory?
8. How to go to domain directory "domain.com"?
9. Where can I read something about Unix shell-commands?
10. How to enable php error log?
11. Where can I see apache logs?
12. Where can I read about apache error-codes?
Changes made through panel become active in a 10 minutes.
If nothings is changed within this time, contact support, and we will solve this problem.
2.1. Look for quantity of files in directories. If there are more than few thousand files, you will experience a lot of lags when you will work this directory.
2.2. Spread tasks over time using cron.
2.3. Start crons with lowered priority using
command will start with lowered priority 10 (0 - normal mode, 20 - lowest priority). Especially it will help if cron command executing for a long time.
2.4. You can use file-locks in crons to prevent start cron if older crons isn't worked out yet
Use secured protocols to connect server.
For example, you can use sftp or scp instead of ftp.
smtp, pop3, imap4 also have SSL support - enable it in your mail client.
You can't be completely secured, but you can minimize risk of hack your scripts (gallery generators, forums, CMS etc).
4.1. You should update your scripts often. As usual, developers update their scripts when they find any vulnerablity.
4.2. It's better to limit access to admin part of your scripts with the help of .htaccess file. There is the manual how to lock your tm3-script
4.3. You should have complex password, because hacker usually bruteforcing passwod using password-dictionaries.
Also you can use password generator: pasgen
4.4. Keep your password in secured places.
You can know path using which commandname
As example, which lynx, will show you, that lynx is located on /usr/local/bin/lynx path
Paths to frequently used programms:
pwd command will show the path to your current directory
https://pangea.stanford.edu/computing/unix/shell/commands.php - you will find there anything you need, and more.
In case of security php-logging is disabled by default. To enable them temporary, you should add this code in your php-file:
or this line to your .htaccess file:
You can see logs only for the last hour, because every 60 minutes logs are processing and will be cleaned.
Logs are located in this path:
/home/LOGS/account_name/domain.com/access/current
/home/LOGS/account_name/domain.com/error/current
where,
account_name - name of your account
domain.com - name of your domain
They're not accessible via ftp, but you can copy them using ssh to your home directory:
or simply watch them via ssh:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html