Sometime it requires to change domain url of reseller accounts. You can do it easily as follows
- Login as reseller
- Change account level from Reseller to User.
- At user level click on ‘Domain Setup’.
- You will find option to rename domain.
- That’s all!
Sometime it requires to change domain url of reseller accounts. You can do it easily as follows
UID = User ID
GID = Group ID
We can change UID and GID with command ‘chown’ login with SSH.
chown -R newuserID:newgroupID folder_name
For example, to change myfolder UID and GID
chown -R bdhostit:bdhostit myfolder
or to change maildir UID and GID. Here, “bdhostit” is account’s username.
chown -R bdhostit:mail /home/bdhostit/domains/Maildir
Rename the backup file with just username.tar.gz
Fstab is file system table your operating system. fstab file location:
/etc/fstab
In a Linux-based system, /etc/fstab file is one of the most important files. It contains all available disks, disk partitions and their options. You can open and see your fstab file system as follows
vi /etc/fstab
Check mount information of partition /dev/sdb1
lsblk -d -fs /dev/sdb1
If you add new hard disk or repartition an existing one, you’ll have to modify this file. And for every partition has been described on a separate line and each line contains six fields which provide information about its mount.
/dev/sda1
or
80b496fa-ce2d-4dcf-9afc-bcaa731a67f1
/backup
ext4
defaults
1
2
Check mount information of partition /dev/sdb1
lsblk -d -fs /dev/sdb1
Install directory tree to see directory structure in linux, if not installed previously.
sudo yum install tree
tree
tree -L 1 /
here, L indicates maximum depth of displaying directory tree
tree /home
tree -a /etc
tree -C /etc
tree -d /home