Linux Mint : Error : “Greeter Application Crashes”


Cheap reseller Hosting


Linux-Mint--Error-

Error :

 

In Mint 15 Cinnamon, on systems with nVidia chipsets, the login screen fails to “Enable accessible login” under the “Accessibility” tab, Big mistake, on the next reboot I got the following error :

” The greeter application appears to be crashing. Attempting to use a different one ”.

I was not able to login into Linux as the greeter kept crashing repeatedly.

Solution: 

The nVidia driver must be upgraded, by adding the xorg-edgers ppa, and installing an updated MDM and themes. Follow the instructions below and solved your error

Step 1. Install the updated nVidia drivers from the edgers ppa :

Use the following commands 

sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get dist-upgrade

 

Step 2. Add the updated MDM and themes:

Use the following commands 

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install mdm ubuntu-mdm-themes

 

Step 3. Reboot the system and 

.

.

.

The problem should be completely resolved.


Cheap web Hosting


How to Disable Clamav and Amavis for Postfix


Cheap reseller Hosting


How to disable Clamav and Amavis for postfix

 

If you want to run postfix but not run the antivirus (Clam, Amavis), there is a way to disable those services while allowing postfix to run as normal.

Follow the instructions you can easily to disable Clamav and Amavis for postfix.

 

1) Edit the file/etc/postfix/main.cf

And use the following commands :

content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

 

2) Edit the file /etc/postfix/master.cf

And use the following commend :

amavis unix – – – – 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n – – – – smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1

 

3) To stop the services :

/etc/init.d/amavisd stop
/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-freshclam stop
/etc/init.d/clamd.amavisd stop

 

4) Disable the services from start-up :

chkconfig –levels 235 amavisd off
chkconfig –levels 235 clamav-daemon off
chkconfig –levels 235 clamav-freshclam off
chkconfig –levels 235 clamd.amavisd off

 

5) Reboot your server, and restart postfix by entering :

/etc/init.d/postfix restart

 

 

 

 


Cheap web Hosting


To Configuring NodeJS, Grunt, and Bower for CageFS


Cheap reseller Hosting


NodeJS is a powerful platform built on Chrome’s Javascript Runtime that can be used to build fast and scalable web applications. Using the following Steps to Install and Configure NodeJS, Grunt, and Bower for CageFS.

Configuring NodeJS

 

To Install NodeJS, Grunt, and Bower on CloudLinux

1) Login to your root server

 

2) Create a directory and move into it using following scripts

mkdir ~/nodejs-install; cd ~/nodejs-install

 

3) To Copy the install files to using following scripts

( These install file is currently maintained for the rpms )

git clone https://github.com/nodesource/distributions.git

 

4) Move to rpm install folder

 

5) Run the setup to using following scripts

cd distributions/rpm; sh setup

 

6) Install nodejs to using following scripts

yum install nodejs

 

7) Install grunt and bower to using following scripts

npm install -g grunt-cli; npm install -g bower

 

If you are not using CageFS with CloudLinux you are done. Your nodejs, grunt, and bower commands should all work in the shell. Then you are using CageFS

 

How to Configuring NodeJS, Grunt, and Bower for CageFS

 

1) Configure cagefs for nodejs to using following scripts

touch /etc/cagefs/conf.d/nodejs.cfg

 

2) In grunt.cfg file use the any editor & copy the following scripts

[grunt]
comment=Grunt tools
paths=/usr/bin/grunt, /usr/local/bin/grunt, /usr/lib/node_modules/grunt-cli

 

3) Configure cagefs for bower to using following scripts

touch /etc/cagefs/conf.d/bower.cfg

 

4) In bower.cfg file use the any editor & copy the following scripts

[bower]
comment=Bower web tools
paths=/usr/bin/bower, /usr/local/bin/bower, /usr/lib/node_modules/bower

 

5) Then re-initialize cagefs to using following scripts

cagefsctl –force-update

.
.
.
.
Congrast Your nodejs, grunt, and bower commands should be available on cPanel accounts.

 

 

Test

 

To test an installation is working (and that the setup scripts are working!) use:

curl -sL https://deb.nodesource.com/test | bash –

 

 

 


Cheap web Hosting


How to Install Node.js On CentOS 7


Cheap reseller Hosting


Install-Node.js

 

Node.js is an open source, cross-platform runtime environment for server-side and networking applications. Node.js applications are written in JavaScript and can be run within the Node.js runtime on OS X, Microsoft Windows, Linux, FreeBSD, NonStop, IBM AIX, IBM System z and IBM i.

 

Install Node.js From Source

 

The following steps to install Node.js From Source

1) Open a new terminal tab on your CentOS 7 machine.

2) Run the following command to download the archive file which we need to use for the installation.

wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz

3) Eextract the tar file

tar xvf node-v0.12.0.tar.gz

4) Use the following command to change the working directory to node.

cd node-v*

Before compiling our code we need to install some packages in our CentOS machine that will help us to do so.

1) Opened tab of your terminal enter the followings.

sudo yum install gcc gcc-c++

2) Wait for these packages to install

3) Run the following commands to configure and compile

./configure
make

Don’t worry if the above takes some time to complete because the compilation will take awhile.

4) Use the following command to install Node.js on your system.

sudo make install

 

.

.

.

Once the installation is finished

 

You can start using Node.js and to make sure that the correct version is installed you can use the following command in order to check it.

node –version

 

 

 

 


Cheap web Hosting


How to Install MODx using Softaculous in cPanel


Cheap reseller Hosting


What is MODx?

MODx is an open source Content Management System and Application Framework. Initially inspired by Etomite 0.6, MODx is an ongoing project written by Raymond Irving and a core team of contributors at the MODx Project. MODx is distributed under the GPL license and is now run by a professional team of developers from all over the world.

Install MODx

How to Install MODx using Softaculous in cPanel

Follow these steps to install MODx using Softaculous

1) Login to the Cpanel

 

cpanel-login-page

 

2) Click on the Softaculous icon in the Software/Services section of cPanel. The Softaculous installer page appears.

 

Install_Softaculous

 

3) Go to the top right corner and click on the Search field. type modx and then press Enter.

Search box

4) Go to the top right and click on the blue button labeled Install.

 

modx-install

 

5) Fill out all of information the boxes.

6) In Directory type the name of a new directory you would like created.

 

MoDx software setup

 

7) By default, the box will be left blank to install the software into your main directory.

8) When you are finished, Click Install.

 

MODx Installed successfully

 

9) Then you will get a Confirmation page of your installation.

 


Cheap web Hosting


How to Fix the Internal Server Error in WordPress


Cheap reseller Hosting


How to Fix the Internal Server Error in WordPress

Internal server error is not new for the majority of webmasters. It is an error that generated by your web servers. As long as webmasters encounter this error, they can clearly know something wrong, but they cannot tell the specific information of the error condition because this error is not specific to WordPress. 500 Internal Server Error is one of the most common WordPress errors that a user can come across while using a self hosted WordPress website. 500 Internal Server Error is a generic error message, given when no other specific message is suitable. There can be number of reason for a 500 Internal Server Error to display in a web browser.

 

Internal Server Error

 

Following Reasons display to Internal Server Errors

Reason No.1 

Try deleting your .htaccess as your permalinks might not work, but you’ll at least know whether this is being caused by an error in htaccess.

 

Reason No.2 

I deletion of .htaccess did not work the re-upload it and add the following:

SecFilterEngine Off
SecFilterScanPOST Off

 

Reason No.3

 Increase the server memory in php.ini file for example from 64m to 128m

 

Reason No.4  

When you have changed the prefix of your MySQL database tables manually this can also affect it so revert back to your previous tables.

 

Reason No.5 

When you have just moved to another server/hosting and your php version is old try adding this to your .htaccess file:

AddType x-mapp-php5 .php

 

Reason No.6 

Disable your brower-cache then quit tour browser then open it again and see what happens. This one is pretty straight forward.

 

Reason No.7 

When you Check your file permissions as some server will behave better if you set your permissions to chmod 777 instead of chmod 755 – as strange as it sounds.

 

 

 


Cheap web Hosting


How to Protect WordPress from malware?


Cheap reseller Hosting


 Protect WordPress

Malware

WordPress is installed on so many websites now, the global reach is comparable to a company like Microsoft. You probably already know the word malware from PC’s and computers. Computer viruses have been around a long time, as well as virus scanning software. With the Internet age came spyware (programs that spy on what you do and send the details to a remove computer), as well as anti-spyware computer software. 

Best way to protect your WordPress from malware

1) Reset your password:

Regularly reset your WordPress admin, FTP, and web hosting control panel passwords every 30-60 days. Be sure to use a 12+ character strong password. Never use the same password at multiple websites or for multiple accounts.

2) Update Everything:

To keep WordPress itself updated, and all plugins and your theme as well at all times. Check to see if your theme has an update available if you purchased it from a developer or a theme house. Have it reviewed by a competent WordPress developer once per year for vulnerabilities if it was custom coded.

3) Limit Access:

Limit and give admin access to only those with a “need to know” basis within your WordPress website.

4) Remove unused items:

Always remove all themes and plugins that are unused and inactive. In addition be sure to remove any plugins that haven’t had an update in 12-18+ months or more.

5) Setup alerting and monitoring:

web hosting companies are all kinds of free services that will alert or monitor you if your website is down.

6) Register with Google Web-master Tools: 

If you register with Google Web-master Tools and they find malware in your website, they will notify you via email. Keep in mind by the time they notify you, your website could have been infected for days or weeks.

7) Update wp-config security salts:

Since before version 3.0 the wp-config.php file of every WP installation has contained security salts and a URL to get random ones to update the file with. Be sure to update your wp-config file.

8) Install and configure a security plugin:

Setup and configure an all-inclusive security plugin, something like Better WP Security or Secure WordPress.

9) Setup and test a backup solution:

You can use a free plugin, premium solution, or web based service to backup your website to an offsite location for recovery in case you are hacked, or something at your web host goes down. This is even protection against issues if you upgrade WordPress or plugins and a conflict takes your website down. At least with an option like this, if you are taking regular versioned backups, you can easily revert to the last known good version.


Cheap web Hosting


How to Enable Apache SpamAssassin in Cpanel


Cheap reseller Hosting


Spam Assassin 

                 Apache SpamAssassin is the Open Source anti-spam platform giving system administrators a filter to classify email and block spam (unsolicited bulk email). It uses a robust scoring framework and plug-ins to integrate a wide range of advanced heuristic and statistical analysis tests on email headers and body text including text analysis, Bayesian filtering, DNS blocklists, and collaborative filtering databases.

To Enable Apache SpamAssassin in Cpanel

Following  steps to enable Apache SpamAssassin

1) Log into cPanel

2) Navigate to Mail Section

3) Click on Apache SpamAssassin™ option

See Following Screenshot

apache spamassassin

 

 

 

 

 

 

4) Click on Enable Apache SpamAssassin™ button

See Following Screenshot

Enable Apache

.

.

.

Apache SpamAssassin is Enable!

 

 

 


Cheap web Hosting


How to setup Backup & Migrate Module on Drupal


Cheap reseller Hosting


Setup Backup & Migrate Module

Backup and Migrate makes the task of backing up your Drupal database and migrating data from one Drupal install to another easier. It provides a function to backup the entire database to file or download, and to restore from a previous backup. You can also schedule the backup operation. Compression of backup files is also supported. The database backup files created with this module can be imported into this or any other Drupal installation with the restore feature, or you can use a database tool such as phpMyAdmin.

Migrate Module

Add private file system path

1) Navigate to Backup and Migrate

Configuration » System » Backup and Migrate

2) Click on the link file system settings

3) Enter a path to the directory where you are saving the private files.

sites/default/files/private

4) Save configuration

==============================

Backup database in local folder

You can download the current Drupal Site to your local folder.

1) Select the configuration

2) Click on Backup now button
.
.
.
The download will start instantly.

=============================

Backup to Server

You can save the current Drupal Install to the server itself

1) Select the configuration

2) Click on Backup now button
.
.
An archived file will be saved in the server.

(You can see the saved backups under SAVED BACKUP tab)

=============================

Restore from a Backup & Migrate Archive from your local folder on Drupal

1) Go to Restore tab

2) Select the radio button Restore from an uploaded file

3) Click Choose File button

4) Select the compressed file

5) Click on Restore now button
.
.
.
The Drupal site will be restored

=============================

Restore a Drupal site from a Saved backup (saved in server) on Drupal

1) Go to Restore tab

2) Select the radio button Restore from saved backup

3) Select a archive which you want to restore

4) Click on Restore now button.
.
.
.
The database will be restored

=============================

Set up Automatic Scheduled Backups

1) Got to Schedules tab

2) Click the link Add Schedule button

3) You will be taken to the schedule configuration page.

4) Rename the schedule

5) Select Backup Source as Default Database

6) Select Enabled check box

7) Select the radio button Run using Drupal’s cron

8) Select to backup either every hour or daily or weekly

9) Select the whether to delete old backup file during the current schedule process

10) Click on Save Schedule button.

11) You can see the saved schedule under Schedules tab

12) You can also edit settings for a particular schedule by using the edit button.

 


Cheap web Hosting


Install Mytop in Linux and Cpanel


Cheap reseller Hosting


How to install mytop in linux and cpanel

 

MySQL is one of the most important programs on a server, unfortunately it is also pretty resource intensive. One a  server it is not uncommon for a single user or even a query to take up the bulk of the servers CPU cycles. Mytop is a very useful program to see what queries a server is currently processing as well as which user is executing them. Think of mytop as top for mysql. If you see a lot from a user that means they are probably the hog. Mytop can also be useful for figuring out exactly which queries are causing the problem in the case of a self-designed website.

 

 

install mytop

 

The following commands use  how to install mytop on the server and run it.

1) To Install Term Read Key:

cd /usr/local/src

wget http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz

tar -zxf TermReadKey-2.30.tar.gz

cd TermRead*

perl Makefile.PL

make test

make

make install

cd ..

 

2) Now,To Install DBI:

wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.48.tar.gz

tar -zxf DBI-1.48.tar.gz

cd DBI*

perl Makefile.PL

make test

make

make install

cd ..

 

3) Finally  To Install MYTOP:

wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.4.tar.gz

tar -zxf mytop-1.4.tar.gz

cd mytop*

perl Makefile.PL

make test

make

make install

 

NOTE: You may get following error in CentOS 5.3

Error in option spec: “long|!”

Search for the line in Makefile.PL

“long|!” => \$config{long_nums},

Change it to by commenting using #

#”long|!” => \$config{long_nums},


Cheap web Hosting


1 5 6 7 8 9