Access 100% of your
system’s capabilities with
a dedicated server.
Fully customize your
dedicated server’s hardware
Greater security than
maximized performance with
The configuration you need, ready when you are.
When you need support
or have a question, Temok
Experts have the answers.
Offering a full range of innovative cloud and bare metal solutions for 20+ Years
Global presence across 5 continents and 183 countries with multiple Points of Presence
Self-Designed And Built Servers And Data Centres - Using Latest And Most Innovative
Unbeatable Price To Performance Ratio High performing and cost-effective solutions with a secure, reliable, open and sustainable cloud environment
The commands for modifying file permissions and ownership are:
chmod – change permissions
chown – change ownership.
A new folder was created on a data partition called /DATA/SHARE
# sudo chmod -R ugo+rw /DATA/SHARE
The breakdown of the above command looks like:
sudo – this is used to gain admin rights for the command on any system that makes use of sudo (otherwise you'd have to 'su' to root and run the above command without 'sudo')
chmod – the command to modify permissions
-R – this modifies the permission of the parent folder and the child objects within
ugo+rw – this gives User, Group, and Other read and write access.
chown -R "Username" /DATA/SHARE (Replace Username with real username to whom you want to give ownership)
Let's break this down.
sudo – admin rights must be used since we are dealing with a folder that belongs to another user
chown – the command for changing ownership
-R – the recursive switch to make sure all child objects get the same ownership changes
Username – the new owner of the folder
/DATA/SHARE – the directory to be modified
If you have a domain yourdomain.com, your server’s host would be something like server01.yourdomain.com. This what you would use for logging into your root account, while you would be able to run your website at yourdomain.com.
If you want to change Plesk mailbox directories please review this technical article for guidance.
mkdir -p /home/var/mail
rsync -avz /var/mail /home/var/mail
Connect to the server using SSH/RDP.
Find what SMTP and IMAP/POP3 servers are in use:
# /usr/local/psa/admin/bin/mailmng --features | egrep 'SMTP_Server|IMAP_POP3_Server'
$features['SMTP_Server'] = "Postfix";
$features['IMAP_POP3_Server'] = "Dovecot"; $features['SMTP_Server_package'] = "postfix"; $features['IMAP_POP3_Server_package'] = "dovecot";
Stop the SMTP service:
# service postfix stop
Open the file /etc/psa/psa.conf and change the PLESK_MAILNAMES_D variable:
specify a new location for mailbox directory so that it is like:
# grep PLESK_MAILNAMES_D /etc/psa/psa.conf PLESK_MAILNAMES_D <new_mailnames_directory>
Note: To avoid performance degradation, the new location for the mailboxes directory should be located in the local file system - it should not be mounted as a network share, such as NFS.
Move mailboxes from the current directory to the new location with the
# cp -ap /var/qmail/mailnames/* <new-mailnames-directory> If dovecot is in use, set the new location in the file /etc/dovecot/dovecot.conf by modifying values in the lines below:
# egrep 'mail_home|mail_location' /etc/dovecot/dovecot.conf mail_home = <new_mailnames_directory>/%Ld/%Ln mail_location = maildir:<new_mailnames_directory>/%Ld/%Ln/Maildir
Restart the dovecot service:
# service dovecot restart
After all the steps are done, start SMTP service and reconfigure mail settings using the mchk utility:
# service postfix start
# plesk repair mail
Before creating new mailboxes on new domains configure SELinux in the following way:
following is not required for selinux disabled server.
# chcon -R -t mail_spool_t <new_mailnames_directory>
IF you want to change virtual hosts location in plesk for linux. Please check below article for assistance.
CHANGING PLESK VHOSTS DIRECTORY FROM /var/www TO /home/var/www
mkdir -p /home/var/www
rsync -avz /var/www /home/var/www
/usr/local/psa/bin/transvhosts.pl --dest-dir /home/var/www --correct-scripts
7 min read When comparing Node JS vs React, keep in mind that React is the front-end framework generated by Facebook that us
Posted in Web Development
7 min read Blockchain technology can possibly alter how the industrial age achieves huge data and conducts commerce. Initiall
Posted in Education
7 min read The organization has several senses. Simply asking someone what it takes to stay organized will provide as many re
Posted in App Marketing
8 min read Are you having trouble deciding between Webflow and WordPress to design your website? Both of these are prevalent
Posted in Wordpress
8 min read Amazon is now one of the worldwide most recognizable and powerful e-commerce business platforms. However, merely h
Posted in E-Commerce
8 min read Data science and data analytics have a sturdy connection; however, there are noteworthy differences among the two
Posted in Technology
8 min read Cloud computing has industrialized the technology world by empowering users and corporations to access vast amount
Posted in Cloud Services
8 min read Sending a business e-mail, watching a YouTube video, making an online video call meeting, or playing a video game
Posted in Technology