Sponsored Content
Full Discussion: Solaris 7 Sparc 5
Top Forums UNIX for Dummies Questions & Answers Solaris 7 Sparc 5 Post 80745 by kisoun on Thursday 11th of August 2005 08:37:10 AM
Old 08-11-2005
Installing Mysql
-----------------------

# groupadd mysql
# useradd -d /usr/local/mysql mysql

in '/etc/passwd' change mysql's shell with 'nologin'

# cd mysql...[version]
# ./configure --prefix=/usr/local/mysql

or

#./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --with-named-z-libs=no --with-named-curses-libs=-lcurses --disable-shared CXX=gcc

#make

#make clean (when errors,warnings come out with 'make')

#make install

# /usr/local/mysql/bin/mysql_install_db

# chown -R mysql /usr/local/mysql/var

# chgrp -R mysql /usr/local/mysql/var

# /usr/local/mysql/bin//mysqld_safe --user=mysql &

# /usr/local/mysql/bin/mysqladmin -u root password ...

# /usr/local/mysql/bin/mysqladmin -u admin password ...

creation of my.cnf in folder /usr/local/mysql/var

cp (from redhat Smilie) greek.conf in folder /usr/local/mysql/share/mysql/charsets

# ./bin/mysqld --defaults-file=<MySQL Databasedirectry>/my.cnf \
--basedir=<MySQL Basedirectory>\
--datadir=<MySQL Databasedirectory>\
--user=mysql --pid-file=<MySQL Databasedirectory>/mysqld.pid &


Required programs
------------------

tcsh-6.08.00-sol7-sparc-local.tar.gz
bash-3.0-sol7-sparc-local.tar.gz
zlib-1.2.2.tar.gz
gcc-3.4.2-sol7-sparc-local.tar.gz
gzip-1.3.5-sol7-sparc-local.tar.gz
make-3.80-sol7-sparc-local.tar.gz
ncurses-5.4-sol7-sparc-local.gz
ncurses-5.4.tar.gz
perl-5.8.5.tar.gz
m4-1.4.2.tar.gz
autoconf-2.59.tar.gz
bison-1.28.tar.gz
flex_2.5.4_hpux_ia64_src.tar.gz
openssl-0.9.7g.tar.gz
zlib1.2.3


Installing Apache
-------------------------

αφού εγκατασταθούν τα w4,autoconf,bison,flex,openssl,libtool,db (Berkeley)

#setenv CFLAGS="-I /usr/local/BerkeleyDB.3.3/include"

#setenv LDFLAGS="-L /usr/local/BerkeleyDB.3.3/lib -R"

#ln -s /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so /usr/lib/libdb-3.3.so

#ln -s /usr/ccs/bin/ld /usr/bin/ld

# ./configure --with-layout=Apache --prefix=/usr/local/apache --enable-module=all --disable-module=auth_db


Installing php-4.3.11
--------------------

since now , only the configuration below:

#./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache/php --enable-force-cgi-redirect --with-zlib --with-zlib-dir=/usr/local/zlib-1.2.3 --enable-libgcc --enable-track-vars


and this configuration, after several minutes provides the below error:

Configuring extensions
checking for OpenSSL support... no
checking for Kerberos support... no
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr/local/zlib-1.2.3
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9



Thanks again.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 9 x86 and Sparc?

Hi, What is the difference between Solaris 9 x86 and Sparc besides the hardware. Is all the command the same or there are a difference? Plus where can go to get more information on the differences. Many thanks, -n (2 Replies)
Discussion started by: Insomniac
2 Replies

2. Solaris

Samba on Solaris 9, Sparc.

hi guys, This is prolly more of a dummies question, but here goes. I want to make my Ultra 5 workstation into a samba server. I have solaris 9 installed with the latest patch cluster. if I do: pkginfo | grep samba I get : # pkginfo | grep samba system SUNWsmbac ... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. UNIX for Advanced & Expert Users

Solaris 7 Sparc 5

08-11-2005, 03:23 PM I posted the below thread in UNIX for dummies Questions and Answers. I thank the guy who posted a proposition to resolve my problem. I decided to repost the problem here. Who knows :) So, here it goes: Since a week ago I put myself many troubles. I decide to... (6 Replies)
Discussion started by: kisoun
6 Replies

4. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. UNIX for Dummies Questions & Answers

Solaris for a training: PC vs Sparc

I need a computer to try Solaris. I'm learning with UNIX Academy training DVDs and after spending much time with Linux I want to try and learn on Solaris. I'll have to buy a computer for my training anyway. I found on ebay plenty of inexpensive Sun boxes. Would it be beneficial for learning to have... (26 Replies)
Discussion started by: newlinuxuser1
26 Replies

7. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

8. Solaris

Solaris 11 SPARC GUI

Hi, Is there anyway to install gui without using update from internet? I mean from DVD or other local disc install. Most of tutorial i forund, they show install gui using pkg update from internet. But now our server not yet have internet because ISP does not provide yet. Please show me the... (18 Replies)
Discussion started by: mzainal
18 Replies
BUNDLE-CONFIG(1)														  BUNDLE-CONFIG(1)

NAME
bundle-config - Set bundler configuration options SYNOPSIS
bundle config [name [value]] DESCRIPTION
This command allows you to interact with bundler's configuration system. Bundler retrieves its configuration from the local application (app/.bundle/config), environment variables, and the user's home directory (~/.bundle/config), in that order of priority. Executing bundle config with no parameters will print a list of all bundler configuration for the current bundle, and where that configura- tion was set. Executing bundle config <name> will print the value of that configuration setting, and where it was set. Executing bundle config <name> <value> will set that configuration to the value specified for all bundles executed as the current user. The configuration will be stored in ~/.bundle/config. If name already is set, name will be overridden and user will be warned. Executing bundle config --global <name> <value> works the same as above. Executing bundle config --local <name> <value> will set that configuration to the local application. The configuration will be stored in app/.bundle/config. Executing bundle config --delete <name> will delete the configuration in both local and global sources. Not compatible with --global or --local flag. Executing bundle with the BUNDLE_IGNORE_CONFIG environment variable set will cause it to ignore all configuration. BUILD OPTIONS
You can use bundle config to give bundler the flags to pass to the gem installer every time bundler tries to install a particular gem. A very common example, the mysql gem, requires Snow Leopard users to pass configuration flags to gem install to specify where to find the mysql_config executable. gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config Since the specific location of that executable can change from machine to machine, you can specify these flags on a per-machine basis. bundle config build.mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config After running this command, every time bundler needs to install the mysql gem, it will pass along the flags you specified. CONFIGURATION KEYS
Configuration keys in bundler have two forms: the canonical form and the environment variable form. For instance, passing the --without flag to bundle install(1) bundle-install.1.html prevents Bundler from installing certain groups speci- fied in the Gemfile(5). Bundler persists this value in app/.bundle/config so that calls to Bundler.setup do not try to find gems from the Gemfile that you didn't install. Additionally, subsequent calls to bundle install(1) bundle-install.1.html remember this setting and skip those groups. The canonical form of this configuration is "without". To convert the canonical form to the environment variable form, capitalize it, and prepend BUNDLE_. The environment variable form of "without" is BUNDLE_WITHOUT. LIST OF AVAILABLE KEYS
The following is a list of all configuration keys and their purpose. You can learn more about their operation in bundle install(1) bun- dle-install.1.html. path (BUNDLE_PATH) The location on disk to install gems. Defaults to $GEM_HOME in development and vendor/bundler when --deployment is used frozen (BUNDLE_FROZEN) Disallow changes to the Gemfile. Defaults to true when --deployment is used. without (BUNDLE_WITHOUT) A :-separated list of groups whose gems bundler should not install bin (BUNDLE_BIN) Install executables from gems in the bundle to the specified directory. Defaults to false. gemfile (BUNDLE_GEMFILE) The name of the file that bundler should use as the Gemfile. This location of this file also sets the root of the project, which is used to resolve relative paths in the Gemfile, among other things. By default, bundler will search up from the current working directory until it finds a Gemfile. In general, you should set these settings per-application by using the applicable flag to the bundle install(1) bundle-install.1.html com- mand. You can set them globally either via environment variables or bundle config, whichever is preferable for your setup. If you use both, envi- ronment variables will take preference over global settings. LOCAL GIT REPOS
Bundler also allows you to work against a git repository locally instead of using the remote version. This can be achieved by setting up a local override: bundle config local.GEM_NAME /path/to/local/git/repository For example, in order to use a local Rack repository, a developer could call: bundle config local.rack ~/Work/git/rack Now instead of checking out the remote git repository, the local override will be used. Similar to a path source, every time the local git repository change, changes will be automatically picked up by Bundler. This means a commit in the local git repo will update the revision in the Gemfile.lock to the local git repo revision. This requires the same attention as git submodules. Before pushing to the remote, you need to ensure the local override was pushed, otherwise you may point to a commit that only exists in your local machine. Bundler does many checks to ensure a developer won't work with invalid references. Particularly, we force a developer to specify a branch in the Gemfile in order to use this feature. If the branch specified in the Gemfile and the current branch in the local git repository do not match, Bundler will abort. This ensures that a developer is always working against the correct branches, and prevents accidental lock- ing to a different branch. Finally, Bundler also ensures that the current revision in the Gemfile.lock exists in the local git repository. By doing this, Bundler forces you to fetch the latest changes in the remotes. March 2013 BUNDLE-CONFIG(1)
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy