这 就 是 我
最 新 公 告
站 点 日 历
最 新 日 志
最 新 回 复
最 新 留 言
博 客 搜 索
友 情 链 接
 
 
 
[Ubuntu学习]smb conf
beiyue 发表于 2013/12/25 18:05:58
安装samba可以实现linux下文件和window共享,这样window下就可以操作linux的文件了。 1、关闭LINUX防火墙 sudo ufw disable 注:ufw是linux下的防火墙操作命令,相关的操作可以查看命令帮助 2、先卸载samba-common sudo apt-get remove samba-common 3、安装samba服务器 sudo apt-get install samba sudo vi /etc/samba/smb.conf 在文件末尾增加如下内容 [root] comment = rootdir browseable = yes writeable = yes path = / valid users = smb 4、添加samba用户 sudo useradd smb sudo smbpasswd -a smb 输入自己想要设置的密码即可 5、重新启动s
……

阅读全文 | 回复 | 引用通告
 


[Ubuntu学习]安装ssh在ubuntu 13.04碰到问题
beiyue 发表于 2013/12/24 16:29:48
今天在安装软件的时候出现了Package has no installation candidate的问题,如: # apt-get install Reading package lists... Done Building dependency tree... Done Package aptitude is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package has no installation candidate 解决方法如下: # sudo apt-get update # sudo apt-get upgrade # sudo apt-get install
……

阅读全文 | 回复 | 引用通告
 


[Windows 学习]目标驱动器中的磁盘已满,插入一张新盘
beiyue 发表于 2013/12/20 13:36:15
今天把一个4G多的ios文件拷贝到u盘的时候,提示:目标驱动器中的磁盘已满,插入一张新盘。但是我的u盘是14G的u盘。怎么会磁盘已满呢!后来搜索了一下,发现原来我的u盘的文件系统是:FAT32。FAT32的文件系统不支持大于4G的单个文件,需要把文件系统转换成NTFS。 现在介绍一种简单的转换方法。非常有效,简便。 1.开始->运行->输入cmd->回车 2.输入:Convert H: /fs:ntfs (如果要转换G盘,只要将“H:”改成相应的“G:”即可)

阅读全文 | 回复 | 引用通告
 


[DB]mysql installation
beiyue 发表于 2012/1/8 16:38:00
[root@localhost ~] yum install mysql mysql-server php-mysql -y [root@localhost ~] chkconfig mysqld on [root@localhost ~] service mysqld start [root@localhost ~] service httpd restart

阅读全文 | 回复 | 引用通告
 


[DB]SQL
beiyue 发表于 2011/2/12 10:11:00
CREATE TABLE user (id INT AUTO_INCREMENT PRIMARY KEY NOT NULL,name VARCHAR(255),gender CHAR,birthday DATE); insert into user (name,gender,birthday) values ('ernest','1','1999-01-01');

阅读全文 | 回复 | 引用通告
 


[JAVA]J***A连接MYSQL
beiyue 发表于 2011/2/12 10:10:00
import java.sql.*; public class Conn { static Connection con; // static Statement sql; static PreparedStatement sql; static ResultSet res; public Connection getConnection(){ try{ Class.forName("com.mysql.jdbc.Driver"); System.out.println("DB Driver is loaded successfully."); }catch(java.lang.ClassNotFoundException e){ e.printStackTrace(); } try{ con=DriverManager.getConnection("jdbc:mysql://localhost:3306/student","root","root"); System.out.println("DB Connection is success."); }catch(SQLException e){ e.printStackTrace();
……

阅读全文 | 回复 | 引用通告
 


[Linux issue]Get hardware info by Linux command
beiyue 发表于 2011/1/25 16:40:00
root@feeder-desktop:~# dmidecode -t dmidecode: option requires an argument -- t Type number or keyword expected Valid type keywords are: bios system baseboard chassis processor memory cache connector slot root@feeder-desktop:~# dmidecode -t system # dmidecode 2.9 SMBIOS 2.5 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: INVALID Version: ThinkCentre xxx Serial Number: NA09714958 UUID: 67D895C9-7B09-49A0-8BCA-6A7AD
……

阅读全文 | 回复 | 引用通告
 


[JAVA]JUNIT Configuration
beiyue 发表于 2011/1/21 16:30:00
在要使用JUNIT的项目名上,点击properties--java build path-libraries, 点击Add External JARs,把JUNIT包点上就行了 JUNIT DOWNLOAD:https://github.com/KentBeck/junit/downloads 文章出处:飞诺网(www.firnow.com):http://dev.firnow.com/course/3_program/java/javajs/2007930/75117.html

阅读全文 | 回复 | 引用通告
 


[JAVA]Eclipse 快捷键自动补全J***A关键字
beiyue 发表于 2011/1/7 16:17:00
1.Open Windows manu from Eclipse 2.Windows ->Preferences->Keys 3.Type Command:Content Assist for In Dialogs and Windows 4.Binding:Alt+/ --(or define any key)

阅读全文 | 回复 | 引用通告
 


[JAVA]Class Parent
beiyue 发表于 2010/12/29 10:36:00
P174 class Parent { Parent(){ System.out.println("using parent() method"); } } class SubParent extends Parent{ SubParent(){ System.out.println("using SubParent() method"); } } class Subroutine extends SubParent{ Subroutine(){ System.out.println("using SubRoutine() method"); } public static void main(String[] args){ Subroutine s =new Subroutine(); } } Result: using parent() method using SubParent() method using SubRoutine() method

阅读全文 | 回复 | 引用通告
 


首页 上一页 下一页 尾页 页次:1/4页  10篇日志/页 转到: