装好的debian7.0怎么配置服务器(SSH登陆敲指令的哪种),怎么安装安装apache+mysql+hph.本人小白,勿笑

装好的debian7.0怎么配置服务器(SSH登陆敲指令的哪种),怎么安装安装apache+mysql+hph.本人小白,勿笑,第1张

rpm-qa|grep-iMySQL你在这儿这个-i选项是用在grep命令上的,怎么会显示rpm-qa|grepMySQL是查看是否安装了MySQL具体的RPM命令,你看看这个吧50

The first thing to check is the permission on the 'su' command

ls -l /bin/su

-rws--x--x 1 root root 55649 Apr 11 01:11 /bin/su

The SUID bit should be set (an "s" instead of an "x" in the first part of the permissions) If not, then log in as root and do a 'chmod +s /bin/su'
chmod +s /bin/su

修改/etc/apt/sourcelist
把源修改好,国内的debiancn99com就很快。
然后root用户运行
#apt-get install sshd
对于debian,入门手册比较好,安装一个
#apt-get install debian-reference-zh-cn
推荐你去>>使用mysql数据库,字符集编码是utf-8,登陆的用户名和密码是root,root。要更改时到ssh_test\WebRoot\WEB-INF\applicationContextxml配置文件中更改。代码和数据库的sql文都发给你

安装ssh和openssh-server
debian和ubuntu:
su
apt-get install ssh openssh-server
/etc/initd/ssh start #start|resart|stop
从sysv-rc-conf中看到ssh开着就行了
红帽系的没试过,下rpm安装,方法应该类似
不设置密码,让他自己进入
可以,具体看你发行版
gnome下图形界面的登录窗口设置
ps:不知道如何去掉它这个警告,尽量不要用root登录图形界面

直接 用aptitude 安装 openssl-server就可以了,如果 要使用ssh登陆远程 机器再安装openssl-client ,8以上版本少用点apt-get ,经常会出现依赖问题,如果 找不到openssl-server,可以去官方站到找个近的源加进去就行了


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/13322957.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-07-14
下一篇 2023-07-14

发表评论

登录后才能评论

评论列表(0条)

保存