SSH can automatically authenticate connections when the client presents an authorized key. A client gives it’s public key to a server and then when it connects the server knows it’s allowed in and automatically allows the connection. The Keys are specific to users, so a key for user_a will not let user_b in. Few Simple Steps Create Keys If… Continue reading SSH Authorized Keys Automatic Login
The script automatically pushes your SSH private key to the server specified so you can have automatic SSH,scp and sftp authentication. If you don’t have a key the script will generate one for you, also this script assumes that the user running the script has a home directory on the remote host. Should note that… Continue reading SSH automatic login assistance script
If you come across this error when trying to do a “yum update” on your Virtuozzo Virtual Dedicated Server –> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4–> Finished Dependency ResolutionError: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4 You can make use of the following steps to fix the problem. First you… Continue reading Virtuozzo glibc-dummy-centos-4 Error (1)
What is SLM, “Virtuozzo Service Level Management (SLM) is a system that maintains and allows administrators to configure and control the levels of service (i.e., the set of ‘promises’) provided to VPS owners.”I came across some different ways of enabling SLM on the Virtuozzo Node, by far the best was the information about how to… Continue reading Enable SLM on Virtuozzo
Problem:cPanel installs a little bit differently in a VPS that it does on your traditional server. Solution:Install cPanel in CentOS / Fedora VPS: You will need yum installed on the VPS cat /etc/redhat-release rpm -q yum centos-yumconf CentOS 5 : rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpmrpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/m2crypto-0.16-6.el5.1.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-urlgrabber-3.1.0-2.noarch.rpmrpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/sqlite-3.3.6-2.i386.rpmrpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpmrpm… Continue reading How to install Cpanel and Fantastico in a VPS
Php is setup is to limit memory usage per process. If you require more, this limit can be increased. Edit /usr/local/lib/php.ini If you are unsure about the php.ini path, You can find your server php.ini using command : php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini and… Continue reading Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php
Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090 [crit] (98)Address already in use: make_sock: could not bind to port 8090 or [crit] (98)Address already in use: make_sock: could not bind to port 443 or [crit] (98)Address already in use: make_sock: could not bind to port 80 If… Continue reading DirectAdmin Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090
Problem: If you keep getting the ‘License is not yet active’ error message when logging into direct admin even though the license is active. Solution: Setting the system date to the current date and time should clear it up.
Click on the “Tweak Settings” link under “Server Setup”. Within the “Stats and Logs” section is a text box with the heading: “Chmod value for raw apache log files (0640 is the default):” Change the value to suit your needs and apply the changes by clicking on the “Save” button at the bottom of the… Continue reading Where can I change log permissions so other programs can read apaches web logs?