搜索""的结果
apache_php_tomcat基于主机名的多虚拟主机整合 环境:rhel4 x86-64 + apache2.0.52 + php5.2.17 + jdk1.6.0_29 + tomcat6.0.35, apache为系统缺省安装一,php安装,参见《rhel4_x86_64_php5.2.17_make安装支持mysqli》-> http://blog.csdn.net/lazyclough/article/details/7103948二, tomcat 6 安装1, 下载jdk-6u29-linux-i586-rpm.bin, 为其加上可执行权限并执行,jdk将安装于/usr/java/jdk1.6.0_292, 下载apache-tomcat-6.0.35.tar.gz并解压至任意目录,如:/home/molin/program/apache-tomcat-6.0.353,配置java和tomcat环境变量$ sudo vi /etc/profile, 在文件末尾加上以下内容:###########################################################export JAVA_HOME=/usr/java/jdk1.6.0_29export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jarexport PATH=$PATH:$JAVA_HOME/binexport CATALINA_HOME=/home/molin/program/apache-tomcat-6.0.35export CATALINA_BASE=$CATALINA_HOME###########################################################$ sudo source /etc/profile (使环境变量直接生效)4, 将t...
安装步骤:一、安装oracle-instantclient下载地址:http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html下载 oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm下载 oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm放在/usr/packages/目录下# rmp -ivh oracle-instantclient*此时会生成/usr/lib/oracle/11.2/client/lib/目录*注:下载对应数据库版本二、修改/etc/ld.so.conf配置文件追加一下内容:/usr/lib/oracle/11.2/client/lib/执行命令 # ldconfig三、安装oci8下载最新的oci8组件下载地址:http://pecl.php.net/package/oci8下载 oci-2.0.8.tgz放在/usr/packages/目录下?123456789# tar -xvzf oci-2.0.8.tgz # cd oci-2.0.8 # /usr/local/php/bin/phpize (用phpize生成configure配置文件) # ./configure --with-php-config=/usr/local/php/bin/php-config --with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/lib # make && make install成功后会告诉你oci8.so已经成功放在以下目录四、配置PHP支持OCI扩展修改php配置文件# vi /usr/local/php/lib/php.ini文件在extension项后追加以下内容...
首先安装好SQL Anywhere 5 软件。这里就不再说明了。由于是64位的系统。配置odbc时,一定要使用32位的odbc 可以到以下目标打开C:\Windows\SysWOW64\odbcad32.exe首先配置好数据源:其中: User ID: dba Password: sql 然后可以查看数据库的信息了。 Tools -----connect 可以查看到有个db_child的数据库。配置源时,会启动数据库,所以打开软件,可以正常连接。但是关闭数据库后,就不能正常使用了。 当然可以使用以下方式启动数据库:可以作个脚本或是服务。"D:\Program Files (x86)\Sybase\SQL Anywhere 5.0\win32\dbsrv50.exe" "D:\图书馆系统\兰台\db_child.db"
CentOS7 安装配置Mariadb (Mysql) 整个安装过程: [php] view plaincopy mysql:[root@localhost ~]# yum -y install mariadb* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.linode.com * extras: mirrors.linode.com * updates: mirrors.linode.com Resolving Dependencies --> Running transaction check ---> Package mariadb.x86_64 1:5.5.37-1.el7_0 will be installed ---> Package mariadb-bench.x86_64 1:5.5.37-1.el7_0 will be installed ---> Package mariadb-devel.x86_64 1:5.5.37-1.el7_0 will be installed ---> Package mariadb-embedded.x86_64 1:5.5.37-1.el7_0 will be in...
Installing Multicraft on CentOS 7 Over at Nerdcrafteria we’ve recently moved over our server hosting to two dedicated servers at OVH. We’d previously been using CentOS 5 as our OS, which is still offered at OVH, but I decided the time was ripe for an upgrade and plumped with the latest and greatest CentOS 7.Not much has changed, apart from MariaDB replacing vanilla MySQL (which has let to a massive performance improvement), and systemd replacing SysV. SystemD was somewhat of a mystery to me at the start, and whilst at the beginning I did slightly resent losing the simplicity of just changing rc.local, the new system is vastly superior and I now find it much more intuitive.Previous tutorials that cover setting up minecraft and multicraft on earlier versions of CentOS are still fine for the most part, but I thought I’d outline the changes to systemd I’d made to set up auto-starting of the multicraft daemon and therefore the minecraft server on box restart.Firstl...
How to Install Multicraft on Centos 6 64bitThis is the text tutorial of the youtube tutorial series which can be found here: http://www.youtube.com/playlist?list=PL133C2C2E824C65A4Before you start make sure nano is installed by typing this in SSH:Code:yum install nanoAnd disable SELinux:Code:setenforce 0Installing MySQL 5:To install MySQL, we do this:Code:yum install mysql mysql-serverThen we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:Code:chkconfig --levels 235 mysqld on/etc/init.d/mysqld startSet passwords for the MySQL root account:Code:mysql_secure_installationCode:[root@Server8 ~]# mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!In order to log into MySQL to secure it, we'll need the currentpassword for the root user. If you've just installed MySQL, andyou haven't set the root passwo...
解决The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in 报错很明显的提示 mysql扩展模块就要被放弃使用了,所以请使用mysqli代替这个说明你的php版本过高造成的。解决方法:把mysql的相关模块全都改为mysqli就行了。比如:1、mysql_connect 改为mysqli_connect2、mysql_query 改为mysqli_query3、mysql_close 改为 mysqli_close
加密扩展Mcrypt安装/配置 Change language: Edit Report a Bug 安装 使用 --with-mcrypt[=DIR] 参数来编译 PHP 以启用本扩展。 DIR 是 mcrypt 的安装路径。 请确保编译 libmcrypt 的时候使用了 --disable-posix-threads 选项。 add a note User Contributed Notes 10 notes up down 42 Anonymous ¶1 year ago Note, for Ubuntu, simply installing php5-mcrypt did not get mcrypt to work. You need to execute the following commands as root to enable it:apt-get install php5-mcryptmv -i /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/php5enmod mcryptservice apache2 restart up down 14 Polichism ¶8 months ago If you don't have a /etc/php5/conf.d directory, you can simply only do: php5enmod mcryptShould be working fine. up down 6 Tanner Williamson ¶8 months ago On Ubuntu 14.04 LTS usin...
git - 简易指南 助你开始使用 git 的简易指南,木有高深内容,;)。 Tweet 作者:罗杰·杜德勒 安装 下载 git OSX 版 下载 git Windows 版 下载 git Linux 版 创建新仓库 创建新文件夹,打开,然后执行 git init 以创建新的 git 仓库。 检出仓库 执行如下命令以创建一个本地仓库的克隆版本:git clone /path/to/repository 如果是远端服务器上的仓库,你的命令会是这个样子: git clone username@host:/path/to/repository 工作流 你的本地仓库由 git 维护的三棵“树”组成。第一个是你的 工作目录,它持有实际文件;第二个是 缓存区(Index),它像个缓存区域,临时保存你的改动;最后是 HEAD,指向你最近一次提交后的结果。 添加与提交 你可以计划改动(把...
最新评论