- 博客(6)
- 收藏
- 关注
原创 配置SVNServer
由于在Win8下配置SVN Server失败。因此考虑在虚拟机上配置SVN Server。于是,参照http://www.jb51.net/os/Ubuntu/134818.html配置好以后。由于是采用DHCP网络配置,而虚拟机和主机采用桥接链接。因此,可以直接使用svn://ip_of_virtual_machine做SVN的check out。不过在update,commit的时候会
2015-05-06 11:30:04
264
转载 Mysql 使用
添加 database:mysql create database xhkdb;添加用户:insert into mysql.user(Host,User,Password) values("localhost","test",password("1234"));flush privileges; //没有这一步,无法登陆。删除用户:Use mysql;Dele
2015-04-14 14:40:56
188
原创 配置Apache
首先在/etc/apache2/sites-available中新建配置文件,例如:mysite.conf. 比较重要的就是DocumentRoot的设置,即网页文件所在的目录。其次,就是ErrorLog,这个可用于debug。然后在/etc/apache2/sites-enable中新建link文件,指向sites-available中的配置文件。 e.g. cd /etc/apache2/
2015-04-14 14:12:51
312
转载 Ubuntu proxy网络配置
可以通过三种方法为apt-get设置http代理方法一这是一种临时的手段,如果您仅仅是暂时需要通过http代理使用apt-get,您可以使用这种方式。在使用apt-get之前,在终端中输入以下命令(根据您的实际情况替换yourproxyaddress和proxyport)。export http_proxy=http://yourproxyaddress:proxyport方法
2015-04-14 13:54:48
943
原创 Ubuntu ssh配置
Ubuntu 的配置文件为 /etc/ssh/sshd_config 而不是/etc/ssh/ssh_config !因此,只要看好/etc/ssh/sshd_config的port,以及使用ifconfig看好ip就可以使用ssh服务了。ssh安装:sudo apt-get install openssh-server
2015-04-14 13:52:10
276
原创 VirtualBox Ubuntu eth0 missing
问题:当开启一个新的虚拟机,而且网络设置的是桥接模式时。开启虚拟机后,输入“ifconfig”,发现没有eth0。解决方法:修改/etc/network/interfaces文件,在里面加入一行iface eth0 inet dhcp然后输入sudo ifdown --exclude=lo -a && sudo ifup --exclude=lo -a 来重启network
2015-04-14 13:14:57
748
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人