Posts

Configuring Git Large File Storage

Once  Git LFS is installed , you need to associate it with a large file in your repository. If there are existing files in your repository that you'd like to use GitHub with, you need to first remove them from the repository and then add them to Git LFS locally. For more information, see " Moving a file in your repository to Git LFS ." If there are referenced Git LFS files that did not upload successfully, you will recieve an error message. For more information, see " Resolving Git Large File Storage upload failures ." Open  the terminal . Change your current working directory to an existing repository you'd like to use with Git LFS. To associate a file type in your repository with Git LFS, enter  git lfs track  followed by the name of the file extension you want to automatically upload to Git LFS. For example, to associate a  .psd  file, enter the following command: $ git lfs track "*.psd" > Adding path *.psd Every file type you want to associ...

How to convert .tar.gz etc to .deb format using checkinstall?

Install checkinstall sudo apt install checkinstall Extract the tarball into a directory. In this case, it is  /tmp/program_example . Open  terminal  and cd into it with: sudo -i cd /tmp/program_example ./configure Now, run: make and then checkinstall -D --pakdir=/home/youruser/packages/

yum---no module named yum

Downoad RPM [root@dsnode01 py]# ll total 7520 -rw-r--r-- 1 root root   92252 Mar 29 12:28 python-2.7.5-48.el7.x86_64.rpm -rw-r--r-- 1 root root  402296 Mar 29 12:28 python-devel-2.7.5-48.el7.x86_64.rpm -rw-r--r-- 1 root root 5911152 Mar 29 12:29 python-libs-2.7.5-48.el7.x86_64.rpm -rw-r--r-- 1 root root 1283988 Mar 29 12:30 yum-3.4.3-150.el7.centos.noarch.rpm [root@dsnode01 py]# rpm -Uvh --replacepkgs *.rpm --force Preparing...                          ################################# [100%] Updating / installing...    1:python-libs-2.7.5-48.el7         ################################# [ 14%]    2:python-2.7.5-48.el7              ################################# [ 29%]    3:python-devel-2.7.5-48.el7        ################################# [ 43%]    4:yum-3.4.3-150.el7.centos         ################################# [ 57%] Cleaning up / removing...    5:yum-3.4.3-158.el7.centos         ################################# [ 71%]    6:python-2.7.5-69.el7_5            ##################...

To perform the requested action wordpress needs to access your web server. please enter your ftp

This means that WordPress is having limited permission for making changes in the folder that it was installed. In-order to fix this, all that you need to do is provide necessary permissions for the same. Run the following Command in your Terminal / Putty / Commandline Prompt after connecting to your Server via SSH: sudo chown - R apache : apache / var / www / html

IBM InfoSphere DataStage and QualityStage Operations Console session expires after approximately 12 hours, even if it is being used at that time.

Resolving The Problem The automatic session expiry can not be prevented. However, you can change the session expiry time.The default session expiry is set to 760 minutes. Use the WebSphere Application Server admin console to change the expiry time: 1) Open the WebSphere Application Server web admin console (https://<domain>:9043/ibm/console/login.do?action=secure) and login as the WebSphere administrative user (not the Information Server administrative user) 2) Open the Security -> Global security pane from the left hand tree 3) Open the LTPA link in the content pane 4) Change the 'LTPA timeout" value from 760 to the desired value. 5) Stop and restart WebSphere Application Server

Information Server EngMonApp fails with java.lang.OutOfMemoryError

Resolving The Problem To resolve the issue, you need to increase the maximum heap size for EngMonApp by following these steps: 1. Log into server as dsadm or root. 2. cd InformationServerRoot/Server/DSODB/bin/utils_private/ 3. Back up the DSEngMonApp.sh file cp -p DSEngMonApp.sh DSEngMonApp.sh.bak 4. Edit DSEngMonApp.sh file to increase -Xmx384m, for example to -Xmx896m (896 megabytes). #$APW_NOHUP_CMD "$JAVA" -DPSMARKER=$PSMARKER -Xmx384m -classpath "$CLASSPATH" com.ibm.datastage.runtime.engmonapp.EngMonApp 1>&2 & $APW_NOHUP_CMD "$JAVA" -DPSMARKER=$PSMARKER -Xmx896m -classpath "$CLASSPATH" com.ibm.datastage.runtime.engmonapp.EngMonApp 1>&2 & You may need to try different -Xmx values until you find an adequate heap size. 5. Restart EngMonApp by starting the DataStage AppWatcher service: InformationServerRoot/Server/DSODB/bin/DSAppWatcher.sh -start on unix as the DataStage administration user (e.g. dsadm).

Manage WebSphere SDK

Image
View List of Available SDK Names Use this command to view a list of available SDK names for the product installation: managesdk.sh -listAvailable The following shows sample returned information. Set the command default to the version 7.0 SDK Use this command to set the command default to the version 7.0 SDK: managesdk.sh -setCommandDefault -sdkname 1.7_64 The following shows sample returned information. Set the New Profile Default to the Version 7.0 SDK Use this command to set the new profile default to version 7.0 SDK: managesdk.sh -setNewProfileDefault -sdkname 1.7_64 The following shows sample returned information. If Profiles Already Exist, Enable the Profiles to use the Version 7.0 SDK If profiles already exist, use this command to enable the profiles to use the version 7.0 SDK: managesdk.sh -enableProfileAll -sdkname 1.7_64 -enableServers The following shows sample returned information.