欢迎来到天天文库
浏览记录
ID:20990410
大小:82.50 KB
页数:7页
时间:2018-10-18
《用ports安裝apache13》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、用ports安裝apache13 #cd/usr/ports/databases/mysql41-server#makeIZED=yes//編釋參數提高效能,加快速度installclean更加快的編釋要加BUILD_STATIC=yes但不能同時使用openssl,同時編釋會出現以下錯誤信息Youcan'tusetheBUILD_STATICoptionysql41-server裏的Makefile......Formoreinformation,andcontactdetails
2、aboutthesecuritystatusofthissoftysql-client-4.1.1===>Cleaningforp5-DBD-mysql41-2.9003===>Cleaningforp5-DBI-137-1.37===>Cleaningforlibtool-1.3.5_1===>Cleaningforlinuxthreads-2.2.3_13===>Cleaningforopenssl-0.9.7c===>Cleaningformysql-s
3、erver-4.1.1#至此mysql-server和mysql-client已經安裝完成1.2設置mysql在/usr/local/share/mysql在這個目錄裏共有四個.f的範例檔案,(my-small.f,my-medium.f,my-large.f,my-huge.f),根據系統記憶體(內存)的數量和服務而設定my.f.在每個範例檔案裏都有說明.my-small.f//記憶體少於或等於64M只提供很少的數據庫服務(<=64M)my-medium.f//記憶體在32M到64M之間
4、而且和其他服務一起使用如y-large.f//記憶體有512M主要是提供數據庫服務my-huge.f//記憶體有1G到2G主要是提供數據庫服務我们查看一下机器的内存:#dmesg
5、greprealrealmemory=132825088(129712Kbytes)本機只有128M記憶體及只是供y-medium.f這個範例檔#cp/usr/local/share/mysql/my-medium.f/etc/my.f#ls-l/usr/local...drysqlmysql512Feb2120:57
6、mysql...mysql已經是屬於mysql的用戶和群組.1.3啓動mysql利用启动脚本去启动mysql#/usr/local/etc/rc.d/mysql-server.shstart#ps-aux
7、grepmysqlmysql539890.013.36640416868p0IN10:17PM0:00.62/usr/local/libexec/mysqlmysql539900.013.36640416868p0SN10:17PM0:00.00/usr/local/libexec/mysql
8、mysql539910.013.36640416868p0IN10:17PM0:00.00/usr/local/libexec/mysql1.4更改mysql密碼#/usr/local/bin/mysqladmin-uroot-ppassysql_passysql預設沒有密碼二.安裝及設置apache13-modssl2.1安装Apache-modssl#cd/usr/ports//apache13-modssl/#make...<===src===>CreatingDummyCer
9、tificateforServer(SnakeOil)[use'makecertificate'tocreatearealone]#makeinstall#makecertificate//製作CA認證===>CreatingTestCertificateforServerSSLCertificateGenerationUtility(mkcert.sh)Copyright(c)1998-2000RalfS.Engelschall,AllRightsReserved.Gen
10、eratingtestcertificatesignedbySnakeOilCA[TEST]s______________________________________________________________________STEP0:Decidethesignature123456下一页——感谢阅读这篇文章,..,algorithmusedforcertificateThegeneratedX.509CAcertificatecancontaineitherRSAorDSAbased
此文档下载收益归作者所有