ELS - Easy Linux Security script

Decided to uninstall with "--disablephpsafe" now squirrelmail and webmiau work, too bad it has to be ip access to allow this too to work, although roundcube worked I can't tell everybody to use that one and stop using the one "they like"
 
Squirrelmail and webmail are both not working:

Error connecting to IMAP server: localhost.
111 : Connection refused

PHPsafe mode is set to off
 
Vps?

Anyone test this script on a Virtuozzo VPS? I know there is an option to install using --vps but this does not work. Anyone?

SMTalk, you would know this. :)
 
Last edited:
When i try to run els using els --help i get the following error
Code:
[root@tws1 ~]# els --help
-bash: els: command not found
[root@tws1 ~]#

Is this correct and should i use ./els.sh -- command instead every time?
 
HanSieT try:
Code:
# ln -s /usr/local/els/els.sh /usr/sbin/els

After this try "els --help".
 
HanSieT try:
Code:
# ln -s /usr/local/els/els.sh /usr/sbin/els

After this try "els --help".


Thanks smtalk that helped.
Ive been running into a small error after trying setupcrons it displays the help menu again :confused:
Code:
[root@tws1 ~]# els --setupcrons
ELS specific commands:
  --checkall          : Check that everything is okay
  --help              : Print this help screen
  --update            : Update the ELS (this) program to the latest
                      : version
  --version           : Print the current ELS version


ELS usage:
  --all               : Install/update all supported software, improve
                      : security and optimize some programs and
                      : configurations
 
What features should be used on this script on a VPS. I ask since the --vps option doesn't work for me.
 
2.0.5.6

APC installation/update complete.
Restarting Apache...
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Done.
[root@server ~]# els --disabletelnet
PHP Warning: PHP Startup: Unable to load dynamic library './apc/apc.so' - ./apc/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
[root@server ~]#

I get:
PHP Warning: PHP Startup: Unable to load dynamic library './apc/apc.so' - ./apc/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
No matter what I use.

Any idea?

PS.
What ELS Does:
* Upgrade MySQL to 5.0

Where is that option? Am I blind?
 
Last edited:
TeraSoft - edit /usr/local/lib/php.ini and set extension_dir to "/usr/local/lib/php"
 
It's only for cPanel servers, because they require more changes, for DirectAdmin you just need MySQL5 RPMs (for RedHat based OS) :) If you want to upgrade, use this:
Code:
 mkdir mysql
 cd mysql
 wget http://files.directadmin.com/services/all/mysql/MySQL-client-5.0.27-0.i386.rpm
 wget http://files.directadmin.com/services/all/mysql/MySQL-devel-5.0.27-0.i386.rpm
 wget http://files.directadmin.com/services/all/mysql/MySQL-server-5.0.27-0.i386.rpm
 wget http://files.directadmin.com/services/all/mysql/MySQL-shared-5.0.27-0.i386.rpm
 rpm -Uvh MySQL-*-5.0.27-0.i386.rpm
 /sbin/service mysqld restart
 
Thinking another addition to the script is loading th Ioncube loaders serverwide. Should be simply enough to wget the loaders, put them in /usr/local/bin/ioncube, then add the zend_extension=<loader> to php.ini. Just need to be sure it's the first zend extension in the list. :)
 
Back
Top