会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
秋裤大叔
博客园
首页
新随笔
联系
管理
1
2
3
4
5
下一页
2017年5月27日
CentOS WordPress
摘要: yum -y install httpd mysql mysql-server php php-mysql php-gd php-xml chkconfig httpd on chkconfig mysqld on service httpd start service mysqld start m
阅读全文
posted @ 2017-05-27 16:27 秋裤大叔
阅读(184)
评论(0)
推荐(0)
2017年4月12日
CentOS yum install mysql配置远程访问
摘要: 登录到mysql后 grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;//password是对应的root密码 flush privileges;
阅读全文
posted @ 2017-04-12 10:06 秋裤大叔
阅读(213)
评论(0)
推荐(0)
2017年3月21日
CentOS搭建Git,MacOS克隆
摘要: 服务器#yum install git#adduser git#passwd git#su git$cd~$mkdir .ssh && chmod 700 .ssh$touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys$mkdir
阅读全文
posted @ 2017-03-21 16:00 秋裤大叔
阅读(156)
评论(0)
推荐(0)
2017年3月2日
ActionBar默认返回上一个Activity
摘要: getSupportActionBar().setDisplayHomeAsUpEnabled(true); <activity android:name=".SecondActivity" android:parentActivityName=".MainActivity"> <!-- 这里的 m
阅读全文
posted @ 2017-03-02 16:54 秋裤大叔
阅读(194)
评论(0)
推荐(0)
2016年9月17日
macOS Sierra 10.12恢复允许“任何来源”的选项
摘要: sudo spctl --master-disable
阅读全文
posted @ 2016-09-17 11:11 秋裤大叔
阅读(615)
评论(0)
推荐(0)
2016年9月7日
MySql中文乱码
摘要: 在my.cnf中加入: [mysqld] character-set-server=utf8 [client]character-set-server=utf8 之后进入终端,通过运行service mysqld restart命令重新运行,即解决了乱码的问题. 注:项目也要使用utf-8的数据格式
阅读全文
posted @ 2016-09-07 21:09 秋裤大叔
阅读(118)
评论(0)
推荐(0)
Apache转发到Tomcat
摘要: #vi /etc/httpd/conf/httpd.conf 添加下面配置 NameVirtualHost *:80 <VirtualHost *:80>ProxyPreserveHost OnServerName www.域名.comProxyPass / http://www.域名.com:80
阅读全文
posted @ 2016-09-07 16:27 秋裤大叔
阅读(12104)
评论(0)
推荐(0)
MySql5.7忘记root密码重置|开机启动|访问权限
摘要: 修改密码 #mysqld_safe --skip-grant-tables --skip-networking & #mysql -u root MySql >update mysql.user set authentication_string=password('root123456') whe
阅读全文
posted @ 2016-09-07 16:22 秋裤大叔
阅读(249)
评论(0)
推荐(0)
2013年5月23日
FreeBSD9.1安装Gnome2桌面
摘要: 1. #pkg_add -r xorg gnome2 gdm2. #ee /etc/rc.conf 加入hald_enable="YES" dbus_enable="YES gdm_enable="YES" gnome_enable="YES"3. # /usr/local/etc/rc.d/dbus start # /usr/local/etc/rc.d/hald start4. # ee /etc/fstab 加入proc /proc procfs rw 0 075. # mount /proc # /usr/local
阅读全文
posted @ 2013-05-23 12:09 秋裤大叔
阅读(385)
评论(0)
推荐(0)
2013年3月25日
修改gnome中时间的格式
摘要: # yum install gconf-editor打开gconf-editor找到/apps/panel/clock/prefs/(这是默认位置)修改custom_format的值为%Y-%m-%d %H:%M,也可自己定制其他修改format的值为custom
阅读全文
posted @ 2013-03-25 17:24 秋裤大叔
阅读(506)
评论(0)
推荐(0)
1
2
3
4
5
下一页
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
C/C++(1)
Extjs(2)
FreeBSD(1)
Java(5)
Linux(31)
MySql(3)
Windows(1)
阅读排行榜
1. Apache转发到Tomcat(12104)
2. C3P0在Linux下Failed to get local InetAddress for VMID. This is unlikely to matter. At all(1903)
3. Windows Server 2008更新后不断重启的问题(1733)
4. Extjs 合并单元格(1587)
5. Linux Gedit 报出警告(1053)
点击右上角即可分享