|How to add option that User to select a location to install in .Net Setup Project while installing setup?|
Case of Winforms deplyment:
Right click on the deployment project in the Solution window and select
View, File System.
Click on the Application Folder. Notice in the Properties window, change
the Default location to whatever you want
Case of Web:
You can implement this by overriding the “Install” method, check this
for an example Allow user to set physical directory path during Web Project
|Centos Apache VirtualHost setup|
Have you uncommented NameVirtualHost *:80 in httpd.conf?
If this is commented out Virtual Host will not work.
Please check if it is commented and get back to me, it is near the end of
|Cannot install RStudio on CentOS 6.4|
I fixed this error following this link:
You have to install some dependencies:
yum install libcrypto.so.6 -y
yum install libgfortran.so.1 -y
yum install libssl.so.6 -y
yum install openssl098e-0.9.8e -y
yum install gcc41-libgfortran-4.1.2 -y
yum install pango-1.28.1 -y
and the tricky one:
rpm -Uvh compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm
and install Rstudio with no-deps flag:
rpm -Uvh --nodeps rstudio-server-0.97.336-x86_64.rpm
|Install php-mcrypt on CentOS 6|
There are two ways you can address this:
Download php-mcrypt from fedora:
Check if you're facing a known bug with a wrongly packaged php-mcrypt
|Best way to install MySQL 5.6 on Centos 6.4|
It doesn't surprise me that MySQL is a bit behind. Why would Oracle make
it easy for you to not use pay-for Oracle? </rant>
Anyway, you can get the awkwardly named, but otherwise identical MariaDB to
run easily by adding a new YUM repository.
|How do I install SSH2 for PHP 5.5 on Centos 6.4 64 bit?|
There is no need to modify your php.ini.
You may set the memory limit for the current command using -d. See: pecl
pecl -d memory_limit=500M install -f ssh2
You may install this module also using yum from epel repo:
yum install php-pecl-ssh2
|jfsutils install on CentOS plus|
For CentOS 5.9, jfsutils is available in the centosplus repo so you need to
make sure that repo is enabled. Alternatively, you should be able to run
yum --enablerepo=centosplus install jfsutils
|How to install mysql 5.5 on Azure VM CentOS|
There are a few dependencies that you need to get it running.
Remi Dependency on CentOS 6 and Red Hat (RHEL) 6
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Install MySQL server
yum --enablerepo=remi,remi-test install mysql mysql-server
Check out update MySQL version from 5.1 to 5.5 in CentOS 6.2 as well.
|NodeJS install error on CentOs 6.3|
It looks like you have a conflicting package that you didn't erase with
Node when you ran yum erase nodejs. nodejs-devel-0.10.5-3.el6.x86_64 is a
completely separate package.
Try running yum erase nodejs-devel, and then try to yum install
nodejs-compat-symlinks npm again.
|How to install MySQLdb in Python 2.6 CentOS|
You can install it via yum, it is case sensitive:
[root@localhost ~]# yum install MySQL-python
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.nfsi.pt
* extras: mirrors.nfsi.pt
* updates: mirrors.nfsi.pt
Setting up Install Process
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 will be installed
--> Finished Dependency Resolution
It works with the following repositories (CentOS 6):
[root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.nfsi.pt
* extras: mirrors.nfsi.pt
* updates: mirrors.nfsi.pt
repo id repo name status
base CentOS-6 - Base 6.381
extras CentOS-6 - Extr
|How to install python for one user on centos?|
Try using virtualenv. Of course this assumes that your system already has
That creates a directory called 'venv' at your current folder. It puts in
the appropriate python and pip binaries.
To go into the virtual environment:
That is the key step. From then on, any packages installed using pip will
be local to the virtualenv folder that we created above. Remember to do the
above step before installing your packages and running your programs.
Running python will also use the python from the virtualenv.
You should see something like:
on your shell.
Install packages using pip like this:
pip install pack
|Install APC on centos - /etc/php.d/apc.ini: No such file or directory|
You need to find where your php.ini file is and add the config from the
apc.ini file to it.
This is a copy from the apc.ini file in w3-total-cache
extension = apc.so
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 32M
apc.optimization = 0
apc.num_files_hint = 4096
apc.ttl = 7200
apc.user_ttl = 7200
apc.gc_ttl = 0
apc.cache_by_default = 1
apc.filters = ""
apc.mmap_file_mask = "/tmp/apc.XXXXXX"
apc.slam_defense = 0
apc.file_update_protection = 2
apc.enable_cli = 0
apc.max_file_size = 10M
apc.stat = 0
apc.write_lock = 1
apc.report_autofilter = 0
apc.include_once_override = 0
;apc.rfc1867 = 0
;apc.rfc1867_prefix = "upload_"
;apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
;apc.rfc1867_freq = 0
apc.localcache = 0
apc.localcache.size = 2048
apc.coredump_unmap = 0
apc.stat_ctime = 0
|Install Mono and Monodevelop on CentOS 5.x/6.x|
On these systems, I typically install Mono from source. It is a bit more
work but you do not have to rely on dated or broken packages that may or
may not be maintained.
The instructions below were tested on CentOS 5.9.
Because of limitations in the installed versions of Glib and GTK+, the
newest version of GTK# you can compile on RHEL5 (CentOS 5.x) is 2.10.4.
With this version of GTK#, the newest version of MonoDevelop that you can
build is 2.0 (not even 2.2).
You can still run very recent versions of Mono though. I have CentOS 5.x
boxes serving up ASP.NET MVC3 apps.
Head over to /usr/src as root
Ensure GCC and friends are installed (to build the Mono source code)
yum install gcc gcc-c++ libtool bison autoconf automake
Grab and unpack the Mono source code
|How to install Django if I have my own VPS server with Centos and cpanel/WHM?|
I don't know if you still need the help but I installed it with this
tutorial in ubuntu you should try it here...
|Error while running bundle install in CentOS|
Initially reinstall the bundler at root or set up the ruby and rails
$ gem install bundler / brew gem install bundler
$ rvm use <ruby/jruby version>@<rails_version> if you are
Now go in your application directory and then run
$ bundle install
$ bundle update ( to get the latest version gem )
and you can try https://rubygems.org # some time it will work
|How to install active python in virtual environment on centos|
You can tell to virtualenv where is your python interpreter
Usage: virtualenv [OPTIONS] DEST_DIR
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose Increase verbosity
-q, --quiet Decrease verbosity
-p PYTHON_EXE, --python=PYTHON_EXE
The Python interpreter to use, e.g.,
--python=python2.5 will use the python2.5
to create the new environment. The default is the
interpreter that virtualenv was installed with
|Galssfish install on CentOS not binding ipv4 port|
You may find Glassfish is bound to IPv4 (and IPv6) but is being blocked by
the iptables firewall settings:
Then try accessing Glassfish via IPv4. If that works then you can re-enable
iptables and set the appropriate rules for your environment.
That CentOS isn't showing ports bound on IPv4 when they are also bound on
IPv6 looks like a bug to me (2.6.32-358.23.2.el6.x86_64).
|unable to install jdk-7u25-linux-i586.rpm on Centos 6 - unpack200 error|
Sounds like you have a 64-bit machine, and you're trying to install the
32-bit version of Java. To do that, you'll need to install the libgcc.i686
package to get the 32-bit runtime libraries. Not sure why you don't already
|How to install and setup Testswarm?|
The process depends on your environment. Here are some options:
Setting up TestSwarm
TestSwarm: Setting Up Jobs/Tests
Running tests with TestSwarm
TestSwarm Video Walkthru
Automating Cross-Browser Testing
Continuous Integration Workflow
Integrating TestSwarm with Jenkins
TestSwarm Notes: Installing TestSwarm
TestSwarn Notes: Adding a User; Adding Basic Jobs
|How to use setup.py to install a python application|
the solution about your script is in the official doc ;)
but first of all, I think you need to copy your script gooeypi/gooeypi.pyw
to gooeypi/gooeypi, then setup.py will look like this :
description='Cross-platform wxPython GUI front-end to PyInstaller',
author_email='pedram.navid at gmail dot com',
in MANIFEST.in put :
|Install new regex module with setup.py|
The implicit first step in these instructions is to download a tarball or
zip file of regex, unpack it, go into that directory, and there run
“python setup.py install”. See
If you have pip installed, you can avoid these manual steps by running
“pip install regex”.
|Install .Net 3.5 on Windows 8 with Inno Setup|
According to Microsoft, trying to run the redistributable should
automatically trigger internal activation of the feature on Windows 8. So
if you're bundling the dotnetfx35 redistributable with your installer then
you should not need to change anything.
However if you're downloading the redistributable on demand then it is more
efficient to detect Windows 8 or later and trigger the install via the
following command line:
Dism /online /enable-feature /featurename:NetFx3 /All
In Inno, you should do this via Exec from within the PrepareToInstall event
|Length of time to install setup.exe on a virtual machine|
It is all related to I/O performance on your disks.
When you are installing something, there will be system restore-points
lots temporary files written, backup files for rollbacks and log files.
to speedup, you could try
- to disable the system-restore.
- to maximize the cache e.g. add more ram to host.
- to get 10k rpm drives/sdd's and/or use (hardware-)raid
never forget, when you are using a single disk, the i/o is shared between
host and vm's.
|python setup.py install SyntaxError: invalid syntax 926|
The problem is that the syntax used in mux.py does not work in Python 2.4.
As noted in the current Python 2 Language Reference:
Changed in version 2.5: In previous versions of Python,
try...except...finally did not work. try...except had to be nested in
My guess is that the code here in mod_pywebsockets has changed since the
HowTo was last tested with Python 2.4 on CentOS. You could look at
patching the code to avoid the try...except...finally or search back
through the mod_pywebsockets code repo to find an earlier version that does
work with Python 2.4, or you could install and use a newer version of
Python 2 (Python 2.7.5 is current) alongside the system Python 2.4.
|How to obtain arguments passed to setup.py from pip with '--install-option'?|
I was having this problem installing pyside.
I needed to specify the --qmake option.
This is the form you need:
pip install --install-option="--qmake=/usr/lib64/qt4/bin/qmake" PySide
|How install custom wordpress setup on openshift server|
Thank you for posting to our forums as well. See
|Inno Setup doesn't run program post install|
Figured it out. It turns out that I had to clear the environment variables
PYTHONHOME and PYTHONPATH so that the PyInstaller-packaged program can
generate the correct paths for those variables (they were set by the
previous PyInstaller-packaged program that spawned the setup).
I ended up making the Inno Setup run a batch file that cleared them before
running the executable. I hope this helps someone out there.
|how to create one click setup for .net project to install several files and dlls|
i show you the way , crossing is by you
install "install shield " software ( a program for making setup )
Make a new project and use prerequisites(tools > Build prerequisites ) and
define the programs that you need to be installed before your main setup
hope to be useful ...
|My Setup wizard disappears/Fails when i try to install new Sql server 2008 R2|
I found this link when having the same problem: MSDN Blog
|How can I make setup tools install a github forked PyPI package?|
You should be able to point pip at the URL of your forked repo with your
bugfix because pip can install directly from git repos.
$ pip install git+git://github.com/my-username/not-mine#egg=not-mine
You can modify the pip install command to specify a particular commit,
branch, tag, etc. with the "@" symbol before the "#".
$ pip install
|Installing Django "open file with" message when using the "setup.py install" command|
You need to add the python.exe file to your system PATH.
Heres a quick link on how to set/update your path on windows
Once you have that python.exe file added to your path you can run python
from the command line.
|During pbuilder build: run setup.py --install-layout=deb fails (no rights to write to /usr/lib/python2.7/dist-packages)|
Your debian/rules install target must never install any files outside of
the build tree. Instead, it should be installing to the package build
directory (which, depending on how you're building the rest of the package,
is probably debian/$packagename/. With a setup.py, the right switch to
accomplish this is --root=debian/$packagename.
If you use dh_python2, dh_auto_install, and other debhelper tools
appropriately, they will take care of that for you, plus a lot of other
important housekeeping such as bytecompiling for various python
installations on package install.
|Unable to install bcompiler in centos 5.8 getting error unable to unpack /tmp/bcompiler|
Simply Download file from http://pecl.php.net/package/bcompiler
Action :- Just make sure, you read output, At one point it will tell you
file has been save.
root@linux# wget http://pecl.php.net/get/bcompiler-1.0.2.tgz
root@linux# tar -xvf bcompiler-1.0.2.tgz
root@linux# make install
root@linux# make test
If nothing has gone wrong than bcompiler.so file must have been placed to
Now Start using your bcompiler if everything was OK :)
|Powershell remote install .exe file errors and not finding setup.iss file|
Not sure if you are running into the double-hop problem on not, but it
sounds like you are. So I though I'd give you a little more information
about it. The Bob Loblaw version.
What is a server and what is a client? A server, it accepts things, is the
computer you remote onto. A client, it gives things, is the computer you
use to do the remoting. So in the command Invoke-Command -computername
xxxxxxxxxxx.edu ..., "xxxxxxxxxxx.edu" is the server.
From your description, it looks like you already ran the command
Enable-PSRemoting on your server. With remoting enabled on the server you
should be able to do Enter-PSSession -ComputerName xxxxxxxxxxx.edu and have
an interactive command prompt on the client.
If you enter a remote session and do Get-ChildItem "\ComputerNameShare" the
|preventing addition of system Python path to virtualenv easy-install.pth by python setup.py develop|
When you do
python setup.py develop
That ^ python that you are using to run setup.py is not necessarily
associated with the virtual environment. You need to ensure that you are
running the virtualenv's version of python by navigating directly to
python.exe in your virtual environment and using that to run setup.py.
Alternatively you can just call activate.bat in your scripts folder and it
will do it all for you, ensuring that nothing outside of the virtual
environment is used.
edit if you are certain that you are using the virtualenv's python.exe
please ensure that when you created the virtual env you used the
virtualenv --no-site-packages myEnv
edit2 the --no-site-packages seems to have been OP's problem
|Bug in glibc `div()` code?|
But in this case numer is equal to -42, (so it is negative) this made the
condition false automatically. In fact if you try to execute a simple code
which contains the function you would see that (debugging it) the if
// false in this case, numer = -42 and result.rem = -2
if(numer >= 0 && result.rem < 0)
Here you can see the compiled result:enter link description here
I hope that the answer is correct and will help you to understand the
|Why is using three * in glibc libc-lock.h?|
I'd guess that it's to help ensure that FCT is a function pointer. When a
function pointer is dereferenced, it returns a "function designator". C99
184.108.40.206/4 "Address and indirection operators" says:
The unary * operator denotes indirection. If the operand points to a
function, the result is a function designator
And much like array names, a function designator evaluates to a function
pointer except in a a couple cases. C99 220.127.116.11/4 "Lvalues, arrays, and
A function designator is an expression that has function type. Except
when it is the operand of the sizeof operator or the unary & operator,
a function designator with type "function returning type" is converted to
an expression that has type "pointer to function returning type".
Therefore you can
|glibc rand function implementation|
The two implementations are exactly the same, except that they use
different random data.
The TYPE_0 always uses the magic numbers 1103515245 and 12345, together
with the current state.
Otherwise, it uses magic numbers taken from a pool of random data
(presumably acquired from /dev/urandom or the like; I haven't checked).
Each time it is called it walks a bit further through the pool. As it goes
it replaces the data with new pseudo-random numbers, based on the original
ones, so that it gets new numbers when it wraps around and starts the walk
|How are double frees detected in glibc?|
For each allocation, memory manager keeps some 'header' (most likely tree
node or linked list). When you passed to free something that doesn't
contain valid header - well, it couldn't correctly be freed. As for where
this information is being kept - it's up to implementation, but usually it
placed right before address you got from malloc - however, size and
structure is very likely to be unknown, but at least it gives an idea how
easily this header could be broken/corrupted/overwritten/etc.
|Getting locale functions to work in glibc|
Try to use the strace to find out where the glibc tries to read the locales
from. I suspect that since you set the prefix glibc tries to find them in
~/Desktop/bglibc/share/locale/ or something similar. And certainly UTF-16
will not work with 8 bit string types...