ubuntu-14.04

ldapsearch with username and password

故事扮演 提交于 2020-02-03 03:19:30
问题 Here is my LDAP ORG Structure: I created user with first, last name with password. But it is not working when am trying to connect using jdbc. Error says invalid credentials. Then I tried ldapsearch as follows: I followed this process for users and group creation: root@ip:/home# ldapwhoami SASL/DIGEST-MD5 authentication started Please enter your password: ldap_sasl_interactive_bind_s: Invalid credentials (49) additional info: SASL(-13): user not found: no secret in database root@ip:/#

Xampp php_pdo_odbc not working

拜拜、爱过 提交于 2020-01-30 08:09:06
问题 Xampp linux version: 7.1 OS: Ubuntu 14.04 I already uncommented extensions=php_pdo_odbc.dll in opt/lampp/etc/php.ini but odbc is not showing image here 回答1: you are using linux, so forget about .dll windows extension : first you will need to check if you have the extension or not : print_r(PDO::getAvailableDrivers()); this will print an array with the currently installed PDO Drivers, if you didn't get the odbc driver , try to enable it : sudo phpenmod pdo_odbc then check again, if not

Mcrypt PHP extension required.IN Laravel With Ubuntu 14

一个人想着一个人 提交于 2020-01-25 02:57:08
问题 I am trying to migrate laravel app into ubuntu and getting error like Mcrypt PHP extension required. when i check php details with phpinfo() function it showing below screen. PLlease find the Terminal Screenshot below, php.ini How to solve this issue ? 回答1: If you have installed PHP through apt-get then find the mcrypt extension you are using either for apache by using $ locate *mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini /etc/php5/fpm/conf.d/20-mcrypt

git only clones sha for LFS files on Gitlab CI

元气小坏坏 提交于 2020-01-24 12:33:10
问题 I pushed .png files, each of which is 2+MB file size and tracked by git-lfs , to my gitlab.com repository, say repo_a . In CI job on another repo repo_b where git-lfs is installed, repo_a is cloned. Now I see the size of all .png files are 132, which seems to be the same volume as sha output (as the following. Note: some values are populated for privacy): $ git show HEAD:file-a.png | tee sha_temp version https://git-lfs.github.com/spec/v1 oid sha256

git only clones sha for LFS files on Gitlab CI

独自空忆成欢 提交于 2020-01-24 12:32:15
问题 I pushed .png files, each of which is 2+MB file size and tracked by git-lfs , to my gitlab.com repository, say repo_a . In CI job on another repo repo_b where git-lfs is installed, repo_a is cloned. Now I see the size of all .png files are 132, which seems to be the same volume as sha output (as the following. Note: some values are populated for privacy): $ git show HEAD:file-a.png | tee sha_temp version https://git-lfs.github.com/spec/v1 oid sha256

ubuntu: installing apache ant apache-ant-1.10.1

僤鯓⒐⒋嵵緔 提交于 2020-01-17 07:04:54
问题 $ ant -version /home/rahul/java/jdk1.8.0_121/jre/bin/java: 6: /home/rahul/java/jdk1.8.0_121/jre/bin/java: Syntax error: ")" unexpected How to resolve this? 回答1: Please follow the below steps to install Apache Ant in Ubuntu- Using Ubuntu Package Manager sudo apt-get update sudo apt-get install ant Manual Steps wget http://www-eu.apache.org/dist//ant/binaries/apache-ant-1.10.5-bin.zip unzip apache-ant-1.10.5-bin.zip -d /usr/local/ cd /usr/local/ mv apache-ant-1.10.5 apache-ant ln -s /usr/local

how to process several commands concurrently and continue the rest only after all is done on ubuntu

倖福魔咒の 提交于 2020-01-17 06:19:21
问题 To be specific, I have two command need to be run in shell on Ubuntu at the same time , like command_A and command_B . And I have some other commands need to be run only after command_A and command_B has finished, named as command_rest . In addition, command_A and command_B run in separate terminals and when they are finished they can close themselves. This maybe need techniques related to signal and wait and gnome-terminal i guess, but i cannot find a solution. 回答1: You can do it like this

how to process several commands concurrently and continue the rest only after all is done on ubuntu

假装没事ソ 提交于 2020-01-17 06:19:11
问题 To be specific, I have two command need to be run in shell on Ubuntu at the same time , like command_A and command_B . And I have some other commands need to be run only after command_A and command_B has finished, named as command_rest . In addition, command_A and command_B run in separate terminals and when they are finished they can close themselves. This maybe need techniques related to signal and wait and gnome-terminal i guess, but i cannot find a solution. 回答1: You can do it like this

How to start/stop an application from a webapplication running both on same tomcat

♀尐吖头ヾ 提交于 2020-01-17 05:43:08
问题 I need some help: I have two .war files running on tomcat 7, one is a webapplication, the other one is just a "normal" java application. Now I want to figure out how to start/stop the application from my webapplication. Both applications are on the same tomcat. Operation system is Ubuntu 14.04. Thanks for your help 回答1: you can configure that in your server.xml file and put 2 services : <Service name="app1"> <Connector port="8081" protocol="org.apache.coyote.http11.Http11NioProtocol"

installed font not working in ec2 in rails app

泪湿孤枕 提交于 2020-01-17 04:28:06
问题 I have downloaded font by running wget http://www.fontsquirrel.com/fonts/download/amatic inside my ec2 instance. Then I created a .fonts director and unzipped those files inside it. Then I ls .fonts and there were the font files. Then I ran fc-cache -f -v and it gave me this output /usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs /usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs /usr