prosoxi.com | Archive | Linux

Archive | Linux

Linux add module to blacklist

Check if the module is loaded

IPv6 functionality is being made available to the system by the ipv6 kernel module. To check if this module is currently loaded in your system, issue the following command as root:

lsmod | grep ipv6

If you see ipv6 in its output, then the module is loaded. Continue Reading

Posted in Linux0 Comments

Qmail linux mainames path

Qmail linux mainames path

/var/qmail/mailnames/domain/

Posted in Linux, Plesk0 Comments

Ubuntu Networking Configuration Using Command Line

The basics for any network based on *nix hosts is the Transport Control Protocol/ Internet Protocol (TCP/IP) combination of three protocols. This combination consists of the Internet Protocol (IP),Transport Control Protocol (TCP), and Universal Datagram Protocol (UDP).

By Default most of the users configure their network card during the installation of Ubuntu. You can however, use the ifconfig command at the shell prompt or Ubuntu’s graphical network configuration tools, such as network-admin, to edit your system’s network device information or to add or remove network devices on your system Continue Reading

Posted in Linux0 Comments

How To Enable PEAR Packages In Plesk

By default, Plesk will install PEAR and a lot of packages, but block any access to it for PHP scripts. It’s fairly easy to enable this, though.

First of all, you need to edit the VirtualHost of whatever domain you’re trying to enable this for. Seeing as Plesk would just overwrite your httpd.conf with the next change you make in the controlpanel, you need to use a seperate vhost.conf file.

The file to edit can be found in the following directory:

/var/www/vhosts/<my domain>/conf/vhost.conf Continue Reading

Posted in Linux0 Comments

Installing PEAR modules necessary on RHEL 3 (or clones)

Installing PEAR modules necessary on RHEL 3 (or clones)

# first change to the framework directory and get the framework PEAR packages installed

cd /var/www/html/horde/framework/
php install-packages.php Continue Reading

Posted in Linux0 Comments

20 Linux System Monitoring Tools Every SysAdmin Should Know

Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:

  1. Finding out bottlenecks.
  2. Disk (storage) bottlenecks.
  3. CPU and memory bottlenecks.
  4. Network bottlenecks.

http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html Continue Reading

Posted in Linux0 Comments

How do I restart Linux network service?

RedHat Linux command to reload or restart network (login as root user):

# service network restart
OR
# /etc/init.d/network restart

Continue Reading

Posted in Linux0 Comments

Installing mcrypt – what to do to work with php

After a lot of research, as I couldn’t find answers on forums and other places. I found on sourceforge.net they released some rpm packages to integrate mcrypt and mhash with php.

First we need to install mcrypt and mhash as follows:

1) Install mcrypt & mhash
yum install mcrypt*
yum install mhash*

answer y to the question if matched your system (it should).

2) enable support for php. requires php-mcrypt and php-mhash packages:
yum install php-mcrypt*
yum install php-mhash*

If you get an error saying packages not signed (unsigned packages), do the following:
edit /etc/yum.conf
change:
gpgcheck=1 to gpgcheck=0

attemp step 2 again. Once completed change back yum.conf

Hope this helps and saves anybody else.

C. Lozano

Continue Reading

Posted in Linux, PHP, Plesk0 Comments

How do I change maximum attachment size in Horde?

Resolution

By default, PHP limits uploaded files size to 2 MB, and this limit applies to all PHP application including Webmail. Edit the following options in /etc/php.ini file on the Plesk server and set the values that match your needs, for example:

upload_max_filesize = 32M
post_max_size = 32M

Restart Apache after the php.ini file modification.

Also, maximum attached file size can be changed in Horde configuration. See “attach_size_limit” option in the /etc/psa-horde/imp/conf.php:

$conf['compose']['attach_size_limit'] = ’0′;

Zero “attach_size_limit” value means ‘no limit’.

Additional information

Note that memory_limit should be larger than post_max_size.
If you insrease PHP parameter post_max_size do not forget to increase parameter memory_limit also.

Posted in Linux, Plesk0 Comments

Debian or Ubuntu Linux runlevel configuration tool to start service

Task: Command line tool to manage services / Ubuntu runlevel

update-rc.d automatically updates the System V style init script links /etc/rcrunlevel.d/NNname to scripts /etc/init.d/name. These are run by init when changing runlevels and are generally used to start and stop. For example turn on ssh service type the command: Continue Reading

Posted in Linux, Plesk0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds