How to change the max_execution_time time on system runing FCGID

No Comments

How to change the max_execution_time time on system runing  FCGID (run as virtual server owner)

1. Change max_execution_time in home/php5/php.ini file.
2. Now change the execution type from FCGId to Apache mod_php (run as Apache’s user).

somehow changes made in php.ini is not being reflected. so We need to change php script execution mode type to execute long scripts.

find all files between specific days (4 days old).

No Comments

find ./ -type f -mtime -4 -exec ls -al {} \;

Hosting multiple websites with Apache2 Ubunto Server 10

No Comments

>cd /etc/apache2/sites-available/
> sudo touch mysitename
>sudo chmod 777 mysitename
>vi mysitename

add following text

NameVirtualHost *:8080

<VirtualHost *:8080>
DocumentRoot /path/to/new/site
ServerName userver.local
</VirtualHost>

save and close the vi editor More

Add a user on Ubunto Server

No Comments

Ubuntu Server is like any Linux variety, and has full multi-user capabilities, and a common task on any server is adding users.

useradd

The useradd command will let you add a new user easily from the command line:

useradd <username>

This command adds the user, but without any extra options your user won’t have a password or a home directory.
More

Monitor what’s being done on your Linux systems

No Comments

Intrusions can take place from both authorized (insiders) and unauthorized (outsiders) users. My personal experience shows that unhappy user can damage the system, especially when they have a shell access. Some users are little smart and removes history file (such as ~/.bash_history) but you can monitor all user executed commands. More

Mount Remote Directories Securely with SSH : Ubuntu

No Comments

t me tell you, I’m a busy man. I’m always on the go and my trusty laptop is the only thing to keep me company much of the time. Despite being here, there and everywhere I still need access to my files and folders at home. But how can I access my files, securely, from anywhere on the planet? It is simple with SSH. More

Older Entries