Archive for the tag 'Access'

SBDavid

Proxy access for cPanel/WHM/webmail

Proxy access for cPanel/WHM/webmail.

With Linux Shared Hosting accounts, you have access to a control panel that contains the admin functions of your account. Generally you would access this using the following syntax:

http://yourdomain.com/cpanel
http://yourdomain.com:2082

This URL causes a problems for some owners, as it attempts to connect to port 2082. This is an uncommon port and may be blocked by corporate and public firewalls, thus preventing access.

If you are unable to access your cPanel using the above URL, you can access it using the following syntax:

http://cpanel.yourdomain.com

This syntax does not connect using an uncommon port, and will allow you access. The same rules apply for Webmail and WHM.

http://whm.yourdomain.com
http://webmail.yourdomain.com


Note
: You will need to create A records for each subdomain above if not created by default during account creation process.

How to access psa database in Plesk Server

We can access plesk psa database, from the Linux command line (via ssh) and from the Plesk control panel.

The /etc/psa/.psa.shadow file contains the Plesk admin password.

So to access the database run the following command.

mysql -uadmin -p`cat /etc/psa/.psa.shadow`

Select the psa database.

mysql> use psa;

To view all the tables

mysql> show tables;

Pros and Cons of Lightweight Directory Access Protocol (LDAP)

The main benefit of using LDAP is the consolidation of certain types of information within your organization. For example, all of the different lists of users within your organization can be merged into one LDAP directory. This directory can be queried by any LDAP-enabled applications that need this information. It can also be used by users who need directory information.

Other LDAP benefits include its ease of implementation (compared to X.500) and its well-defined Application Programming Interface (API), which means that the number of LDAP-enabled applications and LDAP gateways should increase in the future.

On the negative side, if you want to use LDAP, you will need LDAP-enabled applications or the ability to use LDAP gateways. While LDAP usage should only increase, currently there are not very many LDAP-enabled applications available for Linux.

How can I get access to a Windows file system

By default, Linux supports direct read/write access to FAT16 and FAT32 file system that Microsoft Windows uses, but not to an NTFS file system.

To access an NTFS file system on Linux.

Install a third party software named kernel-module-ntfs. We can get the rpm package from
http://sourceforge.net/projects/linux-ntfs/files

The kernel-ntfs kernel module will be load automatically by default when server reboot next time. Then you can mount your ntfs file system manually. We can load the kernel module by modprobe and use lsmod to confirm it’s installed

modprobe kernel-ntfs
lsmod | grep ntfs

Install a third party software named ntfs-3g and fuse.

Please access http://www.tuxera.com/community/ntfs-3g-download/ to get ntfs-3g and fuse.

NTFS-3G is a stable, read/write NTFS driver for Linux, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems.

After successfully install, you can run command such as:

mount -t ntfs-3g /dev/sda2 /mnt

Using the excellent access control features of Squid, you may configure use of Internet services proxied by Squid to be available only during normal business hours. For example, we’ll illustrate access by employees of a business which is operating between 9:00AM and 5:00PM, Monday through Friday, and which uses the 10.1.42.0/42 subnetwork:

Add the following to the bottom of the ACL section of your /etc/squid/squid.conf file:

acl biz_network src 10.1.42.0/24
acl biz_hours time M T W T F 9:00-17:00

Then, add the following to the top of the http_access section of your /etc/squid/squid.conf file:

http_access allow biz_network biz_hours

« Prev - Next »