There are 5 states of any Zimbra account as explained below. We can use the zmprov command to change the status of an account. Active: Active is the normal status for a mailbox account. Mail is delivered and users can log into the client interface. Maintenance: When a mailbox status is maintenance, login is disabled […]
Archives for March 2022
How to Manage Zimbra Account Status from CLI
There are 5 states of any Zimbra account as explained below. We can use the zmprov command to change the status of an account. Active: Active is the normal status for a mailbox account. Mail is delivered and users can log into the client interface. Maintenance: When a mailbox status is maintenance, login is disabled […]
How to move /usr and /var to Another Partition or Disk
Some simple steps can help protect data and the integrity of the installed Oracle Linux Operating System. First, use separate disk partitions for operating system and user data (that is, separate partitions for /home, /tmp, /var/tmp, /oracle, and so on). This strategy can prevent a “file system full” issue from impacting operations. Establishing disk quotas […]
dstat Command Examples in Linux
The dstat application is not commonly installed. It will need to be installed with your package manager. It requires Python 2.2 and above, which is installed by default on modern Linux systems: # apt-get install dstat # yum install dstat The dstat application displays disk, network, memory usage, and running task information at regular intervals. […]
How to move /var on a separate disk as a separate mount point (Online)
By default when you install any Linux system, the /var directory is created automatically under the root partition(‘/’). In some situations, you might want to separate out the /var directory on a different mount point or partition altogether. Especially when you want to manage it independently and have a large amount of data to be […]
How to Stop and Start Ec2 instance using Jenkins
Jenkins is an open-source Continuous Integration tool. However, it’s not limited to Continuous Integration alone. Jenkins is supported by a large number of plugins that enhance its capability. The Jenkins tool is written in Java and so are its plugins. The tool has a minimalistic GUI that can be improved using specific plugins if required. […]
Search XML Attributes PowerShell XPath
Extensible Markup Language (XML) is a plain text format that is used to store structured data. XML is written to be both human and machine-readable. XML documents often begin with a declaration, as shown here: <?xml version=”1.0″ encoding=”utf-8″?> The Select-Xml command may be used to search XML documents using the XPath query language. PowerShell v3 […]
How to move /tmp on a separate disk as a separate mount point (Online)
By default when you install any Linux system, the /tmp directory is created automatically under the root partition(‘/’). In some situations, you might want to separate out the /tmp directory on a different mount point or partition altogether. Especially when you want to manage it independently and have a large amount of data to be […]
Java Date and Time
Java provides the Date class available in java.util package, this class encapsulates the current date and time. Date( ) – This constructor initializes the object with the current date and time. Date(long millisec) – This constructor accepts an argument that equals the number of milliseconds that have elapsed since midnight, January 1, 1970. Following are […]
Java – Networking
Java Networking is a concept of connecting two or more computing devices together so that we can share resources. The java.net package of the J2SE APIs contains a collection of classes and interfaces that provide the low-level communication details. Java socket programming provides facility to share data between different computing devices. The java.net package provides […]